summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2013-04-03 23:03:17 +0400
committerAlex Deucher <alexander.deucher@amd.com>2013-06-28 03:40:09 +0400
commite38bb5aeef0d864313b4070ae6e35edff53e2790 (patch)
tree2df1d0cf5a9d2d8e2e9745e3e053076d444146a4 /drivers/gpu/drm
parentcc833b6088e3371d3b77c5a9452835452835e10f (diff)
downloadlinux-e38bb5aeef0d864313b4070ae6e35edff53e2790.tar.xz
drm/radeon/dpm: fix typo in setting uvd clock
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r--drivers/gpu/drm/radeon/rv770_dpm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/rv770_dpm.c b/drivers/gpu/drm/radeon/rv770_dpm.c
index e2d2619852ef..7f6fa6221234 100644
--- a/drivers/gpu/drm/radeon/rv770_dpm.c
+++ b/drivers/gpu/drm/radeon/rv770_dpm.c
@@ -1439,7 +1439,7 @@ void rv770_set_uvd_clock_before_set_eng_clock(struct radeon_device *rdev,
if (new_state->high.sclk >= current_state->high.sclk)
return;
- radeon_set_uvd_clocks(rdev, new_ps->vclk, old_ps->dclk);
+ radeon_set_uvd_clocks(rdev, new_ps->vclk, new_ps->dclk);
}
void rv770_set_uvd_clock_after_set_eng_clock(struct radeon_device *rdev,