]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amd/display: Clear HDMI HPD pending work only if it is enabled
authorIvan Lipski <ivan.lipski@amd.com>
Fri, 16 Jan 2026 15:03:54 +0000 (10:03 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 20 Jan 2026 22:17:54 +0000 (17:17 -0500)
commit17b2c526fd8026d8e0f4c0e7f94fc517e3901589
tree34141fbe99fc17764639c6dcbba1a3f84978fdf6
parente6048510c3197f3aa7eb4a6993b1edb22ff7ffa3
drm/amd/display: Clear HDMI HPD pending work only if it is enabled

[Why&How]
On amdgpu_dm_connector_destroy(), the driver attempts to cancel pending
HDMI HPD work without checking if the HDMI HPD is enabled.

Added a check that it is enabled before clearing it.

Fixes: 6a681cd90345 ("drm/amd/display: Add an hdmi_hpd_debounce_delay_ms module")
Signed-off-by: Ivan Lipski <ivan.lipski@amd.com>
Reviewed-by: Mario Limonciello (AMD) <superm1@kernel.org>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c