]> git.itanic.dy.fi Git - linux-stable/commit
drm/amdgpu: fix buffer funcs setting order on suspend
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 29 Nov 2023 20:44:25 +0000 (15:44 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 6 Dec 2023 21:05:32 +0000 (16:05 -0500)
commitdab96d8b61aab1a4f99d0b86964a6c40e7bb1756
treef1065afde03b445a215751ccd49c282c4b97dd1d
parent27b024a88acba17c8e3a71ff4fd425064851e3b7
drm/amdgpu: fix buffer funcs setting order on suspend

We need to disable this after the last eviction
call, but before we disable the SDMA IP.

Fixes: b70438004a14 ("drm/amdgpu: move buffer funcs setting up a level")
Link: https://lore.kernel.org/r/87edgv4x3i.fsf@vps.thesusis.net
Reviewed-by: Luben Tuikov <ltuikov89@gmail.com>
Tested-by: Phillip Susi <phill@thesusis.net>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: Phillip Susi <phill@thesusis.net>
Cc: Luben Tuikov <ltuikov89@gmail.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c