summary refs log tree commit diff
path: root/drivers/pci
diff options
context:
space:
mode:
authorStefan Agner <stefan@agner.ch>2016-12-14 17:28:41 -0800
committerDave Airlie <airlied@redhat.com>2017-03-10 11:10:42 +1000
commit10f2889ba35aeb251b9945ec4c461af8c124c41f (patch)
tree295bf7d747e8d74653df3230c1a013665a665637 /drivers/pci
parent9813527abc558415dbe4dc0bb5bfbd12aab2c457 (diff)
downloadlinux-10f2889ba35aeb251b9945ec4c461af8c124c41f.tar.gz
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 'drivers/pci')
0 files changed, 0 insertions, 0 deletions