]> git.ipfire.org Git - thirdparty/linux.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>
Tue, 8 Apr 2025 20:05:35 +0000 (16:05 -0400)
commit906ad451675155380c1dc1881a244ebde8e8df0a
treeb988bf77c0e13b8f1cb7ac812ee6057f7fca932e
parentb23f81c442ac33af0c808b4bb26333b881669bb7
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>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c