]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
drm/amd/pm: Enable aid/xcd/hbm temperature reporting
authorAsad Kamal <asad.kamal@amd.com>
Tue, 3 Mar 2026 07:11:00 +0000 (15:11 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 6 Mar 2026 21:33:45 +0000 (16:33 -0500)
Enable aid/xcd/hbm temperature reporting for smu_v13_0_12 via gpu
metrics

Signed-off-by: Asad Kamal <asad.kamal@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c

index 2512a8ff6836eb621f4c5dae4ca9e2131e8128ea..8dc8674b7ce16e06421ad0dad7184675f1af9ad8 100644 (file)
@@ -373,6 +373,9 @@ static void smu_v13_0_12_init_caps(struct smu_context *smu)
        } else {
                smu_v13_0_12_tables_fini(smu);
        }
+
+       if (fw_ver >= 0x04561000)
+               smu_v13_0_6_cap_set(smu, SMU_CAP(TEMP_AID_XCD_HBM));
 }
 
 static void smu_v13_0_6_init_caps(struct smu_context *smu)