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)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 7 Jan 2022 22:20:38 +0000 (17:20 -0500)
commite53d9665ab003df0ece8f869fcd3c2bbbecf7190
tree70352aff276724632a98945f3c0bfc0e7f17617d
parentf38b0d48cae88395a05e49cb885fa6ce657e1cc9
drm/amdgpu: explicitly check for s0ix when evicting resources

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>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c