summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/btc_dpm.h
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2014-10-13 17:34:13 +0200
committerAlex Deucher <alexander.deucher@amd.com>2014-10-13 17:34:13 +0200
commit60779143b5451095b4bbfb021d39955cb4794913 (patch)
treea63b4c63ff34135355e0d83c85eee4e1022bc4a4 /drivers/gpu/drm/radeon/btc_dpm.h
parentdrm/mst: rework payload table allocation to conform better. (diff)
downloadlinux-60779143b5451095b4bbfb021d39955cb4794913.tar.xz
linux-60779143b5451095b4bbfb021d39955cb4794913.zip
Revert "drm/radeon: drop btc_get_max_clock_from_voltage_dependency_table"
This reverts commit fc9dfeb1383287631ad5c5a676a2558b799db6e9. There are still some stability problems on some SI boards so bring this back.
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);