summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/radeon/radeon_uvd.c
diff options
context:
space:
mode:
authorChristian König <deathsimple@vodafone.de>2013-04-08 12:41:36 +0200
committerAlex Deucher <alexander.deucher@amd.com>2013-04-09 10:31:38 -0400
commitec5891fbe1b078b191b25a13a2cc40b58fb7a693 (patch)
treee4d9e57858a6aee7fcbb3377d1d5b9069a69e508 /drivers/gpu/drm/radeon/radeon_uvd.c
parentef0e6e657cfe6e80036b5263887c6ec102c4bae9 (diff)
drm/radeon: init UVD clocks to sane defaults
Just until we get proper DPM for that. Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Jerome Glisse <jglisse@redhat.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_uvd.c')
-rw-r--r--drivers/gpu/drm/radeon/radeon_uvd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_uvd.c b/drivers/gpu/drm/radeon/radeon_uvd.c
index 05a192e95e5d..30a94609672a 100644
--- a/drivers/gpu/drm/radeon/radeon_uvd.c
+++ b/drivers/gpu/drm/radeon/radeon_uvd.c
@@ -188,6 +188,8 @@ int radeon_uvd_resume(struct radeon_device *rdev)
radeon_bo_unreserve(rdev->uvd.vcpu_bo);
+ radeon_set_uvd_clocks(rdev, 53300, 40000);
+
return 0;
}