aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/powerplay/inc/power_state.h
diff options
context:
space:
mode:
authorEvan Quan <evan.quan@amd.com>2017-12-28 14:07:49 +0800
committerAlex Deucher <alexander.deucher@amd.com>2018-02-19 14:17:05 -0500
commit4ad9d4dd6559e3b7a028cf87c52da4f42a3713f4 (patch)
treec0391ff729300f9aba6c7e24c64c7698fe2bd0fc /drivers/gpu/drm/amd/powerplay/inc/power_state.h
parentdrm/amd/powerplay: removed hwmgr_handle_task unused parameter and given a better name for (diff)
downloadlinux-dev-4ad9d4dd6559e3b7a028cf87c52da4f42a3713f4.tar.xz
linux-dev-4ad9d4dd6559e3b7a028cf87c52da4f42a3713f4.zip
drm/amd/powerplay: correct PP_TemperatureRange member type since negative values are part of the valid range
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/inc/power_state.h')
-rw-r--r--drivers/gpu/drm/amd/powerplay/inc/power_state.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/inc/power_state.h b/drivers/gpu/drm/amd/powerplay/inc/power_state.h
index 827860fffe78..a99b5cbb113e 100644
--- a/drivers/gpu/drm/amd/powerplay/inc/power_state.h
+++ b/drivers/gpu/drm/amd/powerplay/inc/power_state.h
@@ -122,8 +122,8 @@ struct PP_StateSoftwareAlgorithmBlock {
* Type to hold a temperature range.
*/
struct PP_TemperatureRange {
- uint32_t min;
- uint32_t max;
+ int min;
+ int max;
};
struct PP_StateValidationBlock {