Revert "drm/radeon/audio: don't set speaker allocation on DCE4+"
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 8 Nov 2013 18:07:51 +0000 (13:07 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 8 Nov 2013 18:07:51 +0000 (13:07 -0500)
This reverts commit 555b1b651acf44bf27ebbb04235d38a8fd2d58dc.

Let's try this again for 3.13.  It's required for proper
interaction with alsa.  Was disabled previously in 3.12
to be on the safe side since it caused problems on older
asics.

drivers/gpu/drm/radeon/dce6_afmt.c
drivers/gpu/drm/radeon/evergreen_hdmi.c

index 85c4993b53e15b60aad10c679c88c5ef7dca1c67..009f46e0ce72db47534d2b7667bcd0119607d91b 100644 (file)
@@ -156,9 +156,6 @@ 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;
 
index adbfef87050105bc1ef174f10ac661ce3113008e..aa695c4feb3d00d393c2e9b74e2395a3a7395164 100644 (file)
@@ -105,9 +105,6 @@ static void dce4_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);