[Nouveau] [PATCH] HAS_DIRTYTRACKING_ROTATION also supports multiple CRTCs
Ilia Mirkin
imirkin at alum.mit.edu
Wed Jan 13 08:56:42 PST 2016
A port of commit ff9a6b6f from xf86-video-ati.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93670
Reported-by: Thomas D. <thfrdue at gmx.de>
Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
---
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 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;
--
2.4.10
More information about the Nouveau
mailing list