AMD-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/amd/pm: Fix indentation issue
@ 2025-02-27 15:03 Asad Kamal
  2025-03-03  5:01 ` Kamal, Asad
  2025-03-03  5:05 ` Lazar, Lijo
  0 siblings, 2 replies; 3+ messages in thread
From: Asad Kamal @ 2025-02-27 15:03 UTC (permalink / raw)
  To: amd-gfx, lijo.lazar
  Cc: hawking.zhang, le.ma, shiwu.zhang, asad.kamal, alexander.deucher,
	kernel test robot

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>
---
 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++;
 		}
 	}
 
-- 
2.46.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* RE: [PATCH] drm/amd/pm: Fix indentation issue
  2025-02-27 15:03 [PATCH] drm/amd/pm: Fix indentation issue Asad Kamal
@ 2025-03-03  5:01 ` Kamal, Asad
  2025-03-03  5:05 ` Lazar, Lijo
  1 sibling, 0 replies; 3+ messages in thread
From: Kamal, Asad @ 2025-03-03  5:01 UTC (permalink / raw)
  To: Kamal, Asad, amd-gfx@lists.freedesktop.org, Lazar, Lijo
  Cc: Zhang, Hawking, Ma, Le, Zhang, Morris, Deucher, Alexander,
	kernel test robot

[AMD Official Use Only - AMD Internal Distribution Only]

ping

-----Original Message-----
From: amd-gfx <amd-gfx-bounces@lists.freedesktop.org> On Behalf Of Asad Kamal
Sent: Thursday, February 27, 2025 8:33 PM
To: amd-gfx@lists.freedesktop.org; Lazar, Lijo <Lijo.Lazar@amd.com>
Cc: Zhang, Hawking <Hawking.Zhang@amd.com>; Ma, Le <Le.Ma@amd.com>; Zhang, Morris <Shiwu.Zhang@amd.com>; Kamal, Asad <Asad.Kamal@amd.com>; Deucher, Alexander <Alexander.Deucher@amd.com>; kernel test robot <lkp@intel.com>
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 <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>
---
 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++;
                }
        }

--
2.46.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] drm/amd/pm: Fix indentation issue
  2025-02-27 15:03 [PATCH] drm/amd/pm: Fix indentation issue Asad Kamal
  2025-03-03  5:01 ` Kamal, Asad
@ 2025-03-03  5:05 ` Lazar, Lijo
  1 sibling, 0 replies; 3+ messages in thread
From: Lazar, Lijo @ 2025-03-03  5:05 UTC (permalink / raw)
  To: Asad Kamal, amd-gfx
  Cc: hawking.zhang, le.ma, shiwu.zhang, alexander.deucher,
	kernel test robot



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@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>

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++;
>  		}
>  	}
>  


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-03-03  5:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-27 15:03 [PATCH] drm/amd/pm: Fix indentation issue Asad Kamal
2025-03-03  5:01 ` Kamal, Asad
2025-03-03  5:05 ` Lazar, Lijo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox