summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/dce6_afmt.c
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2013-10-19 02:00:09 +0200
committerAlex Deucher <alexander.deucher@amd.com>2013-10-19 02:00:09 +0200
commit555b1b651acf44bf27ebbb04235d38a8fd2d58dc (patch)
tree9eab6e29fc30d03ee5f545f6d0c509a568611513 /drivers/gpu/drm/radeon/dce6_afmt.c
parentdrm/radeon: rework audio option (diff)
downloadlinux-555b1b651acf44bf27ebbb04235d38a8fd2d58dc.tar.xz
linux-555b1b651acf44bf27ebbb04235d38a8fd2d58dc.zip
drm/radeon/audio: don't set speaker allocation on DCE4+
It causes hangs on some asics. Disable on DCE6+ as well just to be on the safe side. Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/dce6_afmt.c')
-rw-r--r--drivers/gpu/drm/radeon/dce6_afmt.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/dce6_afmt.c b/drivers/gpu/drm/radeon/dce6_afmt.c
index 85a69d2ea3d2..9fcd338c0fcf 100644
--- a/drivers/gpu/drm/radeon/dce6_afmt.c
+++ b/drivers/gpu/drm/radeon/dce6_afmt.c
@@ -113,6 +113,9 @@ void dce6_afmt_write_speaker_allocation(struct drm_encoder *encoder)
u8 *sadb;
int sad_count;
+ /* XXX: setting this register causes hangs on some asics */
+ return;
+
if (!dig->afmt->pin)
return;