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.h | |
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.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 df70a72..23ba9d7 100644 --- a/drivers/gpu/drm/radeon/radeon_asic.h +++ b/drivers/gpu/drm/radeon/radeon_asic.h @@ -756,6 +756,8 @@ int si_fan_ctrl_set_fan_speed_percent(struct radeon_device *rdev, u32 speed); u32 si_fan_ctrl_get_mode(struct radeon_device *rdev); void si_fan_ctrl_set_mode(struct radeon_device *rdev, u32 mode); +u32 si_dpm_get_current_sclk(struct radeon_device *rdev); +u32 si_dpm_get_current_mclk(struct radeon_device *rdev); /* DCE8 - CIK */ void dce8_bandwidth_update(struct radeon_device *rdev); |