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=-3.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no 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 05364C4708F for ; Wed, 2 Jun 2021 14:26:24 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (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 2AD7B610A1 for ; Wed, 2 Jun 2021 14:26:23 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2AD7B610A1 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=raspberrypi.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id B8D711708; Wed, 2 Jun 2021 16:25:31 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz B8D711708 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1622643981; bh=ns2Myd2SD/MJabVg1FbNAA72sIqxZq8ix6DasEjLXNw=; h=References:In-Reply-To:From:Date:Subject:To:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=mz8jjOZ+kxkyhXIqIjIaT4HGnM8tG4JNuodSpkxBGhBVzgfuLuuDLF+Ch/473p9Da dfZLevtPfv8BYhXlrxsLEDvexpxkTkifrahL6y4kEjnVT1ukUXoR6TB724PovgkbFK 3J0F55K5UEM9dhAJwaU+2xJxaNL/ifSOlTcJvsp4= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 8B464F804D9; Wed, 2 Jun 2021 16:23:16 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 7A96CF80254; Tue, 1 Jun 2021 12:02:52 +0200 (CEST) Received: from mail-ej1-x62f.google.com (mail-ej1-x62f.google.com [IPv6:2a00:1450:4864:20::62f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id D82C5F80253 for ; Tue, 1 Jun 2021 12:01:49 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz D82C5F80253 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=raspberrypi.com header.i=@raspberrypi.com header.b="rggJ/NJj" Received: by mail-ej1-x62f.google.com with SMTP id jt22so20803023ejb.7 for ; Tue, 01 Jun 2021 03:01:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=60Kdajo/BKEdpmYUDsCGYGVgkz7HdEw6Jt5LKgGDZ+Y=; b=rggJ/NJj6tLFy8ZuA+tKrAKvIO9kxyd2uSFgRxgYsMo5jr0GlUx8AggaJgYNe51dBx Ny7oNE8RhXSl8h+Vi88PTW+i4JWtztI04Isltmd7XOo9Ad/OVphA5Wh9uhDbSlmpJXxp nlpZKbtzL0ZAUlka6FpI9rrM4R1/zDl9JpHAUm92zHdSRDn2QnI4MzOQt1avXRHIFV7p AvKvuxPmDviMggN/C3DhBk4/cdU7beOuKINFvK16d1BXogwyCLmB6vYMlOv4l3vcO2iy WaOYEKl/INy684O5YE7aQB7LQ9m5oeZH4qEkLhuYECAeXdsIB7C9VXA0T+DdUNaGzDSj pSPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=60Kdajo/BKEdpmYUDsCGYGVgkz7HdEw6Jt5LKgGDZ+Y=; b=gL/l7XINZjxBDZxMQNgi+ti49JtQYQY+EwFPLIUhlgq5P2sqMmzT51eXFzLiyXp9yL uCdm1FJ9OKS99rhWObexJti8fpoJ+SpGxuNsRbi6oXAb8YGiIGGqk/xw9Uhw2tk8+wOa 1aQJSl9v8b4W4SLgLKHHDzLps9HWkkiCij0Yb9fXyd7R+MKN/zqD/TtkHlVNyQsJA7IS /WH2Ww9ZuZlU16FxhANF6vR4nZOJ1zS+d2hjoN5FNeewFy8wQHW74o6RS6qK4P+wkWNv UlfuX2DzedfagCcVfJuc6Namd1eViq+PNP/bJZgfd05E/iE/AqWTIJCAFX67qyvF4n7c tA0g== X-Gm-Message-State: AOAM530qu6gp2G/Mn3BN34GLDLo9XRPylX94udvs77KashWufThZxMH9 THkXAjG72n1buePXtZASbSNqM/c6nDhe3qbadz2p6A== X-Google-Smtp-Source: ABdhPJxHdOPJhWhLABsUexCJTnW7WAsOGgduFBuEyhdzFLDjcZON6lkvHgNzf1kNzy4ZauJeZqqYlw1JdlVKeC8qRbs= X-Received: by 2002:a17:906:5285:: with SMTP id c5mr27813952ejm.282.1622541708707; Tue, 01 Jun 2021 03:01:48 -0700 (PDT) MIME-Version: 1.0 References: <20210525132354.297468-1-maxime@cerno.tech> <20210525132354.297468-10-maxime@cerno.tech> <813942f4864d87ef0b9c5dff98c23c919bdd88a9.camel@kernel.org> In-Reply-To: <813942f4864d87ef0b9c5dff98c23c919bdd88a9.camel@kernel.org> From: Dom Cobley Date: Tue, 1 Jun 2021 11:01:37 +0100 Message-ID: Subject: Re: [PATCH v2 09/12] drm/vc4: hdmi: Remove firmware logic for MAI threshold setting To: nicolas saenz julienne X-Mailman-Approved-At: Wed, 02 Jun 2021 16:23:04 +0200 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Cc: alsa-devel@alsa-project.org, Tim Gover , linux-doc@vger.kernel.org, David Airlie , dri-devel@lists.freedesktop.org, Takashi Iwai , Eric Anholt , Daniel Vetter , Phil Elwell , Dave Stevenson , bcm-kernel-feedback-list@broadcom.com, devicetree@vger.kernel.org, Daniel Vetter , Liam Girdwood , Maarten Lankhorst , Maxime Ripard , Mark Brown , Maxime Ripard , Dom Cobley , linux-arm-kernel@lists.infradead.org, Jonathan Corbet , linux-kernel@vger.kernel.org, Rob Herring , Thomas Zimmermann , Nicolas Saenz Julienne , linux-rpi-kernel@lists.infradead.org X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" On Tue, 1 Jun 2021 at 09:52, nicolas saenz julienne wrote: > What's to expect sound wise on older RPis? I'd say 8 channel 48kHz is good. 2 channel 192KHz is good. Higher than that and we start to lose samples in the HDMI MAI bus fifo. The firmware workaround made 4 channel 192kHz somewhat more reliable, but it would still fail when sdram was busy, so I don't think it's worth maintaining that. 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=-0.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no 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 30F2FC47080 for ; Tue, 1 Jun 2021 14:24:30 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 D6BB66124B for ; Tue, 1 Jun 2021 14:24:29 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D6BB66124B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=raspberrypi.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 6AFB46EA76; Tue, 1 Jun 2021 14:24:29 +0000 (UTC) Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com [IPv6:2a00:1450:4864:20::636]) by gabe.freedesktop.org (Postfix) with ESMTPS id 15C616E10C for ; Tue, 1 Jun 2021 10:01:50 +0000 (UTC) Received: by mail-ej1-x636.google.com with SMTP id k7so11227819ejv.12 for ; Tue, 01 Jun 2021 03:01:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=60Kdajo/BKEdpmYUDsCGYGVgkz7HdEw6Jt5LKgGDZ+Y=; b=rggJ/NJj6tLFy8ZuA+tKrAKvIO9kxyd2uSFgRxgYsMo5jr0GlUx8AggaJgYNe51dBx Ny7oNE8RhXSl8h+Vi88PTW+i4JWtztI04Isltmd7XOo9Ad/OVphA5Wh9uhDbSlmpJXxp nlpZKbtzL0ZAUlka6FpI9rrM4R1/zDl9JpHAUm92zHdSRDn2QnI4MzOQt1avXRHIFV7p AvKvuxPmDviMggN/C3DhBk4/cdU7beOuKINFvK16d1BXogwyCLmB6vYMlOv4l3vcO2iy WaOYEKl/INy684O5YE7aQB7LQ9m5oeZH4qEkLhuYECAeXdsIB7C9VXA0T+DdUNaGzDSj pSPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=60Kdajo/BKEdpmYUDsCGYGVgkz7HdEw6Jt5LKgGDZ+Y=; b=m/KaDXi5p+mMt7sLp7MdcJd91SKM60dJqj/Q/YT75Ilq7sxOAjMkn+WczCttnZfRu7 Q6kognR/0yFpLVjHd+uGIXWBEd7py5eVNWzpJd+lKOZNtRQZ7upMUXxOoCJokOBEgDci D9sLjWmwo5TYJeMrfNcTWcz04WpdjAuyyBD+8yjvUX6e1exffCGGvGxhSf0SAuFaQH9k Vqnah2chy9Tq41Aj4JPoV0na/vcHuqXfNY4CjOtcgmVzivBET/aPSmDlsBgFqW8G0zaD kYDIMk/dOnCKZM9PUtwC/4+CbES3yUScZX2yPVDyTwsnKHB309ptO5aQeejnm+cFtxAG nCow== X-Gm-Message-State: AOAM533w94DYICcsZ5cOZ8AgrknkWCM9K+VwbTQ/LBcNqvJGOWxWzAS/ bpah0ea7B8pwCtThkdNq/K79weehXC8CbvFc3Iqi9w== X-Google-Smtp-Source: ABdhPJxHdOPJhWhLABsUexCJTnW7WAsOGgduFBuEyhdzFLDjcZON6lkvHgNzf1kNzy4ZauJeZqqYlw1JdlVKeC8qRbs= X-Received: by 2002:a17:906:5285:: with SMTP id c5mr27813952ejm.282.1622541708707; Tue, 01 Jun 2021 03:01:48 -0700 (PDT) MIME-Version: 1.0 References: <20210525132354.297468-1-maxime@cerno.tech> <20210525132354.297468-10-maxime@cerno.tech> <813942f4864d87ef0b9c5dff98c23c919bdd88a9.camel@kernel.org> In-Reply-To: <813942f4864d87ef0b9c5dff98c23c919bdd88a9.camel@kernel.org> From: Dom Cobley Date: Tue, 1 Jun 2021 11:01:37 +0100 Message-ID: Subject: Re: [PATCH v2 09/12] drm/vc4: hdmi: Remove firmware logic for MAI threshold setting To: nicolas saenz julienne Content-Type: multipart/alternative; boundary="0000000000002e5ef505c3b16e10" X-Mailman-Approved-At: Tue, 01 Jun 2021 14:24:28 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: alsa-devel@alsa-project.org, Tim Gover , linux-doc@vger.kernel.org, David Airlie , dri-devel@lists.freedesktop.org, Takashi Iwai , Daniel Vetter , Phil Elwell , Dave Stevenson , bcm-kernel-feedback-list@broadcom.com, devicetree@vger.kernel.org, Liam Girdwood , Mark Brown , Maxime Ripard , Dom Cobley , Jaroslav Kysela , linux-arm-kernel@lists.infradead.org, Jonathan Corbet , linux-kernel@vger.kernel.org, Rob Herring , Thomas Zimmermann , Nicolas Saenz Julienne , linux-rpi-kernel@lists.infradead.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" --0000000000002e5ef505c3b16e10 Content-Type: text/plain; charset="UTF-8" On Tue, 1 Jun 2021 at 09:52, nicolas saenz julienne wrote: > What's to expect sound wise on older RPis? I'd say 8 channel 48kHz is good. 2 channel 192KHz is good. Higher than that and we start to lose samples in the HDMI MAI bus fifo. The firmware workaround made 4 channel 192kHz somewhat more reliable, but it would still fail when sdram was busy, so I don't think it's worth maintaining that. --0000000000002e5ef505c3b16e10 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Tue, 1 Jun 2021 at 09:52, nicolas saen= z julienne <nsaenz@kernel.org&g= t; wrote:
What's to expect sound wise on older RPis?
=C2=A0
I'd say 8 channel 48kHz is good. 2 channel 192KHz is good.
Higher than that and we start to lose samples in the HDMI MAI bus f= ifo.

The firmware workaround made 4 channel 19= 2kHz somewhat more reliable, but it would still fail when sdram was busy,
so I don't think it's worth maintaining that.
=C2=A0
=C2=A0
--0000000000002e5ef505c3b16e10--