pm2fb: Reset transparency settings
PATCH 1/1 pm2fb: Reset transparency settings
From: Krzysztof Helt < [email protected]>
This patch resets transparency settings when depth changes. Otherwise the 16 and 24-bit modes work incorrectly after switching from 32-bit mode.
---
This is a patch against 2.6.21 kernel.
----------------------------------------------------
Zobacz, jaką walkę stoczy superbohater, by ocalić siebie i swych bliskich. A największa bitwa rozegra się w jego duszy. SPIDER-MAN 3 w kinach do 4 maja.
http://klik.wp.pl/?adr=http%3A%2F%2Fadv.reklama.wp.pl%2Fas%2Fspiderman3.html&sid=1122
drivers/video/pm2fb.c +2 -0
@@ -645,6 +656,8 @@ static int pm2fb_check_var(struct fb_varreturn -EINVAL ; } + var->transp.offset =0 ; + var->transp.length =0 ;switch (var->bits_per_pixel) {case 8 : var->red.length = var->green.length = var->blue.length =8 ;
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Linux-fbdev-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-fbdev-devel