rpms/xorg-x11-drv-intel/devel intel-2.6.99.902-kms-get-crtc.patch, NONE, 1.1 xorg-x11-drv-intel.spec, 1.9, 1.10

Adam Jackson ajax at fedoraproject.org
Thu Mar 12 22:53:48 UTC 2009


Author: ajax

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

Modified Files:
	xorg-x11-drv-intel.spec 
Added Files:
	intel-2.6.99.902-kms-get-crtc.patch 
Log Message:
* Thu Mar 12 2009 Adam Jackson <ajax at redhat.com> 2.6.99.902-1
- intel-2.6.99.902-kms-get-crtc.patch: Add drmmode_get_crtc() so we
  blink less on VT switches.


intel-2.6.99.902-kms-get-crtc.patch:

--- NEW FILE intel-2.6.99.902-kms-get-crtc.patch ---
diff -up xf86-video-intel-2.6.99.902/src/drmmode_display.c.jx xf86-video-intel-2.6.99.902/src/drmmode_display.c
--- xf86-video-intel-2.6.99.902/src/drmmode_display.c.jx	2009-03-12 18:24:10.000000000 -0400
+++ xf86-video-intel-2.6.99.902/src/drmmode_display.c	2009-03-12 18:41:31.813969036 -0400
@@ -550,8 +550,19 @@ drmmode_output_dpms(xf86OutputPtr output
 	}
 }
 
+#ifdef RANDR_GET_CRTC_INTERFACE
+static xf86CrtcPtr
+drmmode_get_crtc(xf86OutputPtr output)
+{
+    return output->crtc;
+}
+#endif
+
 static const xf86OutputFuncsRec drmmode_output_funcs = {
 	.dpms = drmmode_output_dpms,
+#ifdef RANDR_GET_CRTC_INTERFACE
+	.get_crtc = drmmode_get_crtc,
+#endif
 #if 0
 
 	.save = drmmode_crt_save,


Index: xorg-x11-drv-intel.spec
===================================================================
RCS file: /cvs/pkgs/rpms/xorg-x11-drv-intel/devel/xorg-x11-drv-intel.spec,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- xorg-x11-drv-intel.spec	11 Mar 2009 15:44:41 -0000	1.9
+++ xorg-x11-drv-intel.spec	12 Mar 2009 22:53:18 -0000	1.10
@@ -8,7 +8,7 @@
 Summary:   Xorg X11 Intel video driver(s)
 Name:      xorg-x11-drv-intel
 Version:   2.6.99.902
-Release:   0%{?dist}
+Release:   1%{?dist}
 URL:       http://www.x.org
 License:   MIT
 Group:     User Interface/X Hardware Support
@@ -24,6 +24,7 @@
 Patch1: no-legacy3d.patch
 Patch2: kill-svideo.patch
 Patch3: copy-fb.patch
+Patch4: intel-2.6.99.902-kms-get-crtc.patch
 
 ExclusiveArch: %{ix86} x86_64 ia64
 
@@ -61,6 +62,7 @@
 %patch1 -p1 -b .no-legacy3d
 %patch2 -p1 -b .svideo
 %patch3 -p1 -b .copy-fb
+%patch4 -p1 -b .get-crtc
 
 %build
 
@@ -100,6 +102,10 @@
 %{_libdir}/libIntelXvMC.so
 
 %changelog
+* Thu Mar 12 2009 Adam Jackson <ajax at redhat.com> 2.6.99.902-1
+- intel-2.6.99.902-kms-get-crtc.patch: Add drmmode_get_crtc() so we
+  blink less on VT switches.
+
 * Wed Mar 11 2009 Kristian Høgsberg <krh at redhat.com> - 2.6.99.902-0
 - Use 2.7 rc2 tarball.
 - Consolidate the legacy3d patches into no-legacy3d.patch, which sent




More information about the fedora-extras-commits mailing list