Skip to content

Commit d50b5a7

Browse files
sdirkwinkelgregkh
authored andcommitted
drm: xlnx: zynqmp_dpsub: fix hotplug detection
commit 71ba1c9 upstream. 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] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 65bea1c commit d50b5a7

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
@@ -506,12 +506,12 @@ int zynqmp_dpsub_drm_init(struct zynqmp_dpsub *dpsub)
506506
if (ret)
507507
return ret;
508508

509-
drm_kms_helper_poll_init(drm);
510-
511509
ret = zynqmp_dpsub_kms_init(dpsub);
512510
if (ret < 0)
513511
goto err_poll_fini;
514512

513+
drm_kms_helper_poll_init(drm);
514+
515515
/* Reset all components and register the DRM device. */
516516
drm_mode_config_reset(drm);
517517

0 commit comments

Comments
 (0)