[PATCH xserver 5/5] modesetting: Allow CRTC transforms to actually take effect

Michel Dänzer michel at daenzer.net
Wed Dec 23 23:57:29 PST 2015


From: Michel Dänzer <michel.daenzer at amd.com>

Setting crtc->transformPresent to FALSE was preventing the transform
from actually taking effect and putting RandR into a confused state.

Now that the RandR 1.2 cursor code handles transforms correctly, we can
allow them to properly take effect.

Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>
---
 hw/xfree86/drivers/modesetting/drmmode_display.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/hw/xfree86/drivers/modesetting/drmmode_display.c b/hw/xfree86/drivers/modesetting/drmmode_display.c
index 25f8031..a6c134d 100644
--- a/hw/xfree86/drivers/modesetting/drmmode_display.c
+++ b/hw/xfree86/drivers/modesetting/drmmode_display.c
@@ -373,7 +373,6 @@ drmmode_set_mode_major(xf86CrtcPtr crtc, DisplayModePtr mode,
         crtc->x = x;
         crtc->y = y;
         crtc->rotation = rotation;
-        crtc->transformPresent = FALSE;
     }
 
     output_ids = calloc(sizeof(uint32_t), xf86_config->num_output);
-- 
2.6.2



More information about the xorg-devel mailing list