]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: disable CRTCs before teardown
authorGrazvydas Ignotas <notasas@gmail.com>
Sun, 25 Sep 2016 20:34:48 +0000 (23:34 +0300)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 27 Sep 2016 16:22:21 +0000 (12:22 -0400)
commit058cbe22dcb7e1ebb8924d288fb1fc5799366616
treebe39fc799fb6342242dbeebacd2d0688d2874979
parent5e05856fb7d55e083ec1645a917b7fcf6757467b
drm/amdgpu: disable CRTCs before teardown

Some code called by drm_crtc_force_disable_all() wants to wait for all
fences, so only do fence teardown after CRTCs are disabled.

Fixes: f9052524d794 ("drm/amdgpu: Turn off CRTCs on driver unload")
Cc: stable@vger.kernel.org # v4.8+
Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c