Thread (28 messages) 28 messages, 5 authors, 2004-11-06

Re: [PATCH] fbdev: workaround for broken X servers

From: Antonino A. Daplas <hidden>
Date: 2004-11-05 13:15:26

On Friday 05 November 2004 20:58, Geert Uytterhoeven wrote:
On Fri, 5 Nov 2004, Antonino A. Daplas wrote:
quoted
On Friday 05 November 2004 20:15, Geert Uytterhoeven wrote:
quoted
On Fri, 5 Nov 2004, Benjamin Herrenschmidt wrote:
quoted
quoted
But every existing application that uses (shiver) the kernel
headers will break after this change...
Geert, can you explain the whole story please ?
The story about the +1 or the story about the breakage?

The Story About The +1
----------------------
Since the VESA levels do not provide a way to blank (`make it black')
the screen, the +1 is introduced. Hence 0 means unblank, 1 means black
screen, 2 means lowest power save level, and so on...
And make it black is usually done in software (by memsetting the screen
with the black color).
Or by setting all color palette registers to black, if available, since
it's cheaper...
Ok. So, if pseudocolor/directcolor, set palette to all black, otherwise memset
the screen.

Tony




-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help