]> www.infradead.org Git - users/hch/misc.git/commit
drm/amdgpu: cancel gfx idle work in device suspend for s0ix
authorAlex Deucher <alexander.deucher@amd.com>
Sun, 6 Apr 2025 21:27:24 +0000 (17:27 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 9 Apr 2025 14:53:11 +0000 (10:53 -0400)
commit35a5440832b2d6a46841b6bb68855e2622833401
tree868cab76c2aeebb99bba2fae603ee2f21e1181a6
parent50f29ead1f1ba48983b6c5e3813b15e497714f55
drm/amdgpu: cancel gfx idle work in device suspend for s0ix

This is normally handled in the gfx IP suspend callbacks, but
for S0ix, those are skipped because we don't want to touch
gfx.  So handle it in device suspend.

Fixes: b9467983b774 ("drm/amdgpu: add dynamic workload profile switching for gfx10")
Fixes: 963537ca2325 ("drm/amdgpu: add dynamic workload profile switching for gfx11")
Fixes: 5f95a1549555 ("drm/amdgpu: add dynamic workload profile switching for gfx12")
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 906ad451675155380c1dc1881a244ebde8e8df0a)
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c