aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/powerplay/inc/smu11_driver_if.h
diff options
context:
space:
mode:
authorEvan Quan <evan.quan@amd.com>2018-09-13 16:14:33 +0800
committerAlex Deucher <alexander.deucher@amd.com>2018-09-19 12:37:55 -0500
commitb1f82cb21231ccfec3c15b628f8deed778cce22b (patch)
tree35186e49e0ef6f21a65895b196d9ca370716c083 /drivers/gpu/drm/amd/powerplay/inc/smu11_driver_if.h
parentdrm/amd/powerplay: update OD feature judgement (diff)
downloadlinux-dev-b1f82cb21231ccfec3c15b628f8deed778cce22b.tar.xz
linux-dev-b1f82cb21231ccfec3c15b628f8deed778cce22b.zip
drm/amd/powerplay: update OD to take voltage value instead of offset
With the latest SMC fw, we are able to get the voltage value for specific frequency point. So, we update the OD relates to take absolute voltage instead of offset. Signed-off-by: Evan Quan <evan.quan@amd.com> Acked-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/powerplay/inc/smu11_driver_if.h')
-rw-r--r--drivers/gpu/drm/amd/powerplay/inc/smu11_driver_if.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/inc/smu11_driver_if.h b/drivers/gpu/drm/amd/powerplay/inc/smu11_driver_if.h
index 59e621ef33ac..71191deb4e76 100644
--- a/drivers/gpu/drm/amd/powerplay/inc/smu11_driver_if.h
+++ b/drivers/gpu/drm/amd/powerplay/inc/smu11_driver_if.h
@@ -569,11 +569,11 @@ typedef struct {
uint16_t GfxclkFmin;
uint16_t GfxclkFmax;
uint16_t GfxclkFreq1;
- int16_t GfxclkOffsetVolt1;
+ uint16_t GfxclkVolt1;
uint16_t GfxclkFreq2;
- int16_t GfxclkOffsetVolt2;
+ uint16_t GfxclkVolt2;
uint16_t GfxclkFreq3;
- int16_t GfxclkOffsetVolt3;
+ uint16_t GfxclkVolt3;
uint16_t UclkFmax;
int16_t OverDrivePct;
uint16_t FanMaximumRpm;