FAILED: patch "[PATCH] drm/amd/pm: bug fix for the runtime pm BACO" failed to apply to 5.10-stable tree
[email protected]
maintainerThe patch below does not apply to the 5.10-stable tree.
If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to <[email protected]>.
thanks,
greg k-h
------------------ original commit in Linus's tree ------------------
From 3042f80c6cb9340354dc56ecb06473be57adc432 Mon Sep 17 00:00:00 2001
From: Kenneth Feng <[email protected]>
Date: Fri, 6 Aug 2021 10:28:04 +0800
Subject: [PATCH] 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 <[email protected]>
Reviewed-by Jack Gui <[email protected]>
Signed-off-by Alex Deucher <[email protected]>
drivers/gpu/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c +1 -2
@@ -353,8 +353,7 @@ static void sienna_cichlid_check_bxco_support(struct smu_context *smu)struct amdgpu_device *adev = smu->adev;uint32_t val; -if (powerplay_table->platform_caps &SMU_11_0_7_PP_PLATFORM_CAP_BACO || - powerplay_table->platform_caps &SMU_11_0_7_PP_PLATFORM_CAP_MACO ) { +if (powerplay_table->platform_caps &SMU_11_0_7_PP_PLATFORM_CAP_BACO ) { val =RREG32_SOC15 (NBIO ,0 , mmRCC_BIF_STRAP0); smu_baco->platform_support = (val & RCC_BIF_STRAP0__STRAP_PX_CAPABLE_MASK) ? true :