diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2014-09-30 18:50:07 +0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2015-03-19 19:26:33 +0300 |
commit | ca1110bc5b8d796a7266c0b6de6131e1cea0409a (patch) | |
tree | 2dd7a2c840bfa5916af6ef3db8eea420a9e13ef3 /drivers/gpu/drm/radeon/radeon_asic.c | |
parent | 1d633e3a217986c8daedf82e5810e6c149d5e415 (diff) | |
download | linux-ca1110bc5b8d796a7266c0b6de6131e1cea0409a.tar.xz |
drm/radeon/si: 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 8186f4325142..7826493eb587 100644 --- a/drivers/gpu/drm/radeon/radeon_asic.c +++ b/drivers/gpu/drm/radeon/radeon_asic.c @@ -1967,6 +1967,8 @@ static struct radeon_asic si_asic = { .fan_ctrl_get_mode = &si_fan_ctrl_get_mode, .get_fan_speed_percent = &si_fan_ctrl_get_fan_speed_percent, .set_fan_speed_percent = &si_fan_ctrl_set_fan_speed_percent, + .get_current_sclk = &si_dpm_get_current_sclk, + .get_current_mclk = &si_dpm_get_current_mclk, }, .pflip = { .page_flip = &evergreen_page_flip, |