Searched hist:"7 d045170ac1bf512ed148e97432b7a8d772943e9" (Results 1 – 1 of 1) sorted by relevance
| /rk3399_rockchip-uboot/drivers/video/ |
| H A D | am335x-fb.c | 7d045170ac1bf512ed148e97432b7a8d772943e9 Wed Apr 27 19:39:15 UTC 2016 Martin Pietryka <martin.pietryka@chello.at> 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>
|