]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
drm/amdgpu/powerplay: add new mapping for APCC_DFLL feature
authorXiaojie Yuan <xiaojie.yuan@amd.com>
Wed, 11 Sep 2019 11:09:27 +0000 (19:09 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 3 Oct 2019 14:10:59 +0000 (09:10 -0500)
Signed-off-by: Xiaojie Yuan <xiaojie.yuan@amd.com>
Reviewed-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Kevin Wang <kevin1.wang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/inc/smu_types.h
drivers/gpu/drm/amd/powerplay/navi10_ppt.c

index ab8c92a60fc4ca4c1208e3730d8d08cade77c118..12a1de55ce3c47543ede99fbaada00680c314166 100644 (file)
@@ -252,6 +252,7 @@ enum smu_clk_type {
        __SMU_DUMMY_MAP(TEMP_DEPENDENT_VMIN),                   \
        __SMU_DUMMY_MAP(MMHUB_PG),                              \
        __SMU_DUMMY_MAP(ATHUB_PG),                              \
+       __SMU_DUMMY_MAP(APCC_DFLL),                             \
        __SMU_DUMMY_MAP(WAFL_CG),
 
 #undef __SMU_DUMMY_MAP
index 728e282a10c2d210e64c6c6eb62e15e04a2be375..4c28aadef504cb4ac31764d8ff00ece325d9f16b 100644 (file)
@@ -177,6 +177,7 @@ static struct smu_11_0_cmn2aisc_mapping navi10_feature_mask_map[SMU_FEATURE_COUN
        FEA_MAP(TEMP_DEPENDENT_VMIN),
        FEA_MAP(MMHUB_PG),
        FEA_MAP(ATHUB_PG),
+       FEA_MAP(APCC_DFLL),
 };
 
 static struct smu_11_0_cmn2aisc_mapping navi10_table_map[SMU_TABLE_COUNT] = {