rpms/xorg-x11-drv-intel/F-12 intel-gamma-fix.patch, NONE, 1.1 xorg-x11-drv-intel.spec, 1.35, 1.36
Dave Airlie
airlied at fedoraproject.org
Fri Oct 9 03:44:44 UTC 2009
Author: airlied
Update of /cvs/pkgs/rpms/xorg-x11-drv-intel/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv27619
Modified Files:
xorg-x11-drv-intel.spec
Added Files:
intel-gamma-fix.patch
Log Message:
* Fri Oct 09 2009 Dave Airlie <airlied at redhat.com> 2.9.0-3
- set gamma on mode set major for kms
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);
Index: xorg-x11-drv-intel.spec
===================================================================
RCS file: /cvs/pkgs/rpms/xorg-x11-drv-intel/F-12/xorg-x11-drv-intel.spec,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -p -r1.35 -r1.36
--- xorg-x11-drv-intel.spec 2 Oct 2009 02:59:27 -0000 1.35
+++ xorg-x11-drv-intel.spec 9 Oct 2009 03:44:44 -0000 1.36
@@ -7,7 +7,7 @@
Summary: Xorg X11 Intel video driver
Name: xorg-x11-drv-intel
Version: 2.9.0
-Release: 2%{?dist}
+Release: 3%{?dist}
URL: http://www.x.org
License: MIT
Group: User Interface/X Hardware Support
@@ -22,6 +22,7 @@ Source4: make-git-snapshot.sh
Patch1: kill-svideo.patch
Patch2: copy-fb.patch
+Patch3: intel-gamma-fix.patch
# needs to be upstreamed
Patch20: intel-2.8.0-kms-get-crtc.patch
@@ -78,6 +79,7 @@ Debugging tools for Intel graphics chips
%setup -q -n xf86-video-intel-%{dirsuffix} -b3
%patch1 -p1 -b .svideo
%patch2 -p1 -b .copy-fb
+%patch3 -p1 -b .gamma-fix
%patch20 -p1 -b .get-crtc
%patch21 -p1 -b .lvds-first
%patch60 -p1 -b .uevent
@@ -137,6 +139,9 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man1/intel_*.1*
%changelog
+* Fri Oct 09 2009 Dave Airlie <airlied at redhat.com> 2.9.0-3
+- set gamma on mode set major for kms
+
* Thu Oct 1 2009 Kristian Høgsberg <krh at hinata> - 2.9.0-2
- Rebase to 2.9.0.
- Need autoreconf also when patching a release (to pick up -ludev)
More information about the fedora-extras-commits
mailing list