rpms/xorg-x11-drv-intel/devel intel-gamma-fix.patch,NONE,1.1

Adam Jackson ajax at fedoraproject.org
Mon Oct 26 14:47:29 UTC 2009


Author: ajax

Update of /cvs/pkgs/rpms/xorg-x11-drv-intel/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv25747

Added Files:
	intel-gamma-fix.patch 
Log Message:
sync with F12

intel-gamma-fix.patch:
 drmmode_display.c |    5 +++++
 1 file changed, 5 insertions(+)

--- NEW FILE intel-gamma-fix.patch ---
diff --git a/src/drmmode_display.c b/src/drmmode_display.c
index e8a6c01..110db40 100644
--- a/src/drmmode_display.c
+++ b/src/drmmode_display.c
@@ -363,6 +363,11 @@ drmmode_set_mode_major(xf86CrtcPtr crtc, DisplayModePtr mode,
 		goto done;
 #endif
 
+#if XORG_VERSION_CURRENT >= XORG_VERSION_NUMERIC(1,7,0,0,0)
+                crtc->funcs->gamma_set(crtc, crtc->gamma_red, crtc->gamma_green,
+                                       crtc->gamma_blue, crtc->gamma_size);
+#endif
+
 	drmmode_ConvertToKMode(crtc->scrn, &kmode, mode);
 
 




More information about the fedora-extras-commits mailing list