diff options
author | Stefan Schmidt <stefan@datenfreihafen.org> | 2008-07-09 09:06:32 +0200 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-07-10 14:44:53 +0200 |
commit | c1450f156fda8921a55e3f4fe596274278010f31 (patch) | |
tree | 7ce5999ae98f5d9dca41d645aa898c01477573e9 /include/asm-arm | |
parent | [ARM] 5165/1: pxafb: More LCCR3 depth defines (diff) | |
download | linux-c1450f156fda8921a55e3f4fe596274278010f31.tar.xz linux-c1450f156fda8921a55e3f4fe596274278010f31.zip |
[ARM] 5164/1: pxafb: Support for RGB666, RGBT666, RGB888 and RGBT888
Add the .depth field to pxafb_mode_info and use it to set pixel data format
as 18(RGB666), 19(RGBT666), 24(RGB888) or 25(RGBT888)
Signed-off-by: Daniel Ribeiro <drwyrm@gmail.com>
Acked-by: Eric Miao <eric.miao@marvell.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/asm-arm')
-rw-r--r-- | include/asm-arm/arch-pxa/pxafb.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-arm/arch-pxa/pxafb.h b/include/asm-arm/arch-pxa/pxafb.h index bbd22396841a..daf018d0c604 100644 --- a/include/asm-arm/arch-pxa/pxafb.h +++ b/include/asm-arm/arch-pxa/pxafb.h @@ -71,7 +71,8 @@ struct pxafb_mode_info { u_char bpp; u_int cmap_greyscale:1, - unused:31; + depth:8, + unused:23; /* Parallel Mode Timing */ u_char hsync_len; |