drm/radeon/dpm: fix typo in setting uvd clock
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 3 Apr 2013 19:03:17 +0000 (15:03 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 27 Jun 2013 23:40:09 +0000 (19:40 -0400)
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/rv770_dpm.c

index e2d2619852efe79cd28fcd7e6d99a202e5f27c1d..7f6fa6221234c60b3085933bddaedc74f38211db 100644 (file)
@@ -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,