FAILED: patch "[PATCH] drm/amd/swsmu: add missing feature map for sienna_cichlid" failed to apply to 5.9-stable tree
[email protected]
maintainerThe patch below does not apply to the 5.9-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 d48d7484d8dca1d4577fc53f1f826e68420d00eb Mon Sep 17 00:00:00 2001
From: Kevin Wang <[email protected]>
Date: Fri, 16 Oct 2020 11:07:47 +0800
Subject: [PATCH] drm/amd/swsmu: add missing feature map for sienna_cichlid
it will cause smu sysfs node of "pp_features" show error.
Signed-off-by Kevin Wang <[email protected]>
Reviewed-by Likun Gao <[email protected]>
Signed-off-by Alex Deucher <[email protected]>
Cc [email protected] # 5.9.x
drivers/gpu/drm/amd/pm/inc/smu_types.h +1 -0
@@ -220,6 +220,7 @@ enum smu_clk_type {__SMU_DUMMY_MAP (DPM_MP0CLK ), \__SMU_DUMMY_MAP (DPM_LINK ), \__SMU_DUMMY_MAP (DPM_DCEFCLK ), \ +__SMU_DUMMY_MAP (DPM_XGMI ), \__SMU_DUMMY_MAP (DS_GFXCLK ), \__SMU_DUMMY_MAP (DS_SOCCLK ), \ __SMU_DUMMY_MAP(DS_LCLK), \
drivers/gpu/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c +3 -0
@@ -151,14 +151,17 @@ static struct cmn2asic_mapping sienna_cichlid_feature_mask_map[SMU_FEATURE_COUNTFEA_MAP (DPM_GFXCLK ),FEA_MAP (DPM_GFX_GPO ),FEA_MAP (DPM_UCLK ), +FEA_MAP (DPM_FCLK ),FEA_MAP (DPM_SOCCLK ),FEA_MAP (DPM_MP0CLK ),FEA_MAP (DPM_LINK ),FEA_MAP (DPM_DCEFCLK ), +FEA_MAP (DPM_XGMI ),FEA_MAP (MEM_VDDCI_SCALING ),FEA_MAP (MEM_MVDD_SCALING ),FEA_MAP (DS_GFXCLK ),FEA_MAP (DS_SOCCLK ), +FEA_MAP (DS_FCLK ),FEA_MAP (DS_LCLK ),FEA_MAP (DS_DCEFCLK ), FEA_MAP(DS_UCLK),