drm/radeon: init UVD clocks to sane defaults
authorChristian König <deathsimple@vodafone.de>
Mon, 8 Apr 2013 10:41:36 +0000 (12:41 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 9 Apr 2013 14:31:38 +0000 (10:31 -0400)
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>
drivers/gpu/drm/radeon/radeon_uvd.c

index 05a192e95e5d4be403d8b84bc9c93753525366cd..30a94609672a2ab7d184125fe79c62a0a7e57b64 100644 (file)
@@ -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;
 }