From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Anholt Subject: Re: [PATCH 1/7] drm/vc4: hdmi: Check that the monitor supports HDMI audio Date: Mon, 04 Mar 2019 10:28:54 -0800 Message-ID: <87sgw21ok9.fsf@anholt.net> References: <4f17bf31-c5ba-286d-f08e-97b557fb5b43@i2se.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0776473401==" Return-path: Received: from anholt.net (anholt.net [50.246.234.109]) by gabe.freedesktop.org (Postfix) with ESMTP id 5862E89830 for ; Mon, 4 Mar 2019 18:28:58 +0000 (UTC) In-Reply-To: <4f17bf31-c5ba-286d-f08e-97b557fb5b43@i2se.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: Stefan Wahren , Maxime Ripard , Maarten Lankhorst , Sean Paul , Daniel Vetter , David Airlie Cc: Paul Kocialkowski , linux-arm-kernel@lists.infradead.org, Thomas Petazzoni , dri-devel@lists.freedesktop.org, eben@raspberrypi.org List-Id: dri-devel@lists.freedesktop.org --===============0776473401== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" --=-=-= Content-Type: text/plain Stefan Wahren writes: > Hi Maxime, > > Am 04.03.2019 um 15:52 schrieb Maxime Ripard: >> The current code assumes as soon as the device is an HDMI one that it >> supports an audio sink. However, strictly speaking, this is exposed as a >> separate part of EDID. >> >> This can be checked through the drm_detect_monitor_audio function, so let's >> use it and make sure that we can use the HDMI monitor as an output before >> sending sound. > > does the audio output work in the following setup after applying this patch? > > VC4 --- HDMI Audio extractor --- Non audio capable monitor A 1-minute google of audio extractors says they manage the EDID. Do you have some reason to think this wouldn't work? --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE/JuuFDWp9/ZkuCBXtdYpNtH8nugFAlx9bmYACgkQtdYpNtH8 nuhDCg//YloEH3Kaq8Abl7Hyg8J4cAAbJU8YzOEQWiBRwadXWpedw5h9sOcpt0Si myXD7iZVUFwv7JG6Fu+zIy67pblIzqh7eiL6ugM5PHismN64D2aF3vO5wHuVYLQA CLWvdMzmlGFbF1J4LWTuoPoI6Uh+vwkql3Lvc8vRSUuwwzlf12oHVg0Qt0vCIFvh /BIR9tBKvFdE6TAvm6UR6TL0VajZGFo2SiiBgOG9ThmqXOhBRn0WshbFoZJx2wNm m6I0dZK5110sGbHt55XHonegmBX/m2vKNIZ93KC3sMsJNPb+x/phEZdRR7XQVbQV DkNVBl2tuCoYR4Qi9w1dM86u5Af7wL0V6N3+LSRm0gyfGzlKP0Q2o5hjmyjOe1+A YMWILiwXQeJ0XOPQvHM12Id1gipm41y78vyzOkrvV7IVuRhfeODA0nKi38bG7fCA UCqhgmTxBQ2g4w6dhrUIMMZiUMCHyXpdf06iWGTxxLzqn+OH/SriewIdg49xRnuq f1zFqjEasa7ctOeovAAAxUeuMXNJfNVrSpbnRNMlFi7dFUN2x91W1/Vzjcqq2e5a 9Xs59KC6CoXZQ+fkFYDeq3Nd9Zqx8lv+xdvvKNaFdXRJoQWd+isYMFwZ1IXNr1JG 570muz8um33mdyfkySdQgvVPU563j2nE3Kml3zZRhMijFjp8Cj0= =UvZX -----END PGP SIGNATURE----- --=-=-=-- --===============0776473401== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============0776473401==--