[PATCH 1/2] HAS_DIRTYTRACKING_ROTATION also supports multiple CRTCs

Michel Dänzer michel at daenzer.net
Wed Dec 23 17:40:26 PST 2015


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

Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>
---
 src/drmmode_display.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/drmmode_display.c b/src/drmmode_display.c
index 99dc08b..fa46d56 100644
--- a/src/drmmode_display.c
+++ b/src/drmmode_display.c
@@ -952,7 +952,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;
-- 
2.6.2



More information about the xorg-driver-ati mailing list