]> Gentwo Git Trees - linux/.git/commit
drm/amdgpu: Check swus/ds for switch state save
authorLijo Lazar <lijo.lazar@amd.com>
Mon, 29 Sep 2025 12:29:26 +0000 (17:59 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 7 Oct 2025 18:09:19 +0000 (14:09 -0400)
commit9b608fe94870fe46bd2c41fcda99e74dabd6bbc6
tree6bf610607c0933990f8e649a1a95871f30709a44
parent1f086d2508ebe494d13fd587d1f5e2b908379efc
drm/amdgpu: Check swus/ds for switch state save

For saving switch state, check if the GPU is having SWUS/DS
architecture. Otherwise, skip saving.

Reported-by: Roman Elshin <roman.elshin@gmail.com>
Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/4602
Fixes: 1dd2fa0e00f1 ("drm/amdgpu: Save and restore switch state")
Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c