From: Matthijs Kooijman Subject: drm/radeon: HDMI broken on non-default resolutions by 1c3439f: update modesetting Date: Mon, 29 Oct 2012 17:09:46 +0100 Message-ID: <20121029160946.GK5873@login.drsnuggles.stderr.nl> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1821635783==" Return-path: Received: from drsnuggles.stderr.nl (drsnuggles.stderr.nl [94.142.244.14]) by gabe.freedesktop.org (Postfix) with ESMTP id 1162D9F71E for ; Mon, 29 Oct 2012 09:32:41 -0700 (PDT) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.freedesktop.org Cc: Alex Deucher List-Id: dri-devel@lists.freedesktop.org --===============1821635783== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2G7ff+g6bAytKy+q" Content-Disposition: inline --2G7ff+g6bAytKy+q Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi folks, I'm using some evergreen systems with HDMI output, which got broken by a recent commit. In commit 1c3439f (drm/radeon/hdmi: update modesetting), the HDMI_ACR_SOURCE bit is set in the HDMI_ACR_PACKET_CONTROL register. However, setting this bit breaks my HDMI audio when a non-default resolution is used. This problem only occurs on some TV's (it's broken on a Philips, Sharp and Sony TV and seems to be working on a few LG TV's). On the Sony, there are short pulses of distorted audio (couple of hundred ms audio, then half a second or so silence, then some audio again, etc.). On the Philips and Shart TV's, the audio is completely muted. It seems setting this bit causes the audio infoframe timings to be controlled by software instead. I suspect that the timings are not properly (re)calculated when a non-default resolution is used, causing the audio to break. Alex Deucher mentioned on IRC that the proper timing code needs to be ported over. I might have a look at that, if I can find enough time and understanding, but that might take a while. Would it make sense to disable this particular bit for the time being, to make audio working again? Is there any particular reason to not keep the bit disabled and let the timings be determined by the hardware in any case? Gr. Matthijs --2G7ff+g6bAytKy+q Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAlCOqkoACgkQz0nQ5oovr7wCTgCfXAJ4hILw4pEzzn4CbXE6SZ+S 9gYAniCpOSqvhDrqauHWfY+rYTYzDru2 =uSSC -----END PGP SIGNATURE----- --2G7ff+g6bAytKy+q-- --===============1821635783== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============1821635783==--