diff options
author | Evan Quan <evan.quan@amd.com> | 2018-08-30 00:38:45 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-09-10 23:40:01 -0400 |
commit | 9a412063f0940d23a5ef393c2607ca9ae9f8f0b7 (patch) | |
tree | d7c4e5a28a7225105d451cacc540e032e23a0753 | |
parent | d5bf26539494d16dfabbbea0854a47d202ea15c0 (diff) |
drm/amd/powerplay: correct data type to support under voltage
For under voltage, negative value will be applied to voltage
offset. Update the data type to cover this case.
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>
-rw-r--r-- | drivers/gpu/drm/amd/powerplay/inc/smu11_driver_if.h | 6 |
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 0a39a4c564d2..59e621ef33ac 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 { | |||
569 | uint16_t GfxclkFmin; | 569 | uint16_t GfxclkFmin; |
570 | uint16_t GfxclkFmax; | 570 | uint16_t GfxclkFmax; |
571 | uint16_t GfxclkFreq1; | 571 | uint16_t GfxclkFreq1; |
572 | uint16_t GfxclkOffsetVolt1; | 572 | int16_t GfxclkOffsetVolt1; |
573 | uint16_t GfxclkFreq2; | 573 | uint16_t GfxclkFreq2; |
574 | uint16_t GfxclkOffsetVolt2; | 574 | int16_t GfxclkOffsetVolt2; |
575 | uint16_t GfxclkFreq3; | 575 | uint16_t GfxclkFreq3; |
576 | uint16_t GfxclkOffsetVolt3; | 576 | int16_t GfxclkOffsetVolt3; |
577 | uint16_t UclkFmax; | 577 | uint16_t UclkFmax; |
578 | int16_t OverDrivePct; | 578 | int16_t OverDrivePct; |
579 | uint16_t FanMaximumRpm; | 579 | uint16_t FanMaximumRpm; |