OSDN Git Service

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)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 7 Jan 2022 22:20:55 +0000 (17:20 -0500)
commiteac4c54bf7f17fb4681b85e5fe383b74d6261a2b
treee0077f2501e4dfaf3cc638e57082c69726b64490
parente53d9665ab003df0ece8f869fcd3c2bbbecf7190
drm/amdgpu: don't set s3 and s0ix at the same time

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