summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2023-12-11 11:28:30 -0500
committerAlex Deucher <alexander.deucher@amd.com>2023-12-11 12:37:56 -0500
commit9fd2fbaabdb9dba947d1c14e5f4f217bc21afc34 (patch)
tree9f41c3273073f21429da6e5d0e2fe0169dffd778 /drivers
parentb7b5a56acec819bb8dcd03c687e97a091b29d28f (diff)
downloadlinux-stable-9fd2fbaabdb9dba947d1c14e5f4f217bc21afc34.tar.gz
linux-stable-9fd2fbaabdb9dba947d1c14e5f4f217bc21afc34.tar.bz2
linux-stable-9fd2fbaabdb9dba947d1c14e5f4f217bc21afc34.zip
drm/amdgpu: fix buffer funcs setting order on suspend harder
Part of commit dab96d8b61aa ("drm/amdgpu: fix buffer funcs setting order on suspend") got dropped accidently. Add it back. Fixes: dab96d8b61aa ("drm/amdgpu: fix buffer funcs setting order on suspend") Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_device.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
index 1f64d8cbb14d..8dee52ce26d0 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
@@ -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)