drm/amd/powerplay: update the metrics table cache interval as 1ms
[linux-2.6-microblaze.git] / drivers / gpu / drm / amd / powerplay / renoir_ppt.c
index 8a8e603..c50c454 100644 (file)
@@ -139,7 +139,7 @@ static int renoir_get_metrics_table(struct smu_context *smu,
 
        if (bypass_cache ||
            !smu_table->metrics_time ||
-           time_after(jiffies, smu_table->metrics_time + msecs_to_jiffies(100))) {
+           time_after(jiffies, smu_table->metrics_time + msecs_to_jiffies(1))) {
                ret = smu_cmn_update_table(smu, SMU_TABLE_SMU_METRICS, 0,
                                (void *)smu_table->metrics_table, false);
                if (ret) {