aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/radeon_uvd.c
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2013-09-30 19:11:24 -0400
committerAlex Deucher <alexander.deucher@amd.com>2013-10-09 17:13:45 -0400
commitdca5086a90c9ec64f4e0de801a659508202b0640 (patch)
tree4892c0c74f9bc4082ad40fb19690b37630833f80 /drivers/gpu/drm/radeon/radeon_uvd.c
parentdrm/radeon: use hw generated CTS/N values for audio (diff)
downloadlinux-dev-dca5086a90c9ec64f4e0de801a659508202b0640.tar.xz
linux-dev-dca5086a90c9ec64f4e0de801a659508202b0640.zip
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;*/
}
}