From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id AC4CDC43381 for ; Mon, 4 Mar 2019 18:29:29 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7B9102070B for ; Mon, 4 Mar 2019 18:29:29 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="SKzWsEk8" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7B9102070B Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=anholt.net Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender:Content-Type:Cc: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: MIME-Version:Message-ID:Date:References:In-Reply-To:Subject:To:From:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=CnZgnOC5puCNKERUjBmAsnyGGGRhMA29qBJZWlTvBqQ=; b=SKzWsEk8btPzcV3SCkmvnuUaU FJW95wgWYG2J5a5n+BLAFsHx1FCS617SrSmAfn5qI2bDF0cqDBHv4Al/l/2OIcqP78Z57XJH3WkWk m5ruFl8vXef1aZZqpsoGhkSCXyYL1sJo85/Id6fM+TOzdS9ve7Y71jv7Ti/oLPGNOJClSqjfgb5pU f3xMXR+LhL1m6ACE/eFe8aIM3EnafAJzlkPInfHjPjS9ju1ostLDp95A3YuiyFoTAJbRqQFqbj25P ITEvE8B8s2cKLvTthxwbQQG6kNB9DjvEKoNNg6Dq8SjK1ytm3Ss+pySie2bKh8JwXUYQnxVTI8vYb yVXT75yaw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1h0sL4-0003ng-RN; Mon, 04 Mar 2019 18:29:23 +0000 Received: from anholt.net ([50.246.234.109]) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1h0sKj-0003Yd-7b for linux-arm-kernel@lists.infradead.org; Mon, 04 Mar 2019 18:29:03 +0000 Received: from localhost (localhost [127.0.0.1]) by anholt.net (Postfix) with ESMTP id C0ED110A2DE6; Mon, 4 Mar 2019 10:28:57 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at anholt.net Received: from anholt.net ([127.0.0.1]) by localhost (kingsolver.anholt.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 7Jhu21UOxWep; Mon, 4 Mar 2019 10:28:56 -0800 (PST) Received: from eliezer.anholt.net (localhost [127.0.0.1]) by anholt.net (Postfix) with ESMTP id A181210A2A62; Mon, 4 Mar 2019 10:28:56 -0800 (PST) Received: by eliezer.anholt.net (Postfix, from userid 1000) id 34C392FE464E; Mon, 4 Mar 2019 10:28:56 -0800 (PST) From: Eric Anholt To: Stefan Wahren , Maxime Ripard , Maarten Lankhorst , Sean Paul , Daniel Vetter , David Airlie Subject: Re: [PATCH 1/7] drm/vc4: hdmi: Check that the monitor supports HDMI audio In-Reply-To: <4f17bf31-c5ba-286d-f08e-97b557fb5b43@i2se.com> References: <4f17bf31-c5ba-286d-f08e-97b557fb5b43@i2se.com> User-Agent: Notmuch/0.22.2+1~gb0bcfaa (http://notmuchmail.org) Emacs/25.2.2 (x86_64-pc-linux-gnu) Date: Mon, 04 Mar 2019 10:28:54 -0800 Message-ID: <87sgw21ok9.fsf@anholt.net> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190304_102901_410685_C0E22CC1 X-CRM114-Status: GOOD ( 10.70 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Paul Kocialkowski , linux-arm-kernel@lists.infradead.org, Thomas Petazzoni , dri-devel@lists.freedesktop.org, eben@raspberrypi.org Content-Type: multipart/mixed; boundary="===============8192228691854460480==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============8192228691854460480== 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----- --=-=-=-- --===============8192228691854460480== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============8192228691854460480==-- 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==--