drm/imx: switch to use media bus formats
authorPhilipp Zabel <p.zabel@pengutronix.de>
Tue, 2 Dec 2014 16:51:36 +0000 (17:51 +0100)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Tue, 31 Mar 2015 09:59:34 +0000 (11:59 +0200)
commita7c6e76feeb19de1a5cefa50ea6c0fc5ad45bbe1
tree347d8ffa3959f23cf55ab06773feff0b36fd8975
parent203508ef52e3fee93b71262928541ecea82c735d
drm/imx: switch to use media bus formats

imx-drm internally misused the V4L2_PIX_FMT constants, which are supposed to
describe the pixel format of frame buffers in memory, to describe the pixel
format on the bus between the display controller and the encoder hardware.
Now that MEDIA_BUS_FMT constants are available to drm drivers, use those
instead.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Tested-by: Emil Renner Berthing <kernel@esmil.dk>
drivers/gpu/drm/imx/dw_hdmi-imx.c
drivers/gpu/drm/imx/imx-ldb.c
drivers/gpu/drm/imx/imx-tve.c
drivers/gpu/drm/imx/parallel-display.c
drivers/gpu/ipu-v3/ipu-dc.c