Patch "drm/radeon: Delay Connector detecting when HPD singals is unstable" has been added to the 6.6-stable tree
A message that is not in the archive (sent off-list or not yet received): [email protected]
[Public]
Quoted 37 lines
-----Original Message-----
From: Sasha Levin <[email protected]>
Sent: Thursday, January 2, 2025 7:42 PM
To: [email protected]; [email protected]
Cc: Deucher, Alexander <[email protected]>; Koenig, Christian <[email protected]>; Pan, Xinhui <[email protected]>; David Airlie <[email protected]>; Simona Vetter <[email protected]>
Subject: Patch "drm/radeon: Delay Connector detecting when HPD singals is unstable" has been added to the 6.6-stable treeThis is a note to let you know that I've just added the patch titled
drm/radeon: Delay Connector detecting when HPD singals is unstable
to the 6.6-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summaryThe filename of the patch is:
drm-radeon-delay-connector-detecting-when-hpd-singal.patch
and it can be found in the queue-6.6 subdirectory.If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
commit
20430c3e75a06c4736598de02404f768653d953aAuthor: Shixiong Ou <[email protected]> Date: Thu May 9 16:57:58 2024 +0800drm/radeon: Delay Connector detecting when HPD singals is unstable
[ Upstream commit
949658cb9b69ab9d22a42a662b2fdc7085689ed8]In some causes, HPD signals will jitter when plugging in or unplugging HDMI.
Quoted 7 lines
Rescheduling the hotplug work for a second when EDID may still be readable but HDP is disconnected, and fixes this issue.
Signed-off-by Shixiong Ou <[email protected]>Signed-off-by Alex Deucher <[email protected]>Stable-dep-of:
979bfe291b5b("Revert "drm/radeon: Delay Connector detecting
when HPD singals is unstable"")
Please drop both of these patches. There is no need to pull back a patch just so that you can apply the revert.
Thanks,
Alex
Quoted 27 lines
Signed-off-by Sasha Levin <[email protected]>drivers/gpu/drm/radeon/radeon_connectors.c +10
-0@@ -1267,6 +1267,16 @@ radeon_dvi_detect(struct drm_connector *connector, bool force) goto exit; } } + +if (dret && radeon_connector->hpd.hpd !=RADEON_HPD_NONE && + !radeon_hpd_sense (rdev, radeon_connector->hpd.hpd) && + connector->connector_type ==DRM_MODE_CONNECTOR_HDMIA ) { +DRM_DEBUG_KMS ("EDID is readable when HPD disconnected\n"); +schedule_delayed_work (&rdev->hotplug_work,msecs_to_jiffies (1000 )); + ret = connector_status_disconnected; + goto exit; + } +if (dret) { radeon_connector->detected_by_load = false; radeon_connector_free_edid(connector);
Quoted 42 lines · Alexander
[Public]
Quoted 40 lines
-----Original Message-----
From: Sasha Levin <[email protected]>
Sent: Thursday, January 2, 2025 7:42 PM
To: [email protected]; [email protected]
Cc: Deucher, Alexander <[email protected]>; Koenig, Christian <[email protected]>; Pan, Xinhui <[email protected]>; David Airlie <[email protected]>; Simona Vetter <[email protected]>
Subject: Patch "drm/radeon: Delay Connector detecting when HPD singals is unstable" has been added to the 6.6-stable treeThis is a note to let you know that I've just added the patch titled
drm/radeon: Delay Connector detecting when HPD singals is unstable
to the 6.6-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summaryThe filename of the patch is:
drm-radeon-delay-connector-detecting-when-hpd-singal.patch
and it can be found in the queue-6.6 subdirectory.If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
commit
20430c3e75a06c4736598de02404f768653d953aAuthor: Shixiong Ou <[email protected]> Date: Thu May 9 16:57:58 2024 +0800drm/radeon: Delay Connector detecting when HPD singals is unstable
[ Upstream commit
949658cb9b69ab9d22a42a662b2fdc7085689ed8]In some causes, HPD signals will jitter when plugging in or unplugging HDMI.
Rescheduling the hotplug work for a second when EDID may still be readable but HDP is disconnected, and fixes this issue.
Quoted 8 lines
Quoted 4 lines
Signed-off-by Shixiong Ou <[email protected]>Signed-off-by Alex Deucher <[email protected]>Stable-dep-of:
979bfe291b5b("Revert "drm/radeon: Delay Connector detecting
when HPD singals is unstable"")Please drop both of these patches. There is no need to pull back a patch just so that you can apply the revert.
Since we've just been discussing stable backports at length, how did this one happen?
949658cb9b69ab9d22a42a662b2fdc7085689ed8 is in v6.11 and 979bfe291b5b in v6.13-rc1, so there's definitely a need to backport the latter to v6.11.y and v6.12.y. And maybe there was a cherry-pick of 949658cb9b69ab9d22a42a66 to older stable releases already, but that doesn't seem to be the case. So what happened here?
Thanks, Sima
Quoted 33 lines
Thanks,
Alex
Quoted 27 lines
Signed-off-by Sasha Levin <[email protected]>drivers/gpu/drm/radeon/radeon_connectors.c +10
-0@@ -1267,6 +1267,16 @@ radeon_dvi_detect(struct drm_connector *connector, bool force) goto exit; } } + +if (dret && radeon_connector->hpd.hpd !=RADEON_HPD_NONE && + !radeon_hpd_sense (rdev, radeon_connector->hpd.hpd) && + connector->connector_type ==DRM_MODE_CONNECTOR_HDMIA ) { +DRM_DEBUG_KMS ("EDID is readable when HPD disconnected\n"); +schedule_delayed_work (&rdev->hotplug_work,msecs_to_jiffies (1000 )); + ret = connector_status_disconnected; + goto exit; + } +if (dret) { radeon_connector->detected_by_load = false; radeon_connector_free_edid(connector);
Signature · 3 lines
Simona Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch
Quoted 52 lines · Simona Vetter
Quoted 42 lines · Alexander
[Public]
Quoted 40 lines
-----Original Message-----
From: Sasha Levin <[email protected]>
Sent: Thursday, January 2, 2025 7:42 PM
To: [email protected]; [email protected]
Cc: Deucher, Alexander <[email protected]>; Koenig, Christian <[email protected]>; Pan, Xinhui <[email protected]>; David Airlie <[email protected]>; Simona Vetter <[email protected]>
Subject: Patch "drm/radeon: Delay Connector detecting when HPD singals is unstable" has been added to the 6.6-stable treeThis is a note to let you know that I've just added the patch titled
drm/radeon: Delay Connector detecting when HPD singals is unstable
to the 6.6-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summaryThe filename of the patch is:
drm-radeon-delay-connector-detecting-when-hpd-singal.patch
and it can be found in the queue-6.6 subdirectory.If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
commit
20430c3e75a06c4736598de02404f768653d953aAuthor: Shixiong Ou <[email protected]> Date: Thu May 9 16:57:58 2024 +0800drm/radeon: Delay Connector detecting when HPD singals is unstable
[ Upstream commit
949658cb9b69ab9d22a42a662b2fdc7085689ed8]In some causes, HPD signals will jitter when plugging in or unplugging HDMI.
Rescheduling the hotplug work for a second when EDID may still be readable but HDP is disconnected, and fixes this issue.
Quoted 8 lines
Quoted 4 lines
Signed-off-by Shixiong Ou <[email protected]>Signed-off-by Alex Deucher <[email protected]>Stable-dep-of:
979bfe291b5b("Revert "drm/radeon: Delay Connector detecting
when HPD singals is unstable"")Please drop both of these patches. There is no need to pull back a patch just so that you can apply the revert.
Quoted 8 lines
Since we've just been discussing stable backports at length, how did this one happen?
949658cb9b69ab9d22a42a662b2fdc7085689ed8is in v6.11 and979bfe291b5bin v6.13-rc1, so there's definitely a need to backport the latter to v6.11.y and v6.12.y. And maybe there was a cherry-pick of949658cb9b69ab9d22a42a66to older stable releases already, but that doesn't seem to be the case. So what happened here?
I think Sasha's revert checker caught this one accidentally, but I'll defer to him for the final answer.
thanks,
greg k-h
Quoted 52 lines · Simona Vetter
Quoted 42 lines · Alexander
[Public]
Quoted 40 lines
-----Original Message-----
From: Sasha Levin <[email protected]>
Sent: Thursday, January 2, 2025 7:42 PM
To: [email protected]; [email protected]
Cc: Deucher, Alexander <[email protected]>; Koenig, Christian <[email protected]>; Pan, Xinhui <[email protected]>; David Airlie <[email protected]>; Simona Vetter <[email protected]>
Subject: Patch "drm/radeon: Delay Connector detecting when HPD singals is unstable" has been added to the 6.6-stable treeThis is a note to let you know that I've just added the patch titled
drm/radeon: Delay Connector detecting when HPD singals is unstable
to the 6.6-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summaryThe filename of the patch is:
drm-radeon-delay-connector-detecting-when-hpd-singal.patch
and it can be found in the queue-6.6 subdirectory.If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
commit
20430c3e75a06c4736598de02404f768653d953aAuthor: Shixiong Ou <[email protected]> Date: Thu May 9 16:57:58 2024 +0800drm/radeon: Delay Connector detecting when HPD singals is unstable
[ Upstream commit
949658cb9b69ab9d22a42a662b2fdc7085689ed8]In some causes, HPD signals will jitter when plugging in or unplugging HDMI.
Rescheduling the hotplug work for a second when EDID may still be readable but HDP is disconnected, and fixes this issue.
Quoted 8 lines
Quoted 4 lines
Signed-off-by Shixiong Ou <[email protected]>Signed-off-by Alex Deucher <[email protected]>Stable-dep-of:
979bfe291b5b("Revert "drm/radeon: Delay Connector detecting
when HPD singals is unstable"")Please drop both of these patches. There is no need to pull back a patch just so that you can apply the revert.
Quoted 8 lines
Since we've just been discussing stable backports at length, how did this one happen?
949658cb9b69ab9d22a42a662b2fdc7085689ed8is in v6.11 and979bfe291b5bin v6.13-rc1, so there's definitely a need to backport the latter to v6.11.y and v6.12.y. And maybe there was a cherry-pick of949658cb9b69ab9d22a42a66to older stable releases already, but that doesn't seem to be the case. So what happened here?
Some other examples people brought up:
https://lore.kernel.org/stable/[email protected]/
https://lore.kernel.org/stable/[email protected]/
-Sima
Signature · 3 lines
Simona Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch