Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp942303rwo; Wed, 2 Aug 2023 06:36:23 -0700 (PDT) X-Google-Smtp-Source: APBJJlHekUml7e/PBL9p1MTr1EXCZVXyZz4bMsExIxKd9Kn8f23iJvZQ8hUlwpgclbC3/VmsHRvm X-Received: by 2002:a17:90a:17c5:b0:268:d716:4b62 with SMTP id q63-20020a17090a17c500b00268d7164b62mr5680285pja.0.1690983383269; Wed, 02 Aug 2023 06:36:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690983383; cv=none; d=google.com; s=arc-20160816; b=nlL7iDV2A1G27LLIVLeUbaz/aC2Mm9NXuEJ+1Uq1jELArLiVMmG8JTV32KPtJFozge H3xMWuOl5tUNjbOgWiGAs3Ab/1WkbeoC2aynWD2dFLT7J/AtTinr1jOnsIB2k9bJ2Xbf QyYywuW4YVDUnBvnYDAIkbzJ69tcGHu4siHg/7eBeKCGQdj1T7rZgfxFtd6kTVULGSjr i6GBbYHE6SIY2RNt9E5EMzmlV8AeAqlADtTbJAEpsWeFh1SZ5xAjDt73/a12iJhG+en/ eTQyGnFQun8rwsXvZhgUGsDtBXuRHwOkw9s1uyZIxTZdof4bZFYE89evD/MYNLsHoFkd d9KQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=huf/eCqVt9E0kcjubHNqgryyfz/uhWOh2TRmt3XQCns=; fh=pXBOQzpkFk7mK/PD1nus70yDh9Ga9IWYYubXE+naWaE=; b=dqxlX+il1LVkz4W8W8X3a/dOM9hHt6xEeEF0IR+UZJJzE1rBmdYnAUZCx0W1XnSRxu +Fg4BQcbJfeyt+wWF+QdGRVDCM4Bg+0Ko0c0UEl+nbcmBrcRyeWfg4CdnIs60GSYc18j r0v6QuKCxU4gow6Lw9JyiMR03aFzcYGB6Py9jR1jtV1mnusCNC2sh9B09dEvIAhE0xtW INqT/oyJDOZsrId/krwZ9BJOyU9zjMlIKZjRzcXoHlxkHXdLzCuPVomXzcE8daAVnpqx 2rx9X7TEAuRvq2bN6NiofgV/hHqIP2KzdKwcje8eB3bzZcaYCSjV4SjDMsxwlorpjP/x sbRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=n0nVo96Y; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r30-20020a17090a43a100b0026800336358si1202909pjg.122.2023.08.02.06.36.08; Wed, 02 Aug 2023 06:36:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=n0nVo96Y; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233056AbjHBMJ0 (ORCPT + 99 others); Wed, 2 Aug 2023 08:09:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43304 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231974AbjHBMJZ (ORCPT ); Wed, 2 Aug 2023 08:09:25 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4F69D1BF9; Wed, 2 Aug 2023 05:09:24 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id DA24761940; Wed, 2 Aug 2023 12:09:23 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A7BCDC433C8; Wed, 2 Aug 2023 12:09:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1690978163; bh=M5e9aIt4zB+xazIlQzHD++KNXR0lBSq5lPpPZBlFnnU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=n0nVo96YwWrmpCF4FJWiUwGfROiwCepHz2+sCu2OSN3CVI7R58tLGqYicwk4YYKOg +NyLJzHU9dFDb2Ho6UPuP2IEP/c/D0cJo7dHvPkGv/B50Ta5mZBFLUrrx0aC9/XNWi +t/sdjYvpddoKhGi/JXjdc+frbE7nFrY66eu014qVGygZQPEEgKavljf8ltRC6P5Nq Xl3zKTbG64yhtVO+lK7S6RXM3ey01oWUYp+6GBs47b5d74fGfCwBb2ahJbqV9qozKI DnSeTdBh7Y9dCBVGiTCZq9YuojTjQKdr2+orJcAcMbvj7a7mpqrt05719eGZTT2qOk sgy/jEHSfCbYA== Date: Wed, 2 Aug 2023 13:09:16 +0100 From: Mark Brown To: Shengjiu Wang Cc: Takashi Iwai , Hans Verkuil , Shengjiu Wang , sakari.ailus@iki.fi, tfiga@chromium.org, m.szyprowski@samsung.com, mchehab@kernel.org, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, Xiubo.Lee@gmail.com, festevam@gmail.com, nicoleotsuka@gmail.com, lgirdwood@gmail.com, perex@perex.cz, tiwai@suse.com, alsa-devel@alsa-project.org, linuxppc-dev@lists.ozlabs.org Subject: Re: [RFC PATCH v2 0/7] Add audio support in v4l2 framework Message-ID: References: <1690265540-25999-1-git-send-email-shengjiu.wang@nxp.com> <47d66c28-1eb2-07f5-d6f9-779d675aefe8@xs4all.nl> <87il9xu1ro.wl-tiwai@suse.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="s7JwRvdQJYqkq6dD" Content-Disposition: inline In-Reply-To: X-Cookie: Humpty Dumpty was pushed. X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --s7JwRvdQJYqkq6dD Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Aug 02, 2023 at 08:02:29PM +0800, Shengjiu Wang wrote: > On Wed, Aug 2, 2023 at 7:22=E2=80=AFPM Takashi Iwai wrote: > > Well, I personally don't mind to have some audio capability in v4l2 > > layer. But, the only uncertain thing for now is whether this is a > > must-have or not. > Thanks, I am also not sure about this. I am also confused that why > there is no m2m implementation for audio in the kernel. Audio also > has similar decoder encoder post-processing as video. This is the thing where we've been trying to persuade people to work on replacing DPCM with full componentisation for about a decade now but nobody's had time other than Morimoto-san who's been chipping away at making everything component based for a good chunk of that time. One trick is that we don't just want this to work for things that are memory to memory, we also want things where there's a direct interconnect that bypasses memory for off-SoC case. > The reason why I select to extend v4l2 for such audio usage is that v4l2 > looks best for this audio m2m implementation. v4l2 is designed for m2m > usage. if we need implement another 'route', I don't think it can do be= tter > that v4l2. > I appreciate that someone can share his ideas or doable solutions. > And please don't ignore my request, ignore my patch. There's a bunch of presentations Lars-Peter did at ELC some considerable time ago about this. --s7JwRvdQJYqkq6dD Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmTKR2sACgkQJNaLcl1U h9DDTwf/Xps9jJnts1SAD46EJPtve2N9sezS1xZvZgz0pluqjz+vDEyh+ediLcCy uoiOc/xZz8Odde64unpb8nKuJzfH8hwdn4JFEMc9capaRijhM9iYxSNlDK6p0wil AX82WXjRdrxyPbNJQgqYehJTbcydxIbewfCqG0ryrG+NeiAPZwR/p1IrCVzBrCZ5 E5+J4oQCAB7li51EuyZuihiImeoDS8LMbPJ5ciHXbhnXyIZaw8AvxTEz9d9llUl8 36hbfxrM24rlJDE16kRco/zHvMkK38W6fubovlGudON8xDoUBFZIPP3SWa5TRy7n j3xcxiC0N3R2xWsDWKC3p7rK6OoiYQ== =0Tfg -----END PGP SIGNATURE----- --s7JwRvdQJYqkq6dD--