Skip to content

Commit 71ba1c9

Browse files
sdirkwinkeltomba
authored andcommitted
drm: xlnx: zynqmp_dpsub: fix hotplug detection
drm_kms_helper_poll_init needs to be called after zynqmp_dpsub_kms_init. zynqmp_dpsub_kms_init creates the connector and without it we don't enable hotplug detection. Fixes: eb2d64b ("drm: xlnx: zynqmp_dpsub: Report HPD through the bridge") Cc: [email protected] Signed-off-by: Steffen Dirkwinkel <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 223842c commit 71ba1c9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/gpu/drm/xlnx/zynqmp_kms.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -511,12 +511,12 @@ int zynqmp_dpsub_drm_init(struct zynqmp_dpsub *dpsub)
511511
if (ret)
512512
return ret;
513513

514-
drm_kms_helper_poll_init(drm);
515-
516514
ret = zynqmp_dpsub_kms_init(dpsub);
517515
if (ret < 0)
518516
goto err_poll_fini;
519517

518+
drm_kms_helper_poll_init(drm);
519+
520520
/* Reset all components and register the DRM device. */
521521
drm_mode_config_reset(drm);
522522

0 commit comments

Comments
 (0)