rpms/xorg-x11-drv-vesa/devel vesa-2.2.0-panelid.patch, NONE, 1.1 xorg-x11-drv-vesa.spec, 1.36, 1.37

Adam Jackson ajax at fedoraproject.org
Fri Feb 20 22:51:09 UTC 2009


Author: ajax

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

Modified Files:
	xorg-x11-drv-vesa.spec 
Added Files:
	vesa-2.2.0-panelid.patch 
Log Message:
* Fri Feb 20 2009 Adam Jackson <ajax at redhat.com> 2.2.0-2
- Check VBE PanelID if DDC fails.


vesa-2.2.0-panelid.patch:

--- NEW FILE vesa-2.2.0-panelid.patch ---
diff -up xf86-video-vesa-2.2.0/src/vesa.c.jx xf86-video-vesa-2.2.0/src/vesa.c
--- xf86-video-vesa-2.2.0/src/vesa.c.jx	2009-02-05 16:15:07.000000000 -0500
+++ xf86-video-vesa-2.2.0/src/vesa.c	2009-02-20 17:39:49.000000000 -0500
@@ -671,6 +671,11 @@ VESAPreInit(ScrnInfoPtr pScrn, int flags
 
     if ((pScrn->monitor->DDC = pVesa->monitor) != NULL)
 	xf86SetDDCproperties(pScrn, pVesa->monitor);
+    else {
+        void *panelid = VBEReadPanelID(pVesa->pVbe);
+        VBEInterpretPanelID(pScrn->scrnIndex, panelid);
+        xfree(panelid);
+    }
 
     xf86DrvMsgVerb(pScrn->scrnIndex, X_INFO, DEBUG_VERB,
 			"Searching for matching VESA mode(s):\n");


Index: xorg-x11-drv-vesa.spec
===================================================================
RCS file: /cvs/pkgs/rpms/xorg-x11-drv-vesa/devel/xorg-x11-drv-vesa.spec,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -r1.36 -r1.37
--- xorg-x11-drv-vesa.spec	17 Feb 2009 23:08:06 -0000	1.36
+++ xorg-x11-drv-vesa.spec	20 Feb 2009 22:50:39 -0000	1.37
@@ -5,13 +5,15 @@
 Summary:   Xorg X11 vesa video driver
 Name:      xorg-x11-drv-vesa
 Version:   2.2.0
-Release:   1%{?dist}
+Release:   2%{?dist}
 URL:       http://www.x.org
 Source0:   http://xorg.freedesktop.org/releases/individual/driver/%{tarball}-%{version}.tar.bz2
 License: MIT
 Group:     User Interface/X Hardware Support
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
+Patch0: vesa-2.2.0-panelid.patch
+
 ExcludeArch: s390 s390x
 
 BuildRequires: xorg-x11-server-sdk >= 1.4.99.1-0.15
@@ -24,6 +26,7 @@
 
 %prep
 %setup -q -n %{tarball}-%{version}
+%patch0 -p1 -b .panelid
 
 %build
 #autoreconf -v --install || exit 1
@@ -48,6 +51,9 @@
 %{_mandir}/man4/vesa.4*
 
 %changelog
+* Fri Feb 20 2009 Adam Jackson <ajax at redhat.com> 2.2.0-2
+- Check VBE PanelID if DDC fails.
+
 * Tue Feb 17 2009 Adam Jackson <ajax at redhat.com> 2.2.0-1
 - vesa 2.2.0
 




More information about the scm-commits mailing list