diff options
author | Rex Zhu <Rex.Zhu@amd.com> | 2017-04-21 13:14:01 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-05-24 18:29:39 -0400 |
commit | 96cda84a6762a8caa9aee9381022e28adb3ea1ef (patch) | |
tree | db9fcc5cdb23ffe00e8cf257f2588af00d2d7b8a /drivers/gpu | |
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>
Diffstat (limited to 'drivers/gpu')
-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 { struct phm_gfx_arbiter { uint32_t sclk; + uint32_t sclk_hard_min; uint32_t mclk; uint32_t sclk_over_drive; uint32_t mclk_over_drive; uint32_t sclk_threshold; uint32_t num_cus; + uint32_t gfxclk; + uint32_t fclk; }; /* Entries in the master tables */ |