diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2014-09-30 10:50:07 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2015-03-19 12:26:33 -0400 |
commit | ca1110bc5b8d796a7266c0b6de6131e1cea0409a (patch) | |
tree | 2dd7a2c840bfa5916af6ef3db8eea420a9e13ef3 /drivers/gpu/drm/radeon/radeon_asic.c | |
parent | 1d633e3a217986c8daedf82e5810e6c149d5e415 (diff) | |
download | op-kernel-dev-ca1110bc5b8d796a7266c0b6de6131e1cea0409a.zip op-kernel-dev-ca1110bc5b8d796a7266c0b6de6131e1cea0409a.tar.gz |
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 8186f43..7826493 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, |