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:21:23 -0400
committerAlex Deucher <alexander.deucher@amd.com>2015-03-19 12:26:36 -0400
commit9b23bad03263c5496bac2cbb2c2630cb3b8b38be (patch)
tree72fb80e60891350eba25817a06c3c9bd66d067c7 /drivers/gpu/drm/radeon/radeon_asic.h
parent7ce9cdaec35db4c13f2f34dcb63d8bf6f290ffd0 (diff)
downloadtalos-op-linux-9b23bad03263c5496bac2cbb2c2630cb3b8b38be.tar.gz
talos-op-linux-9b23bad03263c5496bac2cbb2c2630cb3b8b38be.zip
drm/radeon/kv: 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 bab229377264..4259daf94d91 100644
--- a/drivers/gpu/drm/radeon/radeon_asic.h
+++ b/drivers/gpu/drm/radeon/radeon_asic.h
@@ -908,6 +908,8 @@ int kv_dpm_force_performance_level(struct radeon_device *rdev,
enum radeon_dpm_forced_level level);
void kv_dpm_powergate_uvd(struct radeon_device *rdev, bool gate);
void kv_dpm_enable_bapm(struct radeon_device *rdev, bool enable);
+u32 kv_dpm_get_current_sclk(struct radeon_device *rdev);
+u32 kv_dpm_get_current_mclk(struct radeon_device *rdev);
/* uvd v1.0 */
uint32_t uvd_v1_0_get_rptr(struct radeon_device *rdev,
OpenPOWER on IntegriCloud