Skip to content

Commit 2719fe9

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: stable@vger.kernel.org Signed-off-by: Steffen Dirkwinkel <s.dirkwinkel@beckhoff.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> Link: https://patchwork.freedesktop.org/patch/msgid/20241028134218.54727-1-lists@steffen.cc Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 96c3085 commit 2719fe9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/gpu/drm/xlnx/zynqmp_kms.c

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

512-
drm_kms_helper_poll_init(drm);
513-
514512
ret = zynqmp_dpsub_kms_init(dpsub);
515513
if (ret < 0)
516514
goto err_poll_fini;
517515

516+
drm_kms_helper_poll_init(drm);
517+
518518
/* Reset all components and register the DRM device. */
519519
drm_mode_config_reset(drm);
520520

0 commit comments

Comments
 (0)