diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2014-09-30 10:39:30 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2015-03-19 12:26:31 -0400 |
commit | 99550ee9e803d9e2cd405bdcfb3d094ea227eb58 (patch) | |
tree | ed1b65b1562cdceb9148e36d08f8078ca12c01d7 /drivers/gpu/drm/radeon/radeon_asic.h | |
parent | 296deb7167b960d935025de770f3e3c6c2998fbd (diff) | |
download | lwn-99550ee9e803d9e2cd405bdcfb3d094ea227eb58.tar.gz lwn-99550ee9e803d9e2cd405bdcfb3d094ea227eb58.zip |
drm/radeon/btc: 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.h | 2 |
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 ceac66ac79fd..fc678257abc7 100644 --- a/drivers/gpu/drm/radeon/radeon_asic.h +++ b/drivers/gpu/drm/radeon/radeon_asic.h @@ -569,6 +569,8 @@ u32 btc_dpm_get_mclk(struct radeon_device *rdev, bool low); bool btc_dpm_vblank_too_short(struct radeon_device *rdev); void btc_dpm_debugfs_print_current_performance_level(struct radeon_device *rdev, struct seq_file *m); +u32 btc_dpm_get_current_sclk(struct radeon_device *rdev); +u32 btc_dpm_get_current_mclk(struct radeon_device *rdev); int sumo_dpm_init(struct radeon_device *rdev); int sumo_dpm_enable(struct radeon_device *rdev); int sumo_dpm_late_enable(struct radeon_device *rdev); |