]> 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)
commit90c5a172c5fddb07333a022267861919b86d8868
treebe39fc799fb6342242dbeebacd2d0688d2874979
parentdff0fa7c8e087ed6b58914f314ce19bfcf1edf79
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: 8e5d22d9fbfe ("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