Set canDoBGNoneRoot on startup. Useful for plymouth crossfade testing for

those of us with lousy hardware.
This commit is contained in:
Bill Nottingham 2008-10-30 18:19:41 +00:00
parent b6e17f5a8a
commit f0dbd11451
2 changed files with 17 additions and 2 deletions

11
BGNoneRoot.patch Normal file
View File

@ -0,0 +1,11 @@
diff -up xf86-video-fbdev-0.4.0/src/fbdev.c.foo xf86-video-fbdev-0.4.0/src/fbdev.c
--- xf86-video-fbdev-0.4.0/src/fbdev.c.foo 2008-10-30 11:16:44.000000000 -0400
+++ xf86-video-fbdev-0.4.0/src/fbdev.c 2008-10-30 11:18:19.000000000 -0400
@@ -472,6 +472,7 @@ FBDevPreInit(ScrnInfoPtr pScrn, int flag
return FALSE;
pScrn->monitor = pScrn->confScreen->monitor;
+ pScrn->canDoBGNoneRoot = 1;
FBDevGetRec(pScrn);
fPtr = FBDEVPTR(pScrn);

View File

@ -5,7 +5,7 @@
Summary: Xorg X11 fbdev video driver
Name: xorg-x11-drv-fbdev
Version: 0.4.0
Release: 1%{?dist}
Release: 2%{?dist}
URL: http://www.x.org
License: MIT
Group: User Interface/X Hardware Support
@ -16,7 +16,7 @@ Source0: ftp://ftp.x.org/pub/individual/driver/%{tarball}-%{version}.tar.bz2
ExcludeArch: s390 s390x
Patch1: fbdev-0.3.0-32fbbpp.patch
Patch2: BGNoneRoot.patch
BuildRequires: xorg-x11-server-sdk >= 1.4.99.1
Requires: xorg-x11-server-Xorg >= 1.4.99.1
@ -29,6 +29,7 @@ X.Org X11 fbdev video driver.
# Not sure if this is still necessary, it doesn't apply anymore and the new
# code looks like it'll have the same effect. XXX check with katzj.
# %patch1 -p1 -b .fbbpp
%patch2 -p1
%build
%configure --disable-static
@ -52,6 +53,9 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man4/fbdev.4*
%changelog
* Thu Oct 30 2008 Bill Nottingham <notting@redhat.com> 0.4.0-2
- set canDoBGNoneRoot on driver startup
* Thu Mar 20 2008 Dave Airlie <airlied@redhat.com> 0.4.0-1
- Update to latest upstream release