summaryrefslogtreecommitdiffstats
path: root/snapshot.commit
diff options
context:
space:
mode:
authorMartin Pietryka <martin.pietryka@chello.at>2016-04-27 21:39:15 +0200
committerAnatolij Gustschin <agust@denx.de>2016-04-28 16:50:52 +0200
commit7d045170ac1bf512ed148e97432b7a8d772943e9 (patch)
tree2e5235a96a2ddcc409c07452827f3faa3a1b4f9e /snapshot.commit
parente25b369c048b51b1feb79587750e7e160fc0bd73 (diff)
downloadblackbird-obmc-uboot-7d045170ac1bf512ed148e97432b7a8d772943e9.tar.gz
blackbird-obmc-uboot-7d045170ac1bf512ed148e97432b7a8d772943e9.zip
drivers/video/am335x-fb: Add support for 16bpp format
To support 16bpp we just need to change the raster_ctrl register accordingly. Also 32bpp mode should work as well, but was not tested. According to the TRM the uppermost byte will be ignored when LCD_TFT_24BPP_UNPACK is set. The switch logic is based on the Linux kernel tilcdc driver: drivers/gpu/drm/tilcdc/tilcdc_crtc.c: lines 407 through 419 (kernel was checked out at commit: bcc981e9ed8) Signed-off-by: Martin Pietryka <martin.pietryka@chello.at> Reviewed-by: Hannes Schmelzer <oe5hpm@oevsv.at> Tested-by: Hannes Schmelzer <oe5hpm@oevsv.at>
Diffstat (limited to 'snapshot.commit')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud