Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 555b1b65 authored by Alex Deucher's avatar Alex Deucher
Browse files

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: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 108dc8e8
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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;

+3 −0
Original line number Diff line number Diff line
@@ -67,6 +67,9 @@ 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);