rpms/xorg-x11-drv-nv/devel nv-2.1.12-fb-size.patch, NONE, 1.1 xorg-x11-drv-nv.spec, 1.73, 1.74
Adam Jackson
ajax at fedoraproject.org
Mon Sep 8 19:30:37 UTC 2008
Author: ajax
Update of /cvs/pkgs/rpms/xorg-x11-drv-nv/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv8068
Modified Files:
xorg-x11-drv-nv.spec
Added Files:
nv-2.1.12-fb-size.patch
Log Message:
* Mon Sep 08 2008 Adam Jackson <ajax at redhat.com> 2.1.12-2
- nv-2.1.12-fb-size.patch: Yet more lame heuristics to preallocate a usable
framebuffer for laptops. (#458864)
nv-2.1.12-fb-size.patch:
--- NEW FILE nv-2.1.12-fb-size.patch ---
diff -up xf86-video-nv-2.1.12/src/g80_driver.c.jx xf86-video-nv-2.1.12/src/g80_driver.c
--- xf86-video-nv-2.1.12/src/g80_driver.c.jx 2008-09-08 15:26:55.000000000 -0400
+++ xf86-video-nv-2.1.12/src/g80_driver.c 2008-09-08 15:28:40.000000000 -0400
@@ -446,7 +446,10 @@ G80PreInit(ScrnInfoPtr pScrn, int flags)
}
xf86CrtcConfigInit(pScrn, &randr12_screen_funcs);
- xf86CrtcSetSizeRange(pScrn, 320, 200, 8192, 8192);
+ if (pScrn->videoRam >= 32768)
+ xf86CrtcSetSizeRange(pScrn, 3840, 1200, 8192, 8192);
+ else
+ xf86CrtcSetSizeRange(pScrn, 320, 200, 8192, 8192);
if(!xf86LoadSubModule(pScrn, "i2c")) goto fail;
if(!xf86LoadSubModule(pScrn, "ddc")) goto fail;
Index: xorg-x11-drv-nv.spec
===================================================================
RCS file: /cvs/pkgs/rpms/xorg-x11-drv-nv/devel/xorg-x11-drv-nv.spec,v
retrieving revision 1.73
retrieving revision 1.74
diff -u -r1.73 -r1.74
--- xorg-x11-drv-nv.spec 28 Aug 2008 19:23:11 -0000 1.73
+++ xorg-x11-drv-nv.spec 8 Sep 2008 19:30:07 -0000 1.74
@@ -5,7 +5,7 @@
Summary: Xorg X11 nv video driver
Name: xorg-x11-drv-nv
Version: 2.1.12
-Release: 1%{?dist}
+Release: 2%{?dist}
URL: http://www.x.org
License: MIT
Group: User Interface/X Hardware Support
@@ -30,6 +30,7 @@
Patch5: nv-2.1.6-starvation.patch
Patch6: nv-2.1.6-panel-fix.patch
Patch7: nv-save-rom.patch
+Patch8: nv-2.1.12-fb-size.patch
%description
X.Org X11 nv video driver.
@@ -43,6 +44,7 @@
%patch5 -p1 -b .starve
%patch6 -p1 -b .panel
%patch7 -p1 -b .save-rom
+%patch8 -p1 -b .fb-size
%build
%configure --disable-static
@@ -69,6 +71,10 @@
%{_mandir}/man4/nv.4*
%changelog
+* Mon Sep 08 2008 Adam Jackson <ajax at redhat.com> 2.1.12-2
+- nv-2.1.12-fb-size.patch: Yet more lame heuristics to preallocate a usable
+ framebuffer for laptops. (#458864)
+
* Thu Aug 28 2008 Adam Jackson <ajax at redhat.com> 2.1.12-1
- nv 2.1.12
More information about the fedora-extras-commits
mailing list