diff options
| author | Roman Li <Roman.Li@amd.com> | 2025-02-12 14:49:36 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-03-07 16:45:45 +0100 |
| commit | 739f35f027ae22bdd8164d124dbefebecfc7511d (patch) | |
| tree | 5d671be1620712b3afa2a9c80db6b126e696c426 /drivers/i2c | |
| parent | 574b3cf0412ebbdb5da803dc6f8dc094fd422295 (diff) | |
| download | linux-739f35f027ae22bdd8164d124dbefebecfc7511d.tar.gz linux-739f35f027ae22bdd8164d124dbefebecfc7511d.tar.bz2 linux-739f35f027ae22bdd8164d124dbefebecfc7511d.zip | |
drm/amd/display: Fix HPD after gpu reset
commit 4de141b8b1b7991b607f77e5f4580e1c67c24717 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 f3dde2ff7fcaacd77884502e8f572f2328e9c745)
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/i2c')
0 files changed, 0 insertions, 0 deletions
