Revert "drm/radeon: don't share plls if monitors differ in audio support"
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 10 Jun 2015 05:29:14 +0000 (01:29 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 11 Jun 2015 14:26:48 +0000 (10:26 -0400)
This reverts commit a10f0df0615abb194968fc08147f3cdd70fd5aa5.

Fixes some systems at the expense of others.  Need to properly
fix the pll divider selection.

bug:
https://bugzilla.kernel.org/show_bug.cgi?id=99651

Cc: stable@vger.kernel.org
drivers/gpu/drm/radeon/atombios_crtc.c

index e597ffc265633ef7439b2247301333a3affaeaea..42b2ea3fdcf3584680235e6d5cab14942f7f84b1 100644 (file)
@@ -1798,9 +1798,7 @@ static int radeon_get_shared_nondp_ppll(struct drm_crtc *crtc)
                        if ((crtc->mode.clock == test_crtc->mode.clock) &&
                            (adjusted_clock == test_adjusted_clock) &&
                            (radeon_crtc->ss_enabled == test_radeon_crtc->ss_enabled) &&
-                           (test_radeon_crtc->pll_id != ATOM_PPLL_INVALID) &&
-                           (drm_detect_monitor_audio(radeon_connector_edid(test_radeon_crtc->connector)) ==
-                            drm_detect_monitor_audio(radeon_connector_edid(radeon_crtc->connector))))
+                           (test_radeon_crtc->pll_id != ATOM_PPLL_INVALID))
                                return test_radeon_crtc->pll_id;
                }
        }