diff options
author | Rex Zhu <Rex.Zhu@amd.com> | 2017-04-21 01:14:01 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-05-24 18:29:39 -0400 |
commit | 96cda84a6762a8caa9aee9381022e28adb3ea1ef (patch) | |
tree | db9fcc5cdb23ffe00e8cf257f2588af00d2d7b8a | |
parent | 746eb864a2bbce4b5265d6b3a6a4d18361b2ad6f (diff) |
drm/amd/powerplay: add new clock type in struct gfx_arbit.
Add the new clock type to the gfx arbitor so we can determine
the proper clock floors for it.
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r-- | drivers/gpu/drm/amd/powerplay/inc/hwmgr.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/inc/hwmgr.h b/drivers/gpu/drm/amd/powerplay/inc/hwmgr.h index 35cb26fbb27b..3ac74e29cadb 100644 --- a/drivers/gpu/drm/amd/powerplay/inc/hwmgr.h +++ b/drivers/gpu/drm/amd/powerplay/inc/hwmgr.h | |||
@@ -136,11 +136,14 @@ struct phm_vce_arbiter { | |||
136 | 136 | ||
137 | struct phm_gfx_arbiter { | 137 | struct phm_gfx_arbiter { |
138 | uint32_t sclk; | 138 | uint32_t sclk; |
139 | uint32_t sclk_hard_min; | ||
139 | uint32_t mclk; | 140 | uint32_t mclk; |
140 | uint32_t sclk_over_drive; | 141 | uint32_t sclk_over_drive; |
141 | uint32_t mclk_over_drive; | 142 | uint32_t mclk_over_drive; |
142 | uint32_t sclk_threshold; | 143 | uint32_t sclk_threshold; |
143 | uint32_t num_cus; | 144 | uint32_t num_cus; |
145 | uint32_t gfxclk; | ||
146 | uint32_t fclk; | ||
144 | }; | 147 | }; |
145 | 148 | ||
146 | /* Entries in the master tables */ | 149 | /* Entries in the master tables */ |