summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/radeon/btc_dpm.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2014-10-20 11:57:21 +1000
committerDave Airlie <airlied@redhat.com>2014-10-20 11:57:21 +1000
commitda36bbd0bf36d415a8ad8e401d64b860f9befb44 (patch)
treeef032663f376a733f965c422834ead3c821a54c9 /drivers/gpu/drm/radeon/btc_dpm.h
parentf114040e3ea6e07372334ade75d1ee0775c355e1 (diff)
parent01467a9b5e7ec7b9e30768bee16ea5861665015b (diff)
Merge branch 'drm-fixes-3.18' of git://people.freedesktop.org/~agd5f/linux into drm-fixes
First round of fixes for 3.18. - Use gart for DMA ring tests to avoid caching issues with HDP - SI dpm stability fixes - Performance stabilization fixes - misc other things * 'drm-fixes-3.18' of git://people.freedesktop.org/~agd5f/linux: drm/radeon: reduce sparse false positive warnings drm/radeon: fix vm page table block size calculation drm/ttm: Don't evict BOs outside of the requested placement range drm/ttm: Don't skip fpfn check if lpfn is 0 in ttm_bo_mem_compat drm/radeon: use gart memory for DMA ring tests drm/radeon: fix speaker allocation setup drm/radeon: initialize sadb to NULL in the audio code Revert "drm/radeon/dpm: drop clk/voltage dependency filters for SI" Revert "drm/radeon: drop btc_get_max_clock_from_voltage_dependency_table"
Diffstat (limited to 'drivers/gpu/drm/radeon/btc_dpm.h')
-rw-r--r--drivers/gpu/drm/radeon/btc_dpm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/btc_dpm.h b/drivers/gpu/drm/radeon/btc_dpm.h
index 1a15e0e41950..3b6f12b7760b 100644
--- a/drivers/gpu/drm/radeon/btc_dpm.h
+++ b/drivers/gpu/drm/radeon/btc_dpm.h
@@ -46,6 +46,8 @@ void btc_adjust_clock_combinations(struct radeon_device *rdev,
struct rv7xx_pl *pl);
void btc_apply_voltage_dependency_rules(struct radeon_clock_voltage_dependency_table *table,
u32 clock, u16 max_voltage, u16 *voltage);
+void btc_get_max_clock_from_voltage_dependency_table(struct radeon_clock_voltage_dependency_table *table,
+ u32 *max_clock);
void btc_apply_voltage_delta_rules(struct radeon_device *rdev,
u16 max_vddc, u16 max_vddci,
u16 *vddc, u16 *vddci);