diff options
author | Antonino A. Daplas <adaplas@gmail.com> | 2006-06-26 00:26:24 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-26 09:58:28 -0700 |
commit | f8020dc560fde089becc05de1d0ada1f7f46dc51 (patch) | |
tree | 20e0c20df709072838a554215fc608c3b3543244 /drivers/video/68328fb.c | |
parent | 2356614b08bf8769790c4f1f55c83d95f802bc51 (diff) | |
download | blackbird-op-linux-f8020dc560fde089becc05de1d0ada1f7f46dc51.tar.gz blackbird-op-linux-f8020dc560fde089becc05de1d0ada1f7f46dc51.zip |
[PATCH] savagefb: Add state save and_restore hooks
Reported by: Rich (Bugzilla Bug 6417)
"if savage driver is used in x.org together with savagefb, it results in
seriously garbled and distorted screen - coupled with severe slowdowns."
This bug is the result of Xorg unable to handle savagefb altering the
hardware which results in X failing to start properly and/or failed console
switching.
Add savagefb_state_save and savagefb_state_restore. These hooks will only
save and restore the extended VGA registers. Standard VGA registers will be
left alone. This is enough to make savagefb play nicely with the latest
Xorg savage driver, and perhaps with savage DRI. (Transient screen artifacts
may appear before X loads and during console switches).
(Unfortunately, blanking the screen also leaves Xorg in a blanked state, so I
have to unblank the screen before Xorg loads. So I doubt if the transient
screen artifacts will be completely invisible but hopefully it will only be
for a shorter duration (not much).)
[akpm@osdl.org: cleanups]
Signed-off-by: Antonino Daplas <adaplas@pol.net>
Cc: <rich@hq.vsaa.lv>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/video/68328fb.c')
0 files changed, 0 insertions, 0 deletions