]> git.baikalelectronics.ru Git - kernel.git/commit
fbdev: sh_mobile_lcdcfb: Enable 32 bpp and 24 bpp support
authorMagnus Damm <damm@opensource.se>
Wed, 5 Jan 2011 10:21:00 +0000 (10:21 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 6 Jan 2011 06:43:18 +0000 (15:43 +0900)
commit46e7bf288b5e6cce4251599f8f62bce6ac37ca0d
tree49a70964e2ccf625a4b028cb8eb0403735c93de8
parent0a87c9e546ad3499ecf6071f466d1d4830f8df99
fbdev: sh_mobile_lcdcfb: Enable 32 bpp and 24 bpp support

This patch extends the LCDC driver with 24 bpp
and 32 bpp support.

These modes have been kept disabled earlier due
to dependencies between the potential two LCDC
channels that are exported as two separate
framebuffer devices. The dependency boils down
to a byte swap register that is shared between
multiple channels.

With this patch applied all single channel LCDC
hardware can chose freely from 16, 24 and 32 bpp.
Dual channel LCDC must stick to the same setup
for both channels.

Without this patch only 16 bpp is fully supported.

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/video/sh_mobile_lcdcfb.c