diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2013-03-25 12:47:23 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2013-06-27 19:16:40 -0400 |
commit | 2abba66e7af70825734eaf9fdea37c97f9e7b6ff (patch) | |
tree | 35376bc5322224f66f07d0ca4f9109dd590dcede /drivers/gpu/drm/radeon/ni_dpm.c | |
parent | 4489cd62e5a2a4900422424457c6e8dca875056b (diff) | |
download | op-kernel-dev-2abba66e7af70825734eaf9fdea37c97f9e7b6ff.zip op-kernel-dev-2abba66e7af70825734eaf9fdea37c97f9e7b6ff.tar.gz |
drm/radeon: update radeon_atombios_get_default_voltages for mvdd
Add a way to look up the bootup mvdd. Required for DPM on SI.
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/ni_dpm.c')
-rw-r--r-- | drivers/gpu/drm/radeon/ni_dpm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/radeon/ni_dpm.c b/drivers/gpu/drm/radeon/ni_dpm.c index 21c064b..86f98db 100644 --- a/drivers/gpu/drm/radeon/ni_dpm.c +++ b/drivers/gpu/drm/radeon/ni_dpm.c @@ -3800,8 +3800,8 @@ static void ni_parse_pplib_clock_info(struct radeon_device *rdev, /* patch up boot state */ if (rps->class & ATOM_PPLIB_CLASSIFICATION_BOOT) { - u16 vddc, vddci; - radeon_atombios_get_default_voltages(rdev, &vddc, &vddci); + u16 vddc, vddci, mvdd; + radeon_atombios_get_default_voltages(rdev, &vddc, &vddci, &mvdd); pl->mclk = rdev->clock.default_mclk; pl->sclk = rdev->clock.default_sclk; pl->vddc = vddc; |