linux/drivers/gpu/drm/amd/display
Roman Li 739f35f027 drm/amd/display: Fix HPD after gpu reset
commit 4de141b8b1 upstream.

[Why]
DC is not using amdgpu_irq_get/put to manage the HPD interrupt refcounts.
So when amdgpu_irq_gpu_reset_resume_helper() reprograms all of the IRQs,
HPD gets disabled.

[How]
Use amdgpu_irq_get/put() for HPD init/fini in DM in order to sync refcounts

Cc: Mario Limonciello <mario.limonciello@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Reviewed-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Roman Li <Roman.Li@amd.com>
Signed-off-by: Zaeem Mohamed <zaeem.mohamed@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit f3dde2ff7f)
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2025-03-07 16:45:45 +01:00
..
amdgpu_dm drm/amd/display: Fix HPD after gpu reset 2025-03-07 16:45:45 +01:00
dc drm/amd/display: Pass non-null to dcn20_validate_apply_pipe_split_flags 2025-02-21 13:57:25 +01:00
dmub drm/amd/display: Pass pwrseq inst for backlight and ABM 2024-01-20 11:51:48 +01:00
include drm/amd/display: Revert Avoid overflow assignment 2024-10-10 11:58:09 +02:00
modules drm/amd/display: Disable PSR-SU on Parade 08-01 TCON too 2024-11-01 01:58:33 +01:00
Kconfig drm/amd/display: Allow building DC with clang on RISC-V 2023-07-21 16:52:25 -04:00
Makefile drm/amd/display: Drop CONFIG_DRM_AMD_DC_HDCP 2023-03-07 14:22:39 -05:00
TODO drm/amd/display: Convert remaining loggers off dc_logger 2018-07-13 14:48:42 -05:00