Re: [PATCH xserver] present: disable page flip only when a slave crtc is active

2017-02-05 Thread Yu, Qiang
On 02/02/17 07:04 PM, Yu, Qiang wrote: > > Thanks Michel, can we put this fix to 1.19 branch? Looks like it broke the DMX build: https://patchwork.freedesktop.org/patch/136700/ [yuq] Oh, sorry for that. Also, I think (though I'm obviously biased on this one :) it would be even better for

Re: [PATCH xserver] present: disable page flip only when a slave crtc is active

2017-02-03 Thread Michel Dänzer
On 02/02/17 07:04 PM, Yu, Qiang wrote: > > Thanks Michel, can we put this fix to 1.19 branch? Looks like it broke the DMX build: https://patchwork.freedesktop.org/patch/136700/ Also, I think (though I'm obviously biased on this one :) it would be even better for

Re: [PATCH xserver] present: disable page flip only when a slave crtc is active

2017-02-02 Thread Yu, Qiang
isable page flip only when a slave crtc is active On 01/02/17 10:21 AM, Michel Dänzer wrote: > On 01/02/17 04:05 AM, David Airlie wrote: >>> From: "Michel Dänzer" <mic...@daenzer.net> >>> On 26/01/17 07:13 PM, Qiang Yu wrote: >>>> >&g

Re: [PATCH xserver] present: disable page flip only when a slave crtc is active

2017-02-01 Thread Michel Dänzer
On 01/02/17 10:21 AM, Michel Dänzer wrote: > On 01/02/17 04:05 AM, David Airlie wrote: >>> From: "Michel Dänzer" >>> On 26/01/17 07:13 PM, Qiang Yu wrote: @@ -145,7 +157,7 @@ present_check_flip(RRCrtcPtrcrtc, return FALSE; /* Fail

Re: [PATCH xserver] present: disable page flip only when a slave crtc is active

2017-01-31 Thread Dave Airlie
On 1 February 2017 at 11:21, Michel Dänzer wrote: > On 01/02/17 04:05 AM, David Airlie wrote: >>> From: "Michel Dänzer" >>> On 26/01/17 07:13 PM, Qiang Yu wrote: @@ -145,7 +157,7 @@ present_check_flip(RRCrtcPtrcrtc, return

Re: [PATCH xserver] present: disable page flip only when a slave crtc is active

2017-01-31 Thread David Airlie
- Original Message - > From: "Michel Dänzer" <mic...@daenzer.net> > To: "Qiang Yu" <qiang...@amd.com> > Cc: xorg-devel@lists.x.org, "David Airlie" <airl...@redhat.com> > Sent: Tuesday, 31 January, 2017 5:04:17 PM > Subject: R

Re: [PATCH xserver] present: disable page flip only when a slave crtc is active

2017-01-31 Thread Michel Dänzer
On 01/02/17 04:05 AM, David Airlie wrote: >> From: "Michel Dänzer" >> On 26/01/17 07:13 PM, Qiang Yu wrote: >>> >>> @@ -145,7 +157,7 @@ present_check_flip(RRCrtcPtrcrtc, >>> return FALSE; >>> >>> /* Fail to flip if we have slave outputs */ >>> -if

Re: [PATCH xserver] present: disable page flip only when a slave crtc is active

2017-01-30 Thread Michel Dänzer
On 26/01/17 07:13 PM, Qiang Yu wrote: > > @@ -145,7 +157,7 @@ present_check_flip(RRCrtcPtrcrtc, > return FALSE; > > /* Fail to flip if we have slave outputs */ > -if (screen->output_slaves) > +if (screen->output_slaves && present_check_output_slaves_active(screen)) >

[PATCH xserver] present: disable page flip only when a slave crtc is active

2017-01-26 Thread Qiang Yu
This prevents the tearing of moving window in a composite WM desktop when output slave is attached but none of its crtc is really active. Signed-off-by: Qiang Yu --- present/present.c | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git