Commit 9fd2fbaa authored by Alex Deucher's avatar Alex Deucher
Browse files

drm/amdgpu: fix buffer funcs setting order on suspend harder



Part of commit dab96d8b ("drm/amdgpu: fix buffer funcs setting order on suspend")
got dropped accidently.  Add it back.

Fixes: dab96d8b ("drm/amdgpu: fix buffer funcs setting order on suspend")
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent b7b5a56a
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -4516,8 +4516,6 @@ int amdgpu_device_suspend(struct drm_device *dev, bool fbcon)

	amdgpu_ras_suspend(adev);

	amdgpu_ttm_set_buffer_funcs_status(adev, false);

	amdgpu_device_ip_suspend_phase1(adev);

	if (!adev->in_s0ix)