drm/amd/display: Deallocate IRQ handlers on amdgpu_dm_irq_fini
authorVictor Lu <victorchengchi.lu@amd.com>
Fri, 5 Mar 2021 16:24:37 +0000 (11:24 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Apr 2021 20:41:12 +0000 (16:41 -0400)
commit4aa8607e25942077cfc6268b51d6190993c207ab
tree13da72dbc129f57a9d398d8a7bbc6095d42f9676
parentb4e031e40f49fdb3b36b24084a752b8c6c10fa3b
drm/amd/display: Deallocate IRQ handlers on amdgpu_dm_irq_fini

[why]
The amdgpu_dm IRQ handlers are not freed during the IRQ teardown.

[how]
Add function to deallocate IRQ handlers on amdgpu_dm_irq_fini step.

Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Victor Lu <victorchengchi.lu@amd.com>
Reviewed-by: Roman Li <Roman.Li@amd.com>
Acked-by: Solomon Chiu <solomon.chiu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c