]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Fix crash on device remove/driver unload
authorAndrey Grodzovsky <andrey.grodzovsky@amd.com>
Wed, 15 Sep 2021 20:07:49 +0000 (16:07 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 23 Sep 2021 19:17:29 +0000 (15:17 -0400)
commit60cb9ec37ef4a6932020fabe3a7ea14618849085
tree40165d311079ba281d89f30f19b31b0b05603b4b
parent57d4e2a1ff77ffa94ce25901a50d529fd18c9d6b
drm/amd/display: Fix crash on device remove/driver unload

Why:
DC core is being released from DM before it's referenced
from hpd_rx wq destruction code.

How: Move hpd_rx destruction before DC core destruction.

Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c