Displaying 2 results from an estimated 2 matches for "drmmode_gamma_set".
2012 Nov 25
0
[ddx PATCH] add some missing newlines in error messages
...,7 @@ drmmode_set_mode_major(xf86CrtcPtr crtc, DisplayModePtr mode,
 
 	if (ret) {
 		xf86DrvMsg(crtc->scrn->scrnIndex, X_ERROR,
-			   "failed to set mode: %s", strerror(-ret));
+			   "failed to set mode: %s\n", strerror(-ret));
 		return FALSE;
 	}
 
@@ -532,7 +532,7 @@ drmmode_gamma_set(xf86CrtcPtr crtc, CARD16 *red, CARD16 *green, CARD16 *blue,
 				  size, red, green, blue);
 	if (ret != 0) {
 		xf86DrvMsg(crtc->scrn->scrnIndex, X_ERROR,
-			   "failed to set gamma: %s", strerror(-ret));
+			   "failed to set gamma: %s\n", strerror(-ret));
 	}
 }
 
--...
2009 Aug 17
2
[PATCH] kms: Fix <nv11 hardware cursor.
...,
 	.hide_cursor = drmmode_hide_cursor,
+	.load_cursor_image = drmmode_load_cursor_image,
 	.load_cursor_argb = drmmode_load_cursor_argb,
 	.shadow_create = drmmode_crtc_shadow_create,
 	.shadow_allocate = drmmode_crtc_shadow_allocate,
 	.shadow_destroy = drmmode_crtc_shadow_destroy,
 	.gamma_set = drmmode_gamma_set,
-#if 0
-	.set_cursor_colors = drmmode_crtc_set_cursor_colors,
-#endif
 	.destroy = NULL, /* XXX */
 };
 
diff --git a/src/nouveau_hw.h b/src/nouveau_hw.h
index a548a4c..aa2a3b4 100644
--- a/src/nouveau_hw.h
+++ b/src/nouveau_hw.h
@@ -287,6 +287,23 @@ static inline bool NVLockVgaCrtcs(NVPtr pNv, bo...