[PATCH v3 6/6] drm/amd/pm: Enable temperature metrics caps
Lazar, Lijo
lijo.lazar at amd.com
Tue Aug 5 04:53:54 UTC 2025
On 8/4/2025 7:47 PM, Asad Kamal wrote:
> Enable temperature metrics caps for smu_v13_0_12
>
> Signed-off-by: Asad Kamal <asad.kamal at amd.com>
A few inits in a couple of patches. With those fixed, series is
Reviewed-by: Lijo Lazar <lijo.lazar at amd.com>
Thanks,
Lijo
> ---
> drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c b/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c
> index c777c0e4ea11..d6b49d958938 100644
> --- a/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c
> +++ b/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c
> @@ -350,6 +350,11 @@ static void smu_v13_0_12_init_caps(struct smu_context *smu)
> smu_v13_0_6_cap_set(smu, SMU_CAP(BOARD_VOLTAGE));
> smu_v13_0_6_cap_set(smu, SMU_CAP(PLDM_VERSION));
> }
> +
> + if (fw_ver >= 0x04560700) {
> + if (!amdgpu_sriov_vf(smu->adev))
> + smu_v13_0_6_cap_set(smu, SMU_CAP(TEMP_METRICS));
> + }
> }
>
> static void smu_v13_0_6_init_caps(struct smu_context *smu)
More information about the amd-gfx
mailing list