diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2015-02-12 08:40:58 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2015-02-13 18:03:48 +0300 |
commit | 09b6e85fc868568e1b2820235a2a851aecbccfcc (patch) | |
tree | b010f45660c2405d69c0a5b6eb14afd046e8a1c5 /drivers/gpu | |
parent | 66c2b84ba6256bc5399eed45582af9ebb3ba2c15 (diff) | |
download | linux-09b6e85fc868568e1b2820235a2a851aecbccfcc.tar.xz |
drm/radeon: fix voltage setup on hawaii
Missing parameter when fetching the real voltage values
from atom. Fixes problems with dynamic clocking on
certain boards.
bug:
https://bugs.freedesktop.org/show_bug.cgi?id=87457
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_atombios.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_atombios.c b/drivers/gpu/drm/radeon/radeon_atombios.c index dbc94f300297..fc1b3f34cf18 100644 --- a/drivers/gpu/drm/radeon/radeon_atombios.c +++ b/drivers/gpu/drm/radeon/radeon_atombios.c @@ -3289,6 +3289,7 @@ int radeon_atom_get_voltage_evv(struct radeon_device *rdev, args.in.ucVoltageType = VOLTAGE_TYPE_VDDC; args.in.ucVoltageMode = ATOM_GET_VOLTAGE_EVV_VOLTAGE; + args.in.usVoltageLevel = cpu_to_le16(virtual_voltage_id); args.in.ulSCLKFreq = cpu_to_le32(rdev->pm.dpm.dyn_state.vddc_dependency_on_sclk.entries[entry_id].clk); |