summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlia Mirkin <imirkin@alum.mit.edu>2016-01-13 11:55:06 -0500
committerIlia Mirkin <imirkin@alum.mit.edu>2016-01-13 21:05:05 -0500
commitb824d36c28124955eda4aced5e637aa75eea4d6c (patch)
treebb7d9dff1c1f4ec48a7ee3d89bc2ea07202217d3
parentb18bc036bf9997ea65f5cbd824fd057931e604fe (diff)
HAS_DIRTYTRACKING_ROTATION also supports multiple CRTCs
A port of commit ff9a6b6f from xf86-video-ati. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93670 Reported-by: Thomas D. <thfrdue@gmx.de> Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
-rw-r--r--src/drmmode_display.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drmmode_display.c b/src/drmmode_display.c
index 1dc48c5..b950f42 100644
--- a/src/drmmode_display.c
+++ b/src/drmmode_display.c
@@ -704,7 +704,7 @@ drmmode_set_scanout_pixmap(xf86CrtcPtr crtc, PixmapPtr ppix)
if (max_height < iter->mode.VDisplay)
max_height = iter->mode.VDisplay;
}
-#ifndef HAS_DIRTYTRACKING2
+#if !defined(HAS_DIRTYTRACKING_ROTATION) && !defined(HAS_DIRTYTRACKING2)
if (iter != crtc) {
ErrorF("Cannot do multiple crtcs without X server dirty tracking 2 interface\n");
return FALSE;