linux/drivers/gpu/drm/imx
Christoph Niedermaier 9d45aec02f drm/imx: parallel-display: Remove bus flags check in imx_pd_bridge_atomic_check()
[ Upstream commit 6061806a86 ]

If display timings were read from the devicetree using
of_get_display_timing() and pixelclk-active is defined
there, the flag DISPLAY_FLAGS_SYNC_POSEDGE/NEGEDGE is
automatically generated. Through the function
drm_bus_flags_from_videomode() e.g. called in the
panel-simple driver this flag got into the bus flags,
but then in imx_pd_bridge_atomic_check() the bus flag
check failed and will not initialize the display. The
original commit fe141cedc4 does not explain why this
check was introduced. So remove the bus flags check,
because it stops the initialization of the display with
valid bus flags.

Fixes: fe141cedc4 ("drm/imx: pd: Use bus format/flags provided by the bridge when available")
Signed-off-by: Christoph Niedermaier <cniedermaier@dh-electronics.com>
Cc: Marek Vasut <marex@denx.de>
Cc: Boris Brezillon <boris.brezillon@collabora.com>
Cc: Philipp Zabel <p.zabel@pengutronix.de>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: Shawn Guo <shawnguo@kernel.org>
Cc: Sascha Hauer <s.hauer@pengutronix.de>
Cc: Pengutronix Kernel Team <kernel@pengutronix.de>
Cc: Fabio Estevam <festevam@gmail.com>
Cc: NXP Linux Team <linux-imx@nxp.com>
Cc: linux-arm-kernel@lists.infradead.org
To: dri-devel@lists.freedesktop.org
Tested-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Boris Brezillon <boris.brezillon@collabora.com>
Signed-off-by: Marek Vasut <marex@denx.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20220201113643.4638-1-cniedermaier@dh-electronics.com
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-03-23 09:13:28 +01:00
..
dcss drm/imx/dcss: fix rotations for Vivante tiled formats 2020-12-30 11:53:22 +01:00
dw_hdmi-imx.c drm/imx: dw_hdmi-imx: remove empty encoder_disable callback 2020-10-26 10:59:16 +01:00
imx-drm-core.c drm/imx: fix memory leak when fails to init 2021-04-07 15:00:11 +02:00
imx-drm.h drm/imx: Use simple encoder 2020-04-02 14:16:44 +02:00
imx-ldb.c drm/imx: imx-ldb: fix out of bounds array access warning 2021-04-16 11:43:20 +02:00
imx-tve.c drm/imx: tve remove extraneous type qualifier 2020-10-27 10:30:09 +01:00
ipuv3-crtc.c drm/imx: error path fixes and cleanups 2020-07-23 15:21:45 +10:00
ipuv3-plane.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
ipuv3-plane.h
Kconfig drm/imx: Add initial support for DCSS on iMX8MQ 2020-09-09 16:39:48 +02:00
Makefile drm/imx: Add initial support for DCSS on iMX8MQ 2020-09-09 16:39:48 +02:00
parallel-display.c drm/imx: parallel-display: Remove bus flags check in imx_pd_bridge_atomic_check() 2022-03-23 09:13:28 +01:00