]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm/imx: convey the pixelclk-active and de-active flags from DT to the ipu-di driver
authorLothar Waßmann <LW@KARO-electronics.de>
Tue, 12 Jul 2016 13:30:03 +0000 (15:30 +0200)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Mon, 8 Aug 2016 09:44:20 +0000 (11:44 +0200)
commitfafc79ef2e9148d0085585b6b71bc7154c14ebb6
treefc10a39232083944ec0727f71ac6c16a8e647fcd
parentd72daa0d75e8fe71368113350254b9da2c64b235
drm/imx: convey the pixelclk-active and de-active flags from DT to the ipu-di driver

The 'de-active' and 'pixelclk-active' DT properties are evaluated
by of_parse_display_timing() called from  of_get_drm_display_mode(),
but later lost in the conversion from videomode.flags to
drm_display_mode.flags.
Enhance of_get_drm_display_mode() to also return the bus flags in a
separate variable, so that they can be passed on to the ipu-di
driver.

Signed-off-by: Lothar Waßmann <LW@KARO-electronics.de>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/gpu/drm/drm_modes.c
drivers/gpu/drm/imx/imx-ldb.c
drivers/gpu/drm/imx/parallel-display.c
include/drm/drm_modes.h