]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: handler not correctly checked at remove_irq_handler
authorQingqing Zhuo <qingqing.zhuo@amd.com>
Fri, 4 Dec 2020 15:55:13 +0000 (10:55 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 23 Dec 2020 20:01:18 +0000 (15:01 -0500)
commit6d9ea395118498f0e913503c267058b57c4a25cb
tree4bbe0dfc5ae7392a0c672e29c1cb6aa9fa5f05ac
parent8ac9d88a23f86f8066ff6eb8e4ca83f0f2a036bc
drm/amd/display: handler not correctly checked at remove_irq_handler

[why]
handler is supposedly passed in as a function pointer;
however, the entire struct amdgpu_dm_irq_handler_data
gets from the list is used to check match.

[how]
use the interrupt_handler within amdgpu_dm_irq_handler_data
for checking match.

Signed-off-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Acked-by: Bindu Ramamurthy <bindu.r@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c