]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/amd/pm: Fix error of MACO flag setting code
authorMa Jun <Jun.Ma2@amd.com>
Tue, 31 Oct 2023 03:11:04 +0000 (11:11 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 31 Oct 2023 21:13:13 +0000 (17:13 -0400)
commit7f3e6b840fa8b0889d776639310a5dc672c1e9e1
tree9123f40b073e4eea1a56e64c031dbd99a7a28ace
parent9ae587f850a6702428273fcf4a2a9b392349b2a3
drm/amd/pm: Fix error of MACO flag setting code

MACO only works if BACO is supported

Signed-off-by: Ma Jun <Jun.Ma2@amd.com>
Reviewed-by: Kenneth Feng <kenneth.feng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org # 6.1.x
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c