RE: [PATCH v5] da8xx-fb: add 24bpp LCD configuration support
From: Manjunathappa, Prakash <hidden>
Date: 2012-08-22 05:40:27
Hi Florian Tobias Schandinat, If you do not have any review comments could you please accept this patch? Thanks, Prakash On Tue, Aug 14, 2012 at 18:51:42, Manjunathappa, Prakash wrote:
quoted hunk ↗ jump to hunk
LCD controller on am335x supports 24bpp raster configuration in addition to ones on da850. LCDC also supports 24bpp in unpacked format having ARGB:8888 32bpp format data in DDR, but it doesn't interpret alpha component of the data. Signed-off-by: Manjunathappa, Prakash <redacted> Cc: Anatolij Gustschin <agust@denx.de> --- Applies on top of fbdev-next of Florian Tobias Schandinat's tree. Since v4: Re-define CNVT_TOHW macro. Since v3: Minor nit, declare pseudo_palette as u32 type. Since v2: Fixed additional configurations for 24bpp support. Since v1: Simplified calculation of pseudopalette for FB_VISUAL_TRUECOLOR type. drivers/video/da8xx-fb.c | 132 +++++++++++++++++++++++++++++++++------------ 1 files changed, 97 insertions(+), 35 deletions(-)diff --git a/drivers/video/da8xx-fb.c b/drivers/video/da8xx-fb.c index cb696ff..5c6df7b 100644 --- a/drivers/video/da8xx-fb.c +++ b/drivers/video/da8xx-fb.c@@ -87,6 +87,8 @@
[...]