drm/amdgpu: for S0ix, skip SDMA 5.x+ suspend/resume
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 2 Dec 2022 15:13:40 +0000 (10:13 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 Apr 2023 14:55:37 +0000 (16:55 +0200)
commit73ca74fc7ab6c1679c3b2720579c0c20b73a9764
treebf70a26b569bd7b568e85e2cd63f6bb630770460
parent245525543f48cd9eabd2964d8931043e9e3c31cf
drm/amdgpu: for S0ix, skip SDMA 5.x+ suspend/resume

commit 2a7798ea7390fd78f191c9e9bf68f5581d3b4a02 upstream.

SDMA 5.x is part of the GFX block so it's controlled via
GFXOFF.  Skip suspend as it should be handled the same
as GFX.

v2: drop SDMA 4.x.  That requires special handling.

Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Acked-by: Rajneesh Bhardwaj <rajneesh.bhardwaj@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: "Limonciello, Mario" <Mario.Limonciello@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c