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