[PATCH xf86-video-amdgpu 3/3] HAS_DIRTYTRACKING_ROTATION also supports multiple CRTCs

Michel Dänzer michel at daenzer.net
Mon Feb 15 09:46:25 UTC 2016


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

(ported from radeon commit ff9a6b6f079a8419f4e6fadfee778060618bf735)

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 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");
-- 
2.7.0



More information about the xorg-driver-ati mailing list