diff options
author | Stefan Agner <stefan@agner.ch> | 2016-12-14 17:28:41 -0800 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2017-03-10 11:10:42 +1000 |
commit | 10f2889ba35aeb251b9945ec4c461af8c124c41f (patch) | |
tree | 295bf7d747e8d74653df3230c1a013665a665637 /lib/dump_stack.c | |
parent | 9813527abc558415dbe4dc0bb5bfbd12aab2c457 (diff) |
drm: mxsfb: use bus_format to determine LCD bus width
The LCD bus width does not need to align with the pixel format. The
LCDIF controller automatically converts between pixel formats and
bus width by padding or dropping LSBs.
The DRM subsystem has the notion of bus_format which allows to
determine what bus_formats are supported by the display. Choose the
first available or fallback to 24 bit if none are available.
Signed-off-by: Stefan Agner <stefan@agner.ch>
Acked-by: Marek Vasut <marex@denx.de>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'lib/dump_stack.c')
0 files changed, 0 insertions, 0 deletions