drm/amdgpu: explicitly check for s0ix when evicting resources
authorMario Limonciello <mario.limonciello@amd.com>
Wed, 29 Dec 2021 19:58:02 +0000 (13:58 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 12 May 2022 10:30:21 +0000 (12:30 +0200)
commit22b80bff17261427a5e152e537c3ec76fb356aec
tree1db331154cbbc3b4ba53a8e3847b4ebc81d628c6
parent90253ae21c6b55532abad261e3a7dfa809c3bae9
drm/amdgpu: explicitly check for s0ix when evicting resources

commit e53d9665ab003df0ece8f869fcd3c2bbbecf7190 upstream.

This codepath should be running in both s0ix and s3, but only does
currently because s3 and s0ix are both set in the s0ix case.

Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Acked-by: Evan Quan <evan.quan@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