The patch titled sisfb: fix color component length for pseudocolor modes has been added to the -mm tree. Its filename is sisfb-fix-color-component-length-for-pseudocolor-modes.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find out what to do about this The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: sisfb: fix color component length for pseudocolor modes From: Michal Januszewski <spock@xxxxxxxxxx> sisfb incorrectly sets the length of the color fields to 6 bits for PSEUDOCOLOR modes, even though 8 bits are always used per pixel. Fix this by setting the length to 8. Signed-off-by: Michal Januszewski <spock@xxxxxxxxxx> Cc: Thomas Winischhofer <thomas@xxxxxxxxxxxxxxxx> Acked-by: Krzysztof Helt <krzysztof.h1@xxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/video/sis/sis_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN drivers/video/sis/sis_main.c~sisfb-fix-color-component-length-for-pseudocolor-modes drivers/video/sis/sis_main.c --- a/drivers/video/sis/sis_main.c~sisfb-fix-color-component-length-for-pseudocolor-modes +++ a/drivers/video/sis/sis_main.c @@ -1129,7 +1129,7 @@ sisfb_bpp_to_var(struct sis_video_info * switch(var->bits_per_pixel) { case 8: var->red.offset = var->green.offset = var->blue.offset = 0; - var->red.length = var->green.length = var->blue.length = 6; + var->red.length = var->green.length = var->blue.length = 8; break; case 16: var->red.offset = 11; _ Patches currently in -mm which might be from spock@xxxxxxxxxx are linux-next.patch fbdev-fix-color-component-field-length-documentation.patch uvesafb-fix-color-component-length-for-pseudocolor-modes.patch s3fb-fix-color-component-length-for-pseudocolor-modes.patch sa1100fb-fix-color-component-length-for-pseudocolor-modes.patch sisfb-fix-color-component-length-for-pseudocolor-modes.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html