Skip to content

Commit

Permalink
drm/amd/pm: Update smu metrics table for smu_v13_0_6
Browse files Browse the repository at this point in the history
Update smu metrics table to vesrion 0x10 for smu_v13_0_6

v2: Host metrics support removal moved to separate patch (Lijo)

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>
  • Loading branch information
Asad Kamal authored and Alex Deucher committed Mar 26, 2025
1 parent 1eef878 commit 942de4e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu_v13_0_6_pmfw.h
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ typedef enum {
VOLTAGE_GUARDBAND_COUNT
} GFX_GUARDBAND_e;

#define SMU_METRICS_TABLE_VERSION 0xF
#define SMU_METRICS_TABLE_VERSION 0x10

// Unified metrics table for smu_v13_0_6
typedef struct __attribute__((packed, aligned(4))) {
Expand Down Expand Up @@ -241,7 +241,10 @@ typedef struct __attribute__((packed, aligned(4))) {
uint32_t PCIeOtherEndRecoveryAcc; // The Pcie counter itself is accumulated

//Total App Clock Counter
uint64_t GfxclkBelowHostLimitAcc[8];
uint64_t GfxclkBelowHostLimitPptAcc[8];
uint64_t GfxclkBelowHostLimitThmAcc[8];
uint64_t GfxclkBelowHostLimitTotalAcc[8];
uint64_t GfxclkLowUtilizationAcc[8];
} MetricsTableV0_t;

// Metrics table for smu_v13_0_6 APUS
Expand Down

0 comments on commit 942de4e

Please sign in to comment.