From: jsg Date: Mon, 9 Jan 2023 04:26:30 +0000 (+0000) Subject: drm/amd/pm: add missing SMU13.0.0 mm_dpm feature mapping X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=5c6b3bbb844c3c7e02a6351a6792a10a249652ac;p=openbsd drm/amd/pm: add missing SMU13.0.0 mm_dpm feature mapping From Evan Quan 1cfd678e2f070fd2f005dc6e12c180ff1a1b5843 in linux-6.1.y/6.1.4 592cd24a08763975c75be850a7d4e461bfd353bf in mainline linux --- diff --git a/sys/dev/pci/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c b/sys/dev/pci/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c index 27386078f31..3d15cc7661b 100644 --- a/sys/dev/pci/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c +++ b/sys/dev/pci/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c @@ -187,6 +187,8 @@ static struct cmn2asic_mapping smu_v13_0_0_feature_mask_map[SMU_FEATURE_COUNT] = FEA_MAP(MEM_TEMP_READ), FEA_MAP(ATHUB_MMHUB_PG), FEA_MAP(SOC_PCC), + [SMU_FEATURE_DPM_VCLK_BIT] = {1, FEATURE_MM_DPM_BIT}, + [SMU_FEATURE_DPM_DCLK_BIT] = {1, FEATURE_MM_DPM_BIT}, }; static struct cmn2asic_mapping smu_v13_0_0_table_map[SMU_TABLE_COUNT] = {