rpms/xorg-x11-drv-psb/F-13 xorg-x11-drv-psb-0.32.0-rotate.patch, NONE, 1.1 xorg-x11-drv-psb.spec, 1.1, 1.2

Adam Williamson adamwill at rpmfusion.org
Thu Jul 22 23:32:57 CEST 2010


Author: adamwill

Update of /cvs/nonfree/rpms/xorg-x11-drv-psb/F-13
In directory se02.es.rpmfusion.net:/tmp/cvs-serv2191

Modified Files:
	xorg-x11-drv-psb.spec 
Added Files:
	xorg-x11-drv-psb-0.32.0-rotate.patch 
Log Message:
* Thu Jul 22 2010 Adam Williamson <adamwill AT shaw DOT ca> - 0.32.0-4
- add rotate.patch, from Yves: fixes 90 degree rotation


xorg-x11-drv-psb-0.32.0-rotate.patch:
 psb_crtc.c |    8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

--- NEW FILE xorg-x11-drv-psb-0.32.0-rotate.patch ---
--- xserver-xorg-video-psb-0.32.0/src/psb_crtc.c	2009-05-11 18:37:53.000000000 -0700
+++ xserver-xorg-video-psb-0.32.0/src/psb_crtc.c.new	2010-07-22 14:27:54.528657277 -0700
@@ -431,7 +431,9 @@
 			if (bPlaneBEnabled)
 			{   
 				//current mode dot clock, HZ
-				DotClockB = output->crtc->mode.Clock * 1000 / WM_DOTCLOCK_DIVISOR;
+ 				if( output->crtc ){
+ 					DotClockB = output->crtc->mode.Clock * 1000 / WM_DOTCLOCK_DIVISOR;
+ 				}
 				BPPB = output->scrn->bitsPerPixel;
 			}
 		}
@@ -440,7 +442,9 @@
 		{
 			if (bPlaneAEnabled)
 			{
-				DotClockA = output->crtc->mode.Clock * 1000 / WM_DOTCLOCK_DIVISOR;
+ 				if( output->crtc ){
+ 					DotClockA = output->crtc->mode.Clock * 1000 / WM_DOTCLOCK_DIVISOR;
+ 				}
 				BPPA = output->scrn->bitsPerPixel;
 			}
 		}


Index: xorg-x11-drv-psb.spec
===================================================================
RCS file: /cvs/nonfree/rpms/xorg-x11-drv-psb/F-13/xorg-x11-drv-psb.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- xorg-x11-drv-psb.spec	15 Jul 2010 22:49:19 -0000	1.1
+++ xorg-x11-drv-psb.spec	22 Jul 2010 21:32:56 -0000	1.2
@@ -5,7 +5,7 @@
 Summary:	Intel GMA500 (Poulsbo) video driver
 Name:		xorg-x11-drv-psb
 Version:	0.32.0
-Release:	3%{?dist}
+Release:	4%{?dist}
 URL:		http://netbook-remix.archive.canonical.com/updates/pool/public/x/xserver-xorg-video-psb/
 Source0:	http://netbook-remix.archive.canonical.com/updates/pool/public/x/xserver-xorg-video-psb/%{tarball}_%{version}.orig.tar.gz
 # Causes psb module to be loaded when a GMA500 adapter PCI ID is found
@@ -36,6 +36,8 @@
 Patch9:		xorg-x11-drv-psb-0.32.0-mixed.patch
 # From Yves - fix a problem with Xv
 Patch10:	xorg-x11-drv-psb-0.32.0-xv.patch
+# From Yves - fix blank screen when rotating 90 degrees
+Patch11:	xorg-x11-drv-psb-0.32.0-rotate.patch
 License:	MIT
 Group:		User Interface/X Hardware Support
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -89,6 +91,7 @@
 %patch8 -p1 -b .header
 %patch9 -p1 -b .mixed
 %patch10 -p1 -b .xv
+%patch11 -p1 -b .rotate
 
 
 iconv -f iso-8859-15 -t utf-8 -o man/psb.man.utf8 man/psb.man && mv man/psb.man.utf8 man/psb.man
@@ -143,6 +146,9 @@
 %{_mandir}/man4/*.4*
 
 %changelog
+* Thu Jul 22 2010 Adam Williamson <adamwill AT shaw DOT ca> - 0.32.0-4
+- add rotate.patch, from Yves: fixes 90 degree rotation
+
 * Thu Jul 15 2010 Adam Williamson <adamwill AT shaw DOT ca> - 0.32.0-3
 - add patches from Yves de Muyter, Ubuntu community and Eric Piel for
   later X compatibility



More information about the rpmfusion-commits mailing list