summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/radeon/radeon_uvd.c
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2013-10-01 03:11:24 +0400
committerAlex Deucher <alexander.deucher@amd.com>2013-10-10 01:13:45 +0400
commitdca5086a90c9ec64f4e0de801a659508202b0640 (patch)
tree4892c0c74f9bc4082ad40fb19690b37630833f80 /drivers/gpu/drm/radeon/radeon_uvd.c
parentee0fec312a1c4e26f255955da942562cd8908a4b (diff)
downloadlinux-dca5086a90c9ec64f4e0de801a659508202b0640.tar.xz
drm/radeon/dpm: disable multiple UVD states
Always use the regular UVD state for now. This fixes a performance regression with UVD playback on certain APUs. 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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_uvd.c b/drivers/gpu/drm/radeon/radeon_uvd.c
index a0f11856ddde..4f2e73f79638 100644
--- a/drivers/gpu/drm/radeon/radeon_uvd.c
+++ b/drivers/gpu/drm/radeon/radeon_uvd.c
@@ -798,7 +798,8 @@ void radeon_uvd_note_usage(struct radeon_device *rdev)
(rdev->pm.dpm.hd != hd)) {
rdev->pm.dpm.sd = sd;
rdev->pm.dpm.hd = hd;
- streams_changed = true;
+ /* disable this for now */
+ /*streams_changed = true;*/
}
}