aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/radeon/radeon.h
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2014-07-31 17:57:42 -0400
committerAlex Deucher <alexander.deucher@amd.com>2014-08-05 08:53:46 -0400
commite9f274b2a1bd4ecc569b823b1e7942e9bf92593e (patch)
tree422d49dd22cf493548ec04fb253d8258cda01d22 /drivers/gpu/drm/radeon/radeon.h
parent72a9987edcedb89db988079a03c9b9c65b6ec9ac (diff)
downloadlinux-stericsson-e9f274b2a1bd4ecc569b823b1e7942e9bf92593e.tar.gz
drm/radeon/atom: add new voltage fetch function for hawaii
Some hawaii boards use a different method for fetching the voltage information from the vbios. Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon.h')
-rw-r--r--drivers/gpu/drm/radeon/radeon.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h
index 29731584b6ae..b3f0f0d92087 100644
--- a/drivers/gpu/drm/radeon/radeon.h
+++ b/drivers/gpu/drm/radeon/radeon.h
@@ -304,6 +304,9 @@ int radeon_atom_get_leakage_vddc_based_on_leakage_params(struct radeon_device *r
u16 *vddc, u16 *vddci,
u16 virtual_voltage_id,
u16 vbios_voltage_id);
+int radeon_atom_get_voltage_evv(struct radeon_device *rdev,
+ u16 virtual_voltage_id,
+ u16 *voltage);
int radeon_atom_round_to_true_voltage(struct radeon_device *rdev,
u8 voltage_type,
u16 nominal_voltage,