drm: xlnx: zynqmp_dpsub: fix hotplug detection
Subsystems (5)
PATCH 1/1 drm: xlnx: zynqmp_dpsub: fix hotplug detection
From: Steffen Dirkwinkel <[email protected]>
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.
--- drivers/gpu/drm/xlnx/zynqmp_kms.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/xlnx/zynqmp_kms.c +2 -2
@@ -509,12 +509,12 @@ int zynqmp_dpsub_drm_init(struct zynqmp_dpsub *dpsub)if (ret)return ret; -drm_kms_helper_poll_init (drm); - ret =zynqmp_dpsub_kms_init (dpsub);if (ret <0 ) goto err_poll_fini; +drm_kms_helper_poll_init (drm); +/* Reset all components and register the DRM device. */ drm_mode_config_reset (drm);
Signature · 1 line
2.47.0
Tomi Valkeinen
maintainerQuoted 20 lines · Steffen Dirkwinkel
From: Steffen Dirkwinkel <[email protected]>
drm_kms_helper_poll_initneeds to be called afterzynqmp_dpsub_kms_init.zynqmp_dpsub_kms_initcreates the connector and without it we don't enable hotplug detection.Signed-off-by Steffen Dirkwinkel <[email protected]>--- drivers/gpu/drm/xlnx/zynqmp_kms.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/gpu/drm/xlnx/zynqmp_kms.c +0
-1@@ -509,12 +509,12 @@ int zynqmp_dpsub_drm_init(struct zynqmp_dpsub *dpsub)if (ret)return ret; -drm_kms_helper_poll_init (drm);
drivers/gpu/drm/xlnx/zynqmp_kms.c int zynqmp_dpsub_drm_init(struct zynqmp_dpsub *dpsub) · line 520
Quoted 10 lines
drivers/gpu/drm/xlnx/zynqmp_kms.c +2
-1- ret =zynqmp_dpsub_kms_init (dpsub);if (ret <0 ) goto err_poll_fini; +drm_kms_helper_poll_init (drm); +/* Reset all components and register the DRM device. */ drm_mode_config_reset (drm);
Thanks, this indeed fixes the HPD issue.
But shouldn't this have a Fixes tag, and cc stable?
Tomi
PATCH v2 1/1 drm: xlnx: zynqmp_dpsub: fix hotplug detection
From: Steffen Dirkwinkel <[email protected]>
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.
--- drivers/gpu/drm/xlnx/zynqmp_kms.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/xlnx/zynqmp_kms.c +2 -2
@@ -509,12 +509,12 @@ int zynqmp_dpsub_drm_init(struct zynqmp_dpsub *dpsub)if (ret)return ret; -drm_kms_helper_poll_init (drm); - ret =zynqmp_dpsub_kms_init (dpsub);if (ret <0 ) goto err_poll_fini; +drm_kms_helper_poll_init (drm); +/* Reset all components and register the DRM device. */ drm_mode_config_reset (drm);
Signature · 1 line
2.47.0
kernel test robot
build botFYI: kernel test robot notices the stable kernel rule is not satisfied.
Hi,
Thanks for your patch.
FYI: kernel test robot notices the stable kernel rule is not satisfied.
The check is based on https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html#option-1
Rule: add the tag "Cc: [email protected]" in the sign-off area to have the patch automatically included in the stable tree.
Subject: [PATCH v2] drm: xlnx: zynqmp_dpsub: fix hotplug detection
Signature · 2 lines
0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
PATCH v2 1/1 drm: xlnx: zynqmp_dpsub: fix hotplug detection
In reply to Tomi ValkeinenFrom: Steffen Dirkwinkel <[email protected]>
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.
--- drivers/gpu/drm/xlnx/zynqmp_kms.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/xlnx/zynqmp_kms.c +2 -2
@@ -509,12 +509,12 @@ int zynqmp_dpsub_drm_init(struct zynqmp_dpsub *dpsub)if (ret)return ret; -drm_kms_helper_poll_init (drm); - ret =zynqmp_dpsub_kms_init (dpsub);if (ret <0 ) goto err_poll_fini; +drm_kms_helper_poll_init (drm); +/* Reset all components and register the DRM device. */ drm_mode_config_reset (drm);
Signature · 1 line
2.47.0
Tomi Valkeinen
maintainerHi,
Quoted 22 lines · Steffen Dirkwinkel
From: Steffen Dirkwinkel <[email protected]>
drm_kms_helper_poll_initneeds to be called afterzynqmp_dpsub_kms_init.zynqmp_dpsub_kms_initcreates the connector and without it we don't enable hotplug detection.Fixes eb2d64bfcc17 ("drm: xlnx: zynqmp_dpsub: Report HPD through the bridge")Signed-off-by Steffen Dirkwinkel <[email protected]>--- drivers/gpu/drm/xlnx/zynqmp_kms.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/gpu/drm/xlnx/zynqmp_kms.c +0
-1@@ -509,12 +509,12 @@ int zynqmp_dpsub_drm_init(struct zynqmp_dpsub *dpsub)if (ret)return ret; -drm_kms_helper_poll_init (drm);
drivers/gpu/drm/xlnx/zynqmp_kms.c int zynqmp_dpsub_drm_init(struct zynqmp_dpsub *dpsub) · line 520
Quoted 10 lines
drivers/gpu/drm/xlnx/zynqmp_kms.c +2
-1- ret =zynqmp_dpsub_kms_init (dpsub);if (ret <0 ) goto err_poll_fini; +drm_kms_helper_poll_init (drm); +/* Reset all components and register the DRM device. */ drm_mode_config_reset (drm);
Thanks, will apply to drm-misc-next.
Btw, don't send a fixed version with the same version number as the last one. Tools get confused...
Tomi