diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2014-09-30 18:27:42 +0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2015-03-19 19:26:29 +0300 |
commit | d0a04d3b2ee87e9b74d0283f6af577e6d7763703 (patch) | |
tree | c26ebabd78a9e43bacb35a35089b9fb3da76a1ec /drivers/gpu/drm/radeon/radeon_asic.c | |
parent | 3c94566ce17d03c3601e78071f893ce028d5a696 (diff) | |
download | linux-d0a04d3b2ee87e9b74d0283f6af577e6d7763703.tar.xz |
drm/radeon/rv6xx: 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.c')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_asic.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_asic.c b/drivers/gpu/drm/radeon/radeon_asic.c index a73da113e0c1..0e3f7d493c13 100644 --- a/drivers/gpu/drm/radeon/radeon_asic.c +++ b/drivers/gpu/drm/radeon/radeon_asic.c @@ -1080,6 +1080,8 @@ static struct radeon_asic rv6xx_asic = { .print_power_state = &rv6xx_dpm_print_power_state, .debugfs_print_current_performance_level = &rv6xx_dpm_debugfs_print_current_performance_level, .force_performance_level = &rv6xx_dpm_force_performance_level, + .get_current_sclk = &rv6xx_dpm_get_current_sclk, + .get_current_mclk = &rv6xx_dpm_get_current_mclk, }, .pflip = { .page_flip = &rs600_page_flip, |