aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/radeon_uvd.c
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2014-01-10 10:05:05 -0500
committerAlex Deucher <alexander.deucher@amd.com>2014-01-20 12:05:12 -0500
commit8158eb9e32c4c98c7dd152207fd70f747ef81a9a (patch)
treeb1936c91bbfa7f56f92e6c2e8e1156f1a75ed98a /drivers/gpu/drm/radeon/radeon_uvd.c
parent7f4237c6dad7c959615b896d3c6c728c37943f4d (diff)
drm/radeon: don't power gate paused UVD streams
Signed-off-by: Christian König <christian.koenig@amd.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 b9c0529b4a2e..4b5c1fcb515d 100644
--- a/drivers/gpu/drm/radeon/radeon_uvd.c
+++ b/drivers/gpu/drm/radeon/radeon_uvd.c
@@ -778,6 +778,8 @@ static void radeon_uvd_idle_work_handler(struct work_struct *work)
778 778
779 if (radeon_fence_count_emitted(rdev, R600_RING_TYPE_UVD_INDEX) == 0) { 779 if (radeon_fence_count_emitted(rdev, R600_RING_TYPE_UVD_INDEX) == 0) {
780 if ((rdev->pm.pm_method == PM_METHOD_DPM) && rdev->pm.dpm_enabled) { 780 if ((rdev->pm.pm_method == PM_METHOD_DPM) && rdev->pm.dpm_enabled) {
781 radeon_uvd_count_handles(rdev, &rdev->pm.dpm.sd,
782 &rdev->pm.dpm.hd);
781 radeon_dpm_enable_uvd(rdev, false); 783 radeon_dpm_enable_uvd(rdev, false);
782 } else { 784 } else {
783 radeon_set_uvd_clocks(rdev, 0, 0); 785 radeon_set_uvd_clocks(rdev, 0, 0);