diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2014-08-01 01:57:42 +0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2014-08-05 16:53:46 +0400 |
commit | e9f274b2a1bd4ecc569b823b1e7942e9bf92593e (patch) | |
tree | 422d49dd22cf493548ec04fb253d8258cda01d22 /drivers/gpu/drm/radeon/radeon.h | |
parent | 72a9987edcedb89db988079a03c9b9c65b6ec9ac (diff) | |
download | linux-e9f274b2a1bd4ecc569b823b1e7942e9bf92593e.tar.xz |
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.h | 3 |
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, |