drm/amd/pm: Fix indentation issue
authorAsad Kamal <asad.kamal@amd.com>
Thu, 27 Feb 2025 14:58:33 +0000 (22:58 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 5 Mar 2025 15:45:04 +0000 (10:45 -0500)
Fix indentation issue for smu_v_13_0_12 get_gpu_metrics

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202502272246.OISqUnC1-lkp@intel.com
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_12_ppt.c

index 5e80b9aabfc9adcf5ec2db2f5fd8a6b67021290d..285dbfe1030379891d505245434398fb16196397 100644 (file)
@@ -469,7 +469,7 @@ ssize_t smu_v13_0_12_get_gpu_metrics(struct smu_context *smu, void **table)
                                SMUQ10_ROUND(metrics->GfxBusy[inst]);
                        gpu_metrics->xcp_stats[i].gfx_busy_acc[idx] =
                                SMUQ10_ROUND(metrics->GfxBusyAcc[inst]);
-                               idx++;
+                       idx++;
                }
        }