[PATCH] drm/amdgpu: disable CRTCs before teardown

2016-09-27 Thread Grazvydas Ignotas
On Mon, Sep 26, 2016 at 8:29 PM, Lukas Wunner wrote: > On Sun, Sep 25, 2016 at 11:34:48PM +0300, Grazvydas Ignotas wrote: >> Some code called by drm_crtc_force_disable_all() wants to wait for all >> fences, so only do fence teardown after CRTCs are disabled. > > Ugh, how embarrassing, that was add

[PATCH] drm/amdgpu: disable CRTCs before teardown

2016-09-26 Thread Lukas Wunner
On Sun, Sep 25, 2016 at 11:34:48PM +0300, Grazvydas Ignotas wrote: > Some code called by drm_crtc_force_disable_all() wants to wait for all > fences, so only do fence teardown after CRTCs are disabled. > > Signed-off-by: Grazvydas Ignotas Fixes: 84b89bdcedf8 ("drm/amdgpu: Turn off CRTCs on drive

[PATCH] drm/amdgpu: disable CRTCs before teardown

2016-09-26 Thread Lukas Wunner
On Sun, Sep 25, 2016 at 11:34:48PM +0300, Grazvydas Ignotas wrote: > Some code called by drm_crtc_force_disable_all() wants to wait for all > fences, so only do fence teardown after CRTCs are disabled. Ugh, how embarrassing, that was added by me. Do you have a BUG splat (e.g. soft lockup) for thi

[PATCH] drm/amdgpu: disable CRTCs before teardown

2016-09-25 Thread Grazvydas Ignotas
Some code called by drm_crtc_force_disable_all() wants to wait for all fences, so only do fence teardown after CRTCs are disabled. Signed-off-by: Grazvydas Ignotas --- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/a