summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/radeon/sumo_dpm.h
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2013-04-19 21:29:43 +0400
committerAlex Deucher <alexander.deucher@amd.com>2013-08-31 00:30:10 +0400
commit03243fc6568b3fa02de8de05daa02f021f16c3e4 (patch)
tree98bb8381a9d8b6975f090d95c2d0a9bc70c30a70 /drivers/gpu/drm/radeon/sumo_dpm.h
parent1d58234d5e0a2475f1be78d1c05146a3af4f875d (diff)
downloadlinux-03243fc6568b3fa02de8de05daa02f021f16c3e4.tar.xz
drm/radeon/sumo add helper to go from vid7 to vid2
Needed for DPM on KB/KV. Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/sumo_dpm.h')
-rw-r--r--drivers/gpu/drm/radeon/sumo_dpm.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/sumo_dpm.h b/drivers/gpu/drm/radeon/sumo_dpm.h
index 07dda299c784..db1ea32a907b 100644
--- a/drivers/gpu/drm/radeon/sumo_dpm.h
+++ b/drivers/gpu/drm/radeon/sumo_dpm.h
@@ -202,6 +202,9 @@ void sumo_construct_vid_mapping_table(struct radeon_device *rdev,
u32 sumo_convert_vid2_to_vid7(struct radeon_device *rdev,
struct sumo_vid_mapping_table *vid_mapping_table,
u32 vid_2bit);
+u32 sumo_convert_vid7_to_vid2(struct radeon_device *rdev,
+ struct sumo_vid_mapping_table *vid_mapping_table,
+ u32 vid_7bit);
u32 sumo_get_sleep_divider_from_id(u32 id);
u32 sumo_get_sleep_divider_id_from_clock(struct radeon_device *rdev,
u32 sclk,