Re: [PATCH xf86-video-amdgpu] Store FB for each CRTC in drmmode_flipdata_rec

2018-08-17 Thread Johannes Hirte
On 2018 Aug 16, Michel Dänzer wrote: > On 2018-08-10 09:06 AM, Johannes Hirte wrote: > > On 2018 Jul 27, Michel Dänzer wrote: > >> From: Michel Dänzer > >> > >> We were only storing the FB provided by the client, but on CRTCs with > >> TearFree enabled, we use a separate FB. This could cause > >>

[PATCH xf86-video-amdgpu] Store FB for each CRTC in drmmode_flipdata_rec

2018-08-16 Thread Michel Dänzer
On 2018-08-10 09:06 AM, Johannes Hirte wrote: > On 2018 Jul 27, Michel Dänzer wrote: >> From: Michel Dänzer >> >> We were only storing the FB provided by the client, but on CRTCs with >> TearFree enabled, we use a separate FB. This could cause >> drmmode_flip_handler to fail to clear drmmode_crtc-

Re: [PATCH xf86-video-amdgpu] Store FB for each CRTC in drmmode_flipdata_rec

2018-08-10 Thread Johannes Hirte
On 2018 Jul 27, Michel Dänzer wrote: > From: Michel Dänzer > > We were only storing the FB provided by the client, but on CRTCs with > TearFree enabled, we use a separate FB. This could cause > drmmode_flip_handler to fail to clear drmmode_crtc->flip_pending, which > could result in a hang when w

Re: [PATCH xf86-video-amdgpu] Store FB for each CRTC in drmmode_flipdata_rec

2018-07-31 Thread Alex Deucher
On Tue, Jul 31, 2018 at 4:48 AM, Michel Dänzer wrote: > On 2018-07-30 08:12 PM, Alex Deucher wrote: >> On Fri, Jul 27, 2018 at 12:04 PM, Michel Dänzer wrote: >>> From: Michel Dänzer >>> >>> We were only storing the FB provided by the client, but on CRTCs with >>> TearFree enabled, we use a separ

Re: [PATCH xf86-video-amdgpu] Store FB for each CRTC in drmmode_flipdata_rec

2018-07-31 Thread Michel Dänzer
On 2018-07-30 08:12 PM, Alex Deucher wrote: > On Fri, Jul 27, 2018 at 12:04 PM, Michel Dänzer wrote: >> From: Michel Dänzer >> >> We were only storing the FB provided by the client, but on CRTCs with >> TearFree enabled, we use a separate FB. This could cause >> drmmode_flip_handler to fail to cl

Re: [PATCH xf86-video-amdgpu] Store FB for each CRTC in drmmode_flipdata_rec

2018-07-30 Thread Alex Deucher
On Fri, Jul 27, 2018 at 12:04 PM, Michel Dänzer wrote: > From: Michel Dänzer > > We were only storing the FB provided by the client, but on CRTCs with > TearFree enabled, we use a separate FB. This could cause > drmmode_flip_handler to fail to clear drmmode_crtc->flip_pending, which > could resul

[PATCH xf86-video-amdgpu] Store FB for each CRTC in drmmode_flipdata_rec

2018-07-27 Thread Michel Dänzer
From: Michel Dänzer We were only storing the FB provided by the client, but on CRTCs with TearFree enabled, we use a separate FB. This could cause drmmode_flip_handler to fail to clear drmmode_crtc->flip_pending, which could result in a hang when waiting for the pending flip to complete. We were