drm/amd/pm/smu13: BACO is supported when it's in BACO state
authorGuchun Chen <guchun.chen@amd.com>
Tue, 10 Jan 2023 03:33:44 +0000 (11:33 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 10 Jan 2023 23:10:34 +0000 (18:10 -0500)
commit972fb53d3605eb6cdf0d6ae9a52e910626a91ff7
treed9f74e2c00437f7216a1e86884fa60072d519bbd
parentba029e9991d9be90a28b6a0ceb25e9a6fb348829
drm/amd/pm/smu13: BACO is supported when it's in BACO state

This leverages the logic in smu11. No need to talk to SMU to
check BACO enablement as it's in BACO state already.

Signed-off-by: Guchun Chen <guchun.chen@amd.com>
Reviewed-by: Kenneth Feng <kenneth.feng@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org # 6.0, 6.1
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c