summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/powerplay/inc/hardwaremanager.h
diff options
context:
space:
mode:
authorRex Zhu <Rex.Zhu@amd.com>2018-01-12 17:05:37 +0800
committerAlex Deucher <alexander.deucher@amd.com>2018-02-19 14:17:54 -0500
commitee85c07abe0f9899c4d18796bc2d6b90aa7ad4af (patch)
tree37357ce5219cb857be12e69054983d30f19b24b6 /drivers/gpu/drm/amd/powerplay/inc/hardwaremanager.h
parent5ed8d656d60fd19d14bed647793eff0913627fd7 (diff)
drm/amd/pp: Refine code abbreviate variable name
abbreviate variable name number_of_performance_levels to num_of_pl in struct phm_odn_clock_levels 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/inc/hardwaremanager.h')
-rw-r--r--drivers/gpu/drm/amd/powerplay/inc/hardwaremanager.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/inc/hardwaremanager.h b/drivers/gpu/drm/amd/powerplay/inc/hardwaremanager.h
index 933aa44be6c5..d6772a8f242d 100644
--- a/drivers/gpu/drm/amd/powerplay/inc/hardwaremanager.h
+++ b/drivers/gpu/drm/amd/powerplay/inc/hardwaremanager.h
@@ -368,8 +368,8 @@ struct phm_odn_clock_levels {
uint32_t size;
uint32_t options;
uint32_t flags;
- uint32_t number_of_performance_levels;
- /* variable-sized array, specify by ulNumberOfPerformanceLevels. */
+ uint32_t num_of_pl;
+ /* variable-sized array, specify by num_of_pl. */
struct phm_odn_performance_level entries[8];
};