Skip to content

Commit 3042f80

Browse files
Kenneth Fengalexdeucher
authored andcommitted
drm/amd/pm: bug fix for the runtime pm BACO
In some systems only MACO is supported. This is to fix the problem that runtime pm is enabled but BACO is not supported. MACO will be handled seperately. Signed-off-by: Kenneth Feng <kenneth.feng@amd.com> Reviewed-by: Jack Gui <Jack.Gui@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Cc: stable@vger.kernel.org
1 parent 7cbe08a commit 3042f80

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

drivers/gpu/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -353,8 +353,7 @@ static void sienna_cichlid_check_bxco_support(struct smu_context *smu)
353353
struct amdgpu_device *adev = smu->adev;
354354
uint32_t val;
355355

356-
if (powerplay_table->platform_caps & SMU_11_0_7_PP_PLATFORM_CAP_BACO ||
357-
powerplay_table->platform_caps & SMU_11_0_7_PP_PLATFORM_CAP_MACO) {
356+
if (powerplay_table->platform_caps & SMU_11_0_7_PP_PLATFORM_CAP_BACO) {
358357
val = RREG32_SOC15(NBIO, 0, mmRCC_BIF_STRAP0);
359358
smu_baco->platform_support =
360359
(val & RCC_BIF_STRAP0__STRAP_PX_CAPABLE_MASK) ? true :

0 commit comments

Comments
 (0)