drm/amd/pm: Fix indentation issue
Subsystems (3)
PATCH 1/1 drm/amd/pm: Fix indentation issue
Fix indentation issue for smu_v_13_0_12 get_gpu_metrics
Reported-by kernel test robot <[email protected]>
Signed-off-by Asad Kamal <[email protected]>
--- drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_12_ppt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_12_ppt.c +1 -1
@@ -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++; } }
Signature · 1 line
2.46.0
[AMD Official Use Only - AMD Internal Distribution Only]
ping
-----Original Message-----
From: amd-gfx <[email protected]> On Behalf Of Asad Kamal
Sent: Thursday, February 27, 2025 8:33 PM
To: [email protected]; Lazar, Lijo <[email protected]>
Cc: Zhang, Hawking <[email protected]>; Ma, Le <[email protected]>; Zhang, Morris <[email protected]>; Kamal, Asad <[email protected]>; Deucher, Alexander <[email protected]>; kernel test robot <[email protected]>
Subject: [PATCH] drm/amd/pm: Fix indentation issue
Fix indentation issue for smu_v_13_0_12 get_gpu_metrics
Reported-by kernel test robot <[email protected]>
Signed-off-by Asad Kamal <[email protected]>
--- drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_12_ppt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_12_ppt.c +1 -1
@@ -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++; } }
--
2.46.0
Quoted 6 lines · Asad Kamal
Fix indentation issue for
smu_v_13_0_12get_gpu_metricsReported-by kernel test robot <[email protected]>Signed-off-by Asad Kamal <[email protected]>
Reviewed-by Lijo Lazar <[email protected]>
Thanks,
Lijo
Quoted 17 lines
--- drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_12_ppt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_12_ppt.c +1
-1@@ -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++; } }