From 24042b4e367803dd64f3fcdc1bef7b2bf36c4145 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michel=20D=C3=A4nzer?= Date: Mon, 21 Dec 2015 17:54:08 +0900 Subject: [PATCH] modesetting: Allow CRTC transforms to actually take effect 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. Reviewed-by: Keith Packard --- 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 0d34ca1c8..262e01507 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);