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 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 D068EC43381 for ; Mon, 4 Mar 2019 21:09:34 +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 9EA30206B6 for ; Mon, 4 Mar 2019 21:09:34 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="hjYPXJWT" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9EA30206B6 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=WagIsYJlAO8EK1dDSt82o7UCUexQKtue5Nt8EyCNxDg=; b=hjYPXJWToY6weXIsY85YwJlyn O2Cmihmf1/4CIxEtAaCsf3gQepkP4vcQNcJxeAFHfyYi/zGEnvU9w6IGbgHAGtfEB6ufovo69EFCj gikyaWSGQuQRywR2LLpRNEp6jZkRibQrEhZAnA9zn25PUPOrmEcB2+FhmTH81I9YUhHjqVvWj++NW HfIBm6lZYCfTRyDH7WgdhCrlToc2wJ3j3FxbgGmtPX6Ke9g5EHQHt84vhAKafLruYsOjmEK7e7Crf ycnX9bnYjcT3MD0gU5a7HPmYEfjFgz7+9tLDloO104bhWhcjm0AuO6mCRuiN/ayeWviL4tgv+TsSs MRgd4QN3A==; 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 1h0upz-0003RP-BP; Mon, 04 Mar 2019 21:09:27 +0000 Received: from anholt.net ([50.246.234.109]) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1h0upw-0003Qm-Oe for linux-arm-kernel@lists.infradead.org; Mon, 04 Mar 2019 21:09:26 +0000 Received: from localhost (localhost [127.0.0.1]) by anholt.net (Postfix) with ESMTP id 05D1410A2DE9; Mon, 4 Mar 2019 13:09:22 -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 U2gwcbnJQPYR; Mon, 4 Mar 2019 13:09:20 -0800 (PST) Received: from eliezer.anholt.net (localhost [127.0.0.1]) by anholt.net (Postfix) with ESMTP id B202510A2A62; Mon, 4 Mar 2019 13:09:20 -0800 (PST) Received: by eliezer.anholt.net (Postfix, from userid 1000) id 10BC82FE464E; Mon, 4 Mar 2019 13:09:20 -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: <1185446515.301320.1551729991062@email.ionos.de> References: <4f17bf31-c5ba-286d-f08e-97b557fb5b43@i2se.com> <87sgw21ok9.fsf@anholt.net> <1185446515.301320.1551729991062@email.ionos.de> 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 13:09:19 -0800 Message-ID: <877edeuz28.fsf@anholt.net> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190304_130924_837824_80FA19FC X-CRM114-Status: GOOD ( 13.29 ) 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="===============7868472473677994362==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============7868472473677994362== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Stefan Wahren writes: >> Eric Anholt hat am 4. M=C3=A4rz 2019 um 19:28 geschrie= ben: >>=20 >>=20 >> Stefan Wahren writes: >>=20 >> > 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 a= s 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 be= fore >> >> sending sound. >> > >> > does the audio output work in the following setup after applying this = patch? >> > >> > VC4 --- HDMI Audio extractor --- Non audio capable monitor >>=20 >> A 1-minute google of audio extractors says they manage the EDID. Do you >> have some reason to think this wouldn't work? > > My only concern is the existence of some audio extractors which doesn't c= are about EDID. I that case we need to provide some kind of force switch. I'm having a hard time imagining such a product existing, given that I don't think Windows will have "ignore the EDID, force audio anyway" switches in their UIs. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE/JuuFDWp9/ZkuCBXtdYpNtH8nugFAlx9k/8ACgkQtdYpNtH8 nuijew//a/cS5fBNvG/2+9Qr+cUdZ597e3Ar1ZLbR3zEIRhLpIVDmu6OgSGrKpQw 6onkAu4AiL7xNOpE3svjRb2oVIcXUr28klXde1lRGWSX52dZ7xjwLR6qbQc8a84t 6SGtaeFi6OmU5qPBiiADbUhPA1qAMil7MMTFHWSLmFbf2zwpnLvLmN6tulw6sc7H DDpqKJi0hZDNupSxdEqAB1hvVz0RaarfMlBI6Tz66+YJilt+8oQL8NIf31rVw5YQ Rv2EYdm7V0pNOb3j2H9ZtSFWzG76JL5AbEufGh3+v4I861EphOsnG0nzb1SxvDQg k2mgC+RF+6lG+/MZTn5d/rekuioCwpnKElsoQcfEKdwA7Iq6B87WiV90P6H2F0YP gaw7kQJUYEUphqvF3pAOoe81BFHm01ew/m4MFlWL7/YrBK/KA0yrvA/BkQDRn/So 4sOQjUQkgUox/GMRaJpQBOU4vfhQaPRsr7uwZVd0RGpGt947uIrCp9i4+vcZ4aWz /K9fCoJ+jHNIGprwMiuQytv9Z0nb2bniI0WJtNgGb1HL4r09pUWF1iMPf3i508iy tmVzqqrYl3AuomfzcTHnL2Me4X2mxooRynYcijpCiVjvNx4DYbZMZ1bHwXD7Jpgz PNKYzGWf6zbLwnNwxR4fcsIhFlJ/7aS+bXQJ0quPzGhbgxSwyxw= =K6go -----END PGP SIGNATURE----- --=-=-=-- --===============7868472473677994362== 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 --===============7868472473677994362==-- 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 13:09:19 -0800 Message-ID: <877edeuz28.fsf@anholt.net> References: <4f17bf31-c5ba-286d-f08e-97b557fb5b43@i2se.com> <87sgw21ok9.fsf@anholt.net> <1185446515.301320.1551729991062@email.ionos.de> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0103018991==" Return-path: Received: from anholt.net (anholt.net [50.246.234.109]) by gabe.freedesktop.org (Postfix) with ESMTP id DB97189D87 for ; Mon, 4 Mar 2019 21:09:22 +0000 (UTC) In-Reply-To: <1185446515.301320.1551729991062@email.ionos.de> 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 --===============0103018991== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Stefan Wahren writes: >> Eric Anholt hat am 4. M=C3=A4rz 2019 um 19:28 geschrie= ben: >>=20 >>=20 >> Stefan Wahren writes: >>=20 >> > 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 a= s 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 be= fore >> >> sending sound. >> > >> > does the audio output work in the following setup after applying this = patch? >> > >> > VC4 --- HDMI Audio extractor --- Non audio capable monitor >>=20 >> A 1-minute google of audio extractors says they manage the EDID. Do you >> have some reason to think this wouldn't work? > > My only concern is the existence of some audio extractors which doesn't c= are about EDID. I that case we need to provide some kind of force switch. I'm having a hard time imagining such a product existing, given that I don't think Windows will have "ignore the EDID, force audio anyway" switches in their UIs. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE/JuuFDWp9/ZkuCBXtdYpNtH8nugFAlx9k/8ACgkQtdYpNtH8 nuijew//a/cS5fBNvG/2+9Qr+cUdZ597e3Ar1ZLbR3zEIRhLpIVDmu6OgSGrKpQw 6onkAu4AiL7xNOpE3svjRb2oVIcXUr28klXde1lRGWSX52dZ7xjwLR6qbQc8a84t 6SGtaeFi6OmU5qPBiiADbUhPA1qAMil7MMTFHWSLmFbf2zwpnLvLmN6tulw6sc7H DDpqKJi0hZDNupSxdEqAB1hvVz0RaarfMlBI6Tz66+YJilt+8oQL8NIf31rVw5YQ Rv2EYdm7V0pNOb3j2H9ZtSFWzG76JL5AbEufGh3+v4I861EphOsnG0nzb1SxvDQg k2mgC+RF+6lG+/MZTn5d/rekuioCwpnKElsoQcfEKdwA7Iq6B87WiV90P6H2F0YP gaw7kQJUYEUphqvF3pAOoe81BFHm01ew/m4MFlWL7/YrBK/KA0yrvA/BkQDRn/So 4sOQjUQkgUox/GMRaJpQBOU4vfhQaPRsr7uwZVd0RGpGt947uIrCp9i4+vcZ4aWz /K9fCoJ+jHNIGprwMiuQytv9Z0nb2bniI0WJtNgGb1HL4r09pUWF1iMPf3i508iy tmVzqqrYl3AuomfzcTHnL2Me4X2mxooRynYcijpCiVjvNx4DYbZMZ1bHwXD7Jpgz PNKYzGWf6zbLwnNwxR4fcsIhFlJ/7aS+bXQJ0quPzGhbgxSwyxw= =K6go -----END PGP SIGNATURE----- --=-=-=-- --===============0103018991== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============0103018991==--