diff options
| author | Martin Pietryka <[email protected]> | 2016-04-27 21:39:15 +0200 |
|---|---|---|
| committer | Anatolij Gustschin <[email protected]> | 2016-04-28 16:50:52 +0200 |
| commit | 7d045170ac1bf512ed148e97432b7a8d772943e9 (patch) | |
| tree | 2e5235a96a2ddcc409c07452827f3faa3a1b4f9e /include/linux | |
| parent | e25b369c048b51b1feb79587750e7e160fc0bd73 (diff) | |
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 <[email protected]>
Reviewed-by: Hannes Schmelzer <[email protected]>
Tested-by: Hannes Schmelzer <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
