diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2014-08-01 01:57:42 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-10-06 00:40:51 +0400 |
commit | d528dcb9cac01b5ced231134e1efc7e88b4d9b20 (patch) | |
tree | b866e89bacb2902ee5153aa4ffebcae048b4d9c2 /drivers/gpu/drm/radeon/radeon.h | |
parent | 2c578f49f19bf59f608a838699c96d0833a32ab1 (diff) | |
download | linux-d528dcb9cac01b5ced231134e1efc7e88b4d9b20.tar.xz |
drm/radeon/atom: add new voltage fetch function for hawaii
commit e9f274b2a1bd4ecc569b823b1e7942e9bf92593e upstream.
Some hawaii boards use a different method for fetching the
voltage information from the vbios.
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.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 60c47f829122..2d6b55d8461e 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, |