diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2013-07-19 18:42:08 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2013-08-30 22:30:27 +0200 |
commit | 6bb5c0d74c1962a8b1c722521c01e19d38c47370 (patch) | |
tree | 3983222ad86524346798a4dd37c30fabe0ecd471 /drivers/gpu/drm/radeon/r600_dpm.h | |
parent | drm/radeon/dpm: add a helper to encode pcie lane setting (diff) | |
download | linux-6bb5c0d74c1962a8b1c722521c01e19d38c47370.tar.xz linux-6bb5c0d74c1962a8b1c722521c01e19d38c47370.zip |
drm/radeon/dpm: add helper to fetch the vrefresh of the current mode
Needed for DPM on CI.
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/r600_dpm.h')
-rw-r--r-- | drivers/gpu/drm/radeon/r600_dpm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/r600_dpm.h b/drivers/gpu/drm/radeon/r600_dpm.h index 8dc1fbd9dbf1..1000bf9719f2 100644 --- a/drivers/gpu/drm/radeon/r600_dpm.h +++ b/drivers/gpu/drm/radeon/r600_dpm.h @@ -130,6 +130,7 @@ void r600_dpm_print_cap_info(u32 caps); void r600_dpm_print_ps_status(struct radeon_device *rdev, struct radeon_ps *rps); u32 r600_dpm_get_vblank_time(struct radeon_device *rdev); +u32 r600_dpm_get_vrefresh(struct radeon_device *rdev); bool r600_is_uvd_state(u32 class, u32 class2); void r600_calculate_u_and_p(u32 i, u32 r_c, u32 p_b, u32 *p, u32 *u); |