Re: PROBLEM: loading viafb module turns screen to black on VN896
From: Erik-Jan <hidden>
Date: 2010-01-02 22:25:48
Attachments
- linux-2.6.32.2-viafb.patch [text/plain] 2360 bytes · preview
From: Erik-Jan <hidden>
Date: 2010-01-02 22:25:48
Julian Wollrath wrote: > Hi, > > since I switched from 2.6.31.8 to 2.6.32.2 loading the viafb module > turns the screen to black, there is no graphic output on the screen anymore. I had the same sort of problem with CLE266. Only I didn't get a black screen, but a scrambled-up screen, as if the timings were wrong. Not surprisingly, it all has to do with the 2D engine rewrite (around commit c3e25673843153ea75fda79a47cf12f10a25ca37) that has been done in 2.6.32. I found a few small things in the initialization of the framebuffer, that were present in 2.6.31 but removed in 2.6.32. Attached a patch that puts these changes back in. I don't know if I've done some bad things (never done any kernel coding before) nor if it is OK for all the different VIA hardware out there, but on my CLE266 it now works as before. The changes to accel.c are needed for a correct boot; the other changes are needed for changing the framebuffer mode with fbset. Bye, Erik-Jan