summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichel Dänzer <michel.daenzer@amd.com>2016-02-15 18:41:51 +0900
committerMichel Dänzer <michel@daenzer.net>2016-02-19 11:49:53 +0900
commitc25a48b68695af71dddbdb6d239b2d0ec386db9c (patch)
tree972d39e2863a8e1c3a830b739bdf607f8a440b25
parenta05ea868f940b9649ead2333108d69619b9003bf (diff)
HAS_DIRTYTRACKING_ROTATION also supports multiple CRTCs
(ported from radeon commit ff9a6b6f079a8419f4e6fadfee778060618bf735) Reviewed-by: Alex Deucher <alexander.deucher@amd.com> (cherry picked from commit a36bbfd98b96426bbe0be3923c64da7ec0e565d0)
-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 40a134c..896b9d2 100644
--- a/src/drmmode_display.c
+++ b/src/drmmode_display.c
@@ -905,7 +905,7 @@ static Bool 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");