drm/amd/display: Avoid HPD IRQ in GPU reset state
authorZhan Liu <zhan.liu@amd.com>
Sun, 9 May 2021 23:30:36 +0000 (19:30 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 10 May 2021 22:09:25 +0000 (18:09 -0400)
commit509b9a5b4865dee723296f143695a7774fc96c4a
treeb496cf4b613b9377ecb24f1245c8daaa3a451664
parent7ddd9770857e26e6c284475260afce2fe71b4cb5
drm/amd/display: Avoid HPD IRQ in GPU reset state

[Why]
If GPU is in reset state, force enabling link will cause
unexpected behaviour.

[How]
Avoid handling HPD IRQ when GPU is in reset state.

Signed-off-by: Zhan Liu <zhan.liu@amd.com>
Reviewed-by: Nikola Cornij <nikola.cornij@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c