# Re: \[PATCH\]\[RIVAFB\]: Updates to rivafb driver

- From: Benjamin Herrenschmidt \<benh@kernel.crashing.org\>
- Date: 2004-06-17 16:37:23 
- List: linux-fbdev
- Page: https://ratatoskr.run/linux-fbdev/2004/06/13453177
- Thread: https://ratatoskr.run/linux-fbdev/2004/06/13453149/t.md

```text
On Wed, 2004-06-16 at 19:16, David Eger wrote:

> > Yeah, even with XOrg/Free86 nv driver, it hangs.  Don't really know the
> > exact solution, probably a complete re-initialization of the hardware
> > when switching from X.  But this will require that fbcon recognizes
> > a switch from X itself which it currently doesn't (unless I'm mistaken).
> 
> Back in February, BenH said he was going to work on a patch for this:
> 
> http://www.uwsg.iu.edu/hypermail/linux/kernel/0402.2/0247.html
> 
> Hey Ben, what ever became of this?  Are there now hooks for this or 
> something?

Last time I played with nv & rivafb (a loooong time ago), I found out
the hangs were caused by some weirdness with the manipulation of the
endian flip register and got that working. The problem I've been working
on for restoring console is different, and has to do with forcing a
call to set-par when coming back from KD_GRAPHICS mode. That is already
upstream (though I noticed some X driver still mess with the HW after
the switch back, like the radeon one)

Ben.




-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
```
