drm/amdgpu: Add UNIQUE_ID to MetricsMember_t
authorKent Russell <kent.russell@amd.com>
Tue, 29 Mar 2022 13:42:58 +0000 (09:42 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 1 Apr 2022 03:05:54 +0000 (23:05 -0400)
This will allow us to use the generic *_get_metrics_data functions for
ASICs that support unique_id

Signed-off-by: Kent Russell <kent.russell@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/inc/amdgpu_smu.h

index ef57b60..46e34ed 100644 (file)
@@ -1333,6 +1333,8 @@ typedef enum {
        METRICS_VOLTAGE_VDDGFX,
        METRICS_SS_APU_SHARE,
        METRICS_SS_DGPU_SHARE,
+       METRICS_UNIQUE_ID_UPPER32,
+       METRICS_UNIQUE_ID_LOWER32,
 } MetricsMember_t;
 
 enum smu_cmn2asic_mapping_type {