Skip to content

Commit bc3c0a3

Browse files
Shyam Sundar S Kij-intel
authored andcommitted
platform/x86/amd/pmf: Rename IPU metrics fields to NPU for consistency
Update smu_pmf_metrics_v2 to use NPU terminology instead of IPU. This aligns the driver with current firmware/hardware naming and fixes the mismatch. There is no functional change and no impact to the struct layout and only field names are updated. Reviewed-by: Mario Limonciello <mario.limonciello@amd.com> Signed-off-by: Shyam Sundar S K <Shyam-sundar.S-k@amd.com> Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Reviewed-by: Link: https://patch.msgid.link/20251120105210.3945710-2-Shyam-sundar.S-k@amd.com Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
1 parent e2c1b56 commit bc3c0a3

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

  • drivers/platform/x86/amd/pmf

drivers/platform/x86/amd/pmf/pmf.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -243,12 +243,12 @@ struct smu_pmf_metrics_v2 {
243243
u16 vclk_freq; /* MHz */
244244
u16 vcn_activity; /* VCN busy % [0-100] */
245245
u16 vpeclk_freq; /* MHz */
246-
u16 ipuclk_freq; /* MHz */
247-
u16 ipu_busy[8]; /* NPU busy % [0-100] */
246+
u16 npuclk_freq; /* MHz */
247+
u16 npu_busy[8]; /* NPU busy % [0-100] */
248248
u16 dram_reads; /* MB/sec */
249249
u16 dram_writes; /* MB/sec */
250250
u16 core_c0residency[16]; /* C0 residency % [0-100] */
251-
u16 ipu_power; /* mW */
251+
u16 npu_power; /* mW */
252252
u32 apu_power; /* mW */
253253
u32 gfx_power; /* mW */
254254
u32 dgpu_power; /* mW */
@@ -257,9 +257,9 @@ struct smu_pmf_metrics_v2 {
257257
u32 filter_alpha_value; /* time constant [us] */
258258
u32 metrics_counter;
259259
u16 memclk_freq; /* MHz */
260-
u16 mpipuclk_freq; /* MHz */
261-
u16 ipu_reads; /* MB/sec */
262-
u16 ipu_writes; /* MB/sec */
260+
u16 mpnpuclk_freq; /* MHz */
261+
u16 npu_reads; /* MB/sec */
262+
u16 npu_writes; /* MB/sec */
263263
u32 throttle_residency_prochot;
264264
u32 throttle_residency_spl;
265265
u32 throttle_residency_fppt;

0 commit comments

Comments
 (0)