OSDN Git Service

drm/amd/display: do not disable an invalid irq source in hdp finish
authorAlan Liu <HaoPing.Liu@amd.com>
Tue, 26 Apr 2022 11:50:00 +0000 (19:50 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 10 May 2022 21:53:12 +0000 (17:53 -0400)
commitd9db36d1cdbf2627b75e56f9915f8a2b01b7d2e0
tree4d42c8fe4c993fef3df5e152e6afa73b72247249
parent86edfc0db6438a4e1e8e51b3f67b4e2ddefbd735
drm/amd/display: do not disable an invalid irq source in hdp finish

[why]
Observing error log about trying to disable non-implemented irq source
when user unload the driver.

[how]
Check and filter the invalid irq source before disabling it.

Reviewed-by: Qingqing (Lillian) Zhuo <Qingqing.Zhuo@amd.com>
Acked-by: Stylon Wang <stylon.wang@amd.com>
Signed-off-by: Alan Liu <HaoPing.Liu@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c