[PATCH] drm/amd/pm: Increase cache interval time

Lazar, Lijo lijo.lazar at amd.com
Tue Aug 5 14:31:32 UTC 2025



On 8/5/2025 7:58 PM, Asad Kamal wrote:
> Increase cache interval time to 50 ms while fetching system
> metrics table for smu_v13_0_12
> 
> Signed-off-by: Asad Kamal <asad.kamal at amd.com>

You may add additional info in commit description like this data is
expected to be polled less frequently.

Reviewed-by: Lijo Lazar <lijo.lazar at amd.com>

Thanks,
Lijo

> ---
>  drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_12_ppt.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_12_ppt.c b/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_12_ppt.c
> index fca50f6a8ef6..2ee61c7e8bc8 100644
> --- a/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_12_ppt.c
> +++ b/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_12_ppt.c
> @@ -372,7 +372,7 @@ static int smu_v13_0_12_get_system_metrics_table(struct smu_context *smu, void *
>  	if (bypass_cache || !smu_table->tables[SMU_TABLE_TEMP_METRICS].metrics_time ||
>  	    time_after(jiffies,
>  		       smu_table->tables[SMU_TABLE_TEMP_METRICS].metrics_time +
> -		       msecs_to_jiffies(1))) {
> +		       msecs_to_jiffies(50))) {
>  		ret = smu_cmn_send_smc_msg(smu, SMU_MSG_GetSystemMetricsTable, NULL);
>  		if (ret) {
>  			dev_info(smu->adev->dev,



More information about the amd-gfx mailing list