Skip to content

Commit a72a6a1

Browse files
committed
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: Tomi Valkeinen <[email protected]> Fixes: 32a1795 ("drm/tidss: New driver for TI Keystone platform Display SubSystem") Cc: [email protected] # v5.7+ Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Reviewed-by: Jyri Sarha <[email protected]>
1 parent a9e10b1 commit a72a6a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/tidss/tidss_kms.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ static int tidss_dispc_modeset_init(struct tidss_device *tidss)
154154
break;
155155
case DISPC_VP_DPI:
156156
enc_type = DRM_MODE_ENCODER_DPI;
157-
conn_type = DRM_MODE_CONNECTOR_LVDS;
157+
conn_type = DRM_MODE_CONNECTOR_DPI;
158158
break;
159159
default:
160160
WARN_ON(1);

0 commit comments

Comments
 (0)