aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.h
diff options
context:
space:
mode:
authorRex Zhu <Rex.Zhu@amd.com>2018-01-03 17:21:28 +0800
committerAlex Deucher <alexander.deucher@amd.com>2018-02-19 14:17:49 -0500
commit84877256f65bc7daaf1b206ec1c5b933f89d761a (patch)
treebe74de66a0455910f23ca887fa0ec729d1b1f7cd /drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.h
parentdrm/amd/pp: Export registers for read vddc on VI/Vega10 (diff)
downloadlinux-dev-84877256f65bc7daaf1b206ec1c5b933f89d761a.tar.xz
linux-dev-84877256f65bc7daaf1b206ec1c5b933f89d761a.zip
drm/amd/pp: Add querying current gfx voltage for CI/VI
Store the voltage regulator configuration, so we can properly query the voltage. Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Rex Zhu <Rex.Zhu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.h')
-rw-r--r--drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.h b/drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.h
index e021154aedbd..beba25cb2b07 100644
--- a/drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.h
+++ b/drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.h
@@ -305,6 +305,7 @@ struct smu7_hwmgr {
uint32_t frame_time_x2;
uint16_t mem_latency_high;
uint16_t mem_latency_low;
+ uint32_t vr_config;
};
/* To convert to Q8.8 format for firmware */