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>
Thu, 15 Mar 2018 15:46:37 +0000 (10:46 -0500)
commitd1bb88e078c2aec6a8456d7eb28ca572c06e12f3
tree9c508936b3da76cd90141256d6d63bc5c38932b0
parent2681bc79eeb640562c932007bfebbbdc55bf6a7d
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