Re: [PATCH] uvesafb: fix color component length for pseudocolormodes

From: Krzysztof Helt
Date: Wed Apr 01 2009 - 13:53:42 EST


On Tue, 31 Mar 2009 00:02:46 +0200
Michal Januszewski <spock@xxxxxxxxxx> wrote:

> uvesafb 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.
>
> The switch of the DAC width from the default 6 bits to 8 bits is
> retained and tracked internally in the driver, but never exposed
> to userspace.
>
> Signed-off-by: Michal Januszewski <spock@xxxxxxxxxx>
> Cc: Krzysztof Helt <krzysztof.h1@xxxxxxxxx>
> Cc: Ville Syrjälä <syrjala@xxxxxx>
> Cc: Geert Uytterhoeven <geert.uytterhoeven@xxxxxxxxx>
> ---

Acked-by: Krzysztof Helt <krzysztof.h1@xxxxx>



----------------------------------------------------------------------
Internetowe dowcipy na 1 kwietnia! Sprawdz! ;)
http://link.interia.pl/f20f4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/