[PATCH] randr/prime: Don't stop on the first pipe when disabling ReplaceScanoutPixmap

Chris Wilson chris at chris-wilson.co.uk
Mon Oct 6 23:22:27 PDT 2014


On Mon, Oct 06, 2014 at 10:02:22AM +0100, Chris Wilson wrote:
> As we define sizeFits based on whether a CRTC is active, and skip trying
> to redirect the scanout on a disable pipe, we then attempt to undo it
> later and fail because crtc->scanout_pixmap != DRI2_Pixmap and
> !sizeFits. Paper over this failure by skipping unredirected CRTC when
> disabling.
> 
> v2: Unwind upon failure
 
Reported-by: Christoph Haag <haagch at frickel.club>
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=84653
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> Cc: Dave Airlie <airlied at redhat.com>
Tested-by: Christoph Haag <haagch at frickel.club>
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the xorg-devel mailing list