Ilia Mirkin
2016-Jan-13  16:56 UTC
[Nouveau] [PATCH] 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 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
Maybe Matching Threads
- [PATCH] adapt to HAS_DIRTYTRACKING_DRAWABLE_SRC changes
- [PATCH xf86-video-amdgpu] Adapt to PixmapDirtyUpdateRec::src being a DrawablePtr
- [PATCH xf86-video-nouveau] Properly cleanup fb for reverse-prime-offload
- [xf86-video-nouveau] Properly cleanup fb for reverse-prime-offload
- [PATCH xserver] Make PixmapDirtyUpdateRec::src a DrawablePtr
