Skip to content

Commit 02fc2f3

Browse files
Asad Kamalalexdeucher
authored andcommitted
drm/amd/pm: Update feature list for smu_v13_0_12
Update feature list for smu_v13_0_12 to show vcn & smu deep sleep feature enable status. Signed-off-by: Asad Kamal <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Reviewed-by: Lijo Lazar <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent fc3c139 commit 02fc2f3

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

drivers/gpu/drm/amd/pm/swsmu/inc/smu_types.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,7 @@ enum smu_clk_type {
356356
__SMU_DUMMY_MAP(DS_FCLK), \
357357
__SMU_DUMMY_MAP(DS_MP1CLK), \
358358
__SMU_DUMMY_MAP(DS_MP0CLK), \
359+
__SMU_DUMMY_MAP(DS_MPIOCLK), \
359360
__SMU_DUMMY_MAP(XGMI_PER_LINK_PWR_DWN), \
360361
__SMU_DUMMY_MAP(DPM_GFX_PACE), \
361362
__SMU_DUMMY_MAP(MEM_VDDCI_SCALING), \
@@ -452,7 +453,8 @@ enum smu_clk_type {
452453
__SMU_DUMMY_MAP(APT_PF_DCS), \
453454
__SMU_DUMMY_MAP(GFX_EDC_XVMIN), \
454455
__SMU_DUMMY_MAP(GFX_DIDT_XVMIN), \
455-
__SMU_DUMMY_MAP(FAN_ABNORMAL),
456+
__SMU_DUMMY_MAP(FAN_ABNORMAL), \
457+
__SMU_DUMMY_MAP(PIT),
456458

457459
#undef __SMU_DUMMY_MAP
458460
#define __SMU_DUMMY_MAP(feature) SMU_FEATURE_##feature##_BIT

drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_12_ppt.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,11 @@ const struct cmn2asic_mapping smu_v13_0_12_feature_mask_map[SMU_FEATURE_COUNT] =
7676
SMU_13_0_12_FEA_MAP(SMU_FEATURE_THERMAL_BIT, FEATURE_THERMAL),
7777
SMU_13_0_12_FEA_MAP(SMU_FEATURE_SOC_PCC_BIT, FEATURE_SOC_PCC),
7878
SMU_13_0_12_FEA_MAP(SMU_FEATURE_XGMI_PER_LINK_PWR_DWN_BIT, FEATURE_XGMI_PER_LINK_PWR_DOWN),
79+
SMU_13_0_12_FEA_MAP(SMU_FEATURE_DS_VCN_BIT, FEATURE_DS_VCN),
80+
SMU_13_0_12_FEA_MAP(SMU_FEATURE_DS_MP1CLK_BIT, FEATURE_DS_MP1CLK),
81+
SMU_13_0_12_FEA_MAP(SMU_FEATURE_DS_MPIOCLK_BIT, FEATURE_DS_MPIOCLK),
82+
SMU_13_0_12_FEA_MAP(SMU_FEATURE_DS_MP0CLK_BIT, FEATURE_DS_MP0CLK),
83+
SMU_13_0_12_FEA_MAP(SMU_FEATURE_PIT_BIT, FEATURE_PIT),
7984
};
8085

8186
// clang-format off

0 commit comments

Comments
 (0)