[PATCH] drm/amd/pm: Fix indentation issue

Lazar, Lijo lijo.lazar at amd.com
Mon Mar 3 05:05:08 UTC 2025



On 2/27/2025 8:33 PM, Asad Kamal wrote:
> Fix indentation issue for smu_v_13_0_12 get_gpu_metrics
> 
> Reported-by: kernel test robot <lkp at intel.com>
> Closes: https://lore.kernel.org/oe-kbuild-all/202502272246.OISqUnC1-lkp@intel.com
> 
> Signed-off-by: Asad Kamal <asad.kamal at amd.com>

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 5e80b9aabfc9..285dbfe10303 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
> @@ -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++;
>  		}
>  	}
>  



More information about the amd-gfx mailing list