]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Use atomic function to disable crtcs with dc enabled
authorMikita Lipski <mikita.lipski@amd.com>
Wed, 14 Mar 2018 17:41:29 +0000 (13:41 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 21 Mar 2018 04:43:42 +0000 (23:43 -0500)
commit2d82b164874ae3eeead68cefb92363cd43c79cbb
tree247210b1c60fc8226618869a847f458a8c0617eb
parent6cce86a527b9b0989a83e48619bcff007e1173a9
drm/amdgpu: Use atomic function to disable crtcs with dc enabled

This change fixes the deadlock when unloading the driver with displays
connected.

Signed-off-by: Mikita Lipski <mikita.lipski@amd.com>
Reviewed-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c