drm/amdgpu: don't set s3 and s0ix at the same time
authorMario Limonciello <mario.limonciello@amd.com>
Wed, 29 Dec 2021 19:56:09 +0000 (13:56 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 12 May 2022 10:30:21 +0000 (12:30 +0200)
commit060102fbd92d2d514c4a4da71d555cf9b7d65faa
treeb28730cfffb8c9a77ea7353822d4bbb506fd02c3
parent22b80bff17261427a5e152e537c3ec76fb356aec
drm/amdgpu: don't set s3 and s0ix at the same time

commit eac4c54bf7f17fb4681b85e5fe383b74d6261a2b upstream.

This makes it clearer which codepaths are in use specifically in
one state or the other.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c