[Bug 90789] Vsync doesn't work for rotated display

Richard Wilbur richard.wilbur at gmail.com
Fri Dec 25 09:39:05 PST 2015


Interesting that in the patch
--------------------------------------------

diff --git a/src/drmmode_display.c b/src/drmmode_display.c
[...]
@@ -2253,6 +2317,9 @@ Bool drmmode_set_desired_modes(ScrnInfoPtr
pScrn, drmmode_ptr drmmode,
  crtc->desiredY = 0;
  }

+ if (1 || info->tear_free || info->shadow_primary)
+    crtc->driverIsPerformingTransform = TRUE;
+
--------------------------------------------

Seems to me this will always short-circuit to true which makes the
conditional superfluous.  I'm guessing there may still be some merit
to conditionally setting driverIsPerformingTransform but the details
simply need to be worked out?


More information about the xorg-driver-ati mailing list