drm/radeon/audio: don't set speaker allocation on DCE3.2
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 17 Oct 2013 20:11:27 +0000 (16:11 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 18 Oct 2013 20:16:18 +0000 (16:16 -0400)
It causes hangs on some asics.

Bug:
https://bugs.freedesktop.org/show_bug.cgi?id=70439

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
drivers/gpu/drm/radeon/r600_hdmi.c

index 5b72931..06022e3 100644 (file)
@@ -309,6 +309,9 @@ static void dce3_2_afmt_write_speaker_allocation(struct drm_encoder *encoder)
        u8 *sadb;
        int sad_count;
 
+       /* XXX: setting this register causes hangs on some asics */
+       return;
+
        list_for_each_entry(connector, &encoder->dev->mode_config.connector_list, head) {
                if (connector->encoder == encoder)
                        radeon_connector = to_radeon_connector(connector);