summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.h
diff options
context:
space:
mode:
authorEvan Quan <evan.quan@amd.com>2020-07-30 06:23:42 +0200
committerAlex Deucher <alexander.deucher@amd.com>2020-08-06 21:44:56 +0200
commite467c3a9f4ed143fd2ea3f9aef7672d3674de9f4 (patch)
tree4477cf76435b4de36d65ee6a32173c80887a1314 /drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.h
parentdrm/amd/powerplay: enable gpu_metrics export on legacy powerplay routines (diff)
downloadlinux-e467c3a9f4ed143fd2ea3f9aef7672d3674de9f4.tar.xz
linux-e467c3a9f4ed143fd2ea3f9aef7672d3674de9f4.zip
drm/amd/powerplay: add Vega20 support for gpu metrics export
Add Vega20 gpu metrics export interface. Signed-off-by: Evan Quan <evan.quan@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.h')
-rw-r--r--drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.h b/drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.h
index 2c3125f82b24..075c0094da9c 100644
--- a/drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.h
+++ b/drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.h
@@ -527,6 +527,7 @@ struct vega20_hwmgr {
unsigned long metrics_time;
SmuMetrics_t metrics_table;
+ struct gpu_metrics_v1_0 gpu_metrics_table;
bool pcie_parameters_override;
uint32_t pcie_gen_level1;