提交 a72a6a16 编写于 作者: T Tomi Valkeinen

drm/tidss: fix modeset init for DPI panels

The connector type for DISPC's DPI videoport was set the LVDS instead of
DPI. This causes any DPI panel setup to fail with tidss, making all DPI
panels unusable.

Fix this by using correct connector type.
Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
Fixes: 32a1795f ("drm/tidss: New driver for TI Keystone platform Display SubSystem")
Cc: stable@vger.kernel.org # v5.7+
Link: https://patchwork.freedesktop.org/patch/msgid/20200604080214.107159-1-tomi.valkeinen@ti.comReviewed-by: NJyri Sarha <jsarha@ti.com>
上级 a9e10b16
......@@ -154,7 +154,7 @@ static int tidss_dispc_modeset_init(struct tidss_device *tidss)
break;
case DISPC_VP_DPI:
enc_type = DRM_MODE_ENCODER_DPI;
conn_type = DRM_MODE_CONNECTOR_LVDS;
conn_type = DRM_MODE_CONNECTOR_DPI;
break;
default:
WARN_ON(1);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册