summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/radeon_asic.h
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2014-09-30 11:01:59 -0400
committerAlex Deucher <alexander.deucher@amd.com>2015-03-19 12:26:35 -0400
commit7ce9cdaec35db4c13f2f34dcb63d8bf6f290ffd0 (patch)
tree74bcb2666075924a1a9d4168d0697685590cde9a /drivers/gpu/drm/radeon/radeon_asic.h
parent2f8e1eb7d665ca060fc93e9dfd268dee59bd8697 (diff)
downloadop-kernel-dev-7ce9cdaec35db4c13f2f34dcb63d8bf6f290ffd0.zip
op-kernel-dev-7ce9cdaec35db4c13f2f34dcb63d8bf6f290ffd0.tar.gz
drm/radeon/tn: implement get_current_sclk/mclk
Will be used for exposing current clocks via INFO ioctl. Tested-by: Marek Olšák <marek.olsak@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_asic.h')
-rw-r--r--drivers/gpu/drm/radeon/radeon_asic.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_asic.h b/drivers/gpu/drm/radeon/radeon_asic.h
index e2887eb..bab2293 100644
--- a/drivers/gpu/drm/radeon/radeon_asic.h
+++ b/drivers/gpu/drm/radeon/radeon_asic.h
@@ -686,6 +686,8 @@ void trinity_dpm_debugfs_print_current_performance_level(struct radeon_device *r
int trinity_dpm_force_performance_level(struct radeon_device *rdev,
enum radeon_dpm_forced_level level);
void trinity_dpm_enable_bapm(struct radeon_device *rdev, bool enable);
+u32 trinity_dpm_get_current_sclk(struct radeon_device *rdev);
+u32 trinity_dpm_get_current_mclk(struct radeon_device *rdev);
/* DCE6 - SI */
void dce6_bandwidth_update(struct radeon_device *rdev);
OpenPOWER on IntegriCloud