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
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
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
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
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
- 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
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
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))
>
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