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.5 required=3.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED 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 06CF1C433DF for ; Fri, 21 Aug 2020 07:12:46 +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 5A3A22078D for ; Fri, 21 Aug 2020 07:12:45 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="JvcLiCoK"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="pbAIL/rQ" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5A3A22078D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.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 CCE2C166B; Fri, 21 Aug 2020 09:11:53 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz CCE2C166B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1597993963; bh=PIQOGothtnLFZt78Xvj62XGMba01CFg78S4FbXoNPTg=; h=References:In-Reply-To:From:Date:Subject:To:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=JvcLiCoKOG1wtfPw2HUS3Ofb66TSOF90ZuPZIQ45g5nk2Oqs8HX8ZcBWIUoBPGE1t AGEMp3zs8A5exxTHKc+LJzRYJMPA/Txgi12dR5AK83wfHEyjorwOPOkYcCr2I4SyCf FRh7pxNZR24udxnLxnTSkTDAmS44y3wIU8A49NtQ= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 513A3F80216; Fri, 21 Aug 2020 09:11:53 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 25FB8F80218; Fri, 21 Aug 2020 09:11:52 +0200 (CEST) Received: from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com [IPv6:2a00:1450:4864:20::42e]) (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 0DD98F800D3 for ; Fri, 21 Aug 2020 09:11:41 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 0DD98F800D3 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="pbAIL/rQ" Received: by mail-wr1-x42e.google.com with SMTP id f7so1017770wrw.1 for ; Fri, 21 Aug 2020 00:11:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=PIQOGothtnLFZt78Xvj62XGMba01CFg78S4FbXoNPTg=; b=pbAIL/rQwSZOVREIzWP5AZpMrXceQpap5AfjycHayfdWLmWkkP34smXv2gpM3wCIS2 ZNJN3eyQ22M32THpzVD/O8w2c6rZQ6/fmKieN3/5OEEwne23SILS5e9JxxeQ4IZ1KUos /+KI9Osr0ug2Fm00II2CAOA3FHCMaPhD+KH2q1qIHcCYRLpn/DEOAKuEinhuR52pGJGL aH6ukp0MiZjCZqH1nW76rXu4vxRtLi9w5t02qkJANJqs0y61QVG0vNu+la6JWP4vNxZ1 EPvK6IzvO9DHtS3FgEppJRot2LmqeYGqy7g4H2Um++qXnYTIG0yxIEmZsF4Fy92VitP/ /2xw== 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=PIQOGothtnLFZt78Xvj62XGMba01CFg78S4FbXoNPTg=; b=TNIctMeVM3ckbBUuBBq96BhR8DOP8xjVbx5WOxN91bWaG9vuCVCSsATLHVD9Zk791N fxjWXSCzKD+numdKEVc46Bk3P4iB2au11sj7yYmqz1ehBzyv4U4ppHc8npmEZ23faeXa OOCdO/Y0t5FVd+CnTlTONkEJKY17kLSlZRkVLjEH2vOPdEhtNR1dVjRtgrO+S9clHhVb jHsHnvxKoJa1UAWAksgJDwfKn3vxko2XHK9VixN+WuoHwTSRNENZLUXlLvWY5MD5q8jV YWcs1iT7ea9O273ntdmJmf7Q0QaU/wqItvVDmXZxpuMXo00ICU9jF6H9AMuMBYKKftDx yyrA== X-Gm-Message-State: AOAM531NY4QcENTsdZ5Y3xgaydWCtEvYDvFx0A7HUGGedH1GPI+8Sfhw vuCXDoLbFXSRWCZ9qvCju64QaPndpcegu4OJKxQ= X-Google-Smtp-Source: ABdhPJyhusNPFvsraHcL4n65gslUil1jiSzGmRnLwhTSCpbW1p4KbLCq3fh6DLWciu0ZOjm/2fzKXd9OGNYNTLkWhrA= X-Received: by 2002:a5d:414d:: with SMTP id c13mr1374700wrq.78.1597993900282; Fri, 21 Aug 2020 00:11:40 -0700 (PDT) MIME-Version: 1.0 References: <87k0xszlep.wl-kuninori.morimoto.gx@renesas.com> In-Reply-To: <87k0xszlep.wl-kuninori.morimoto.gx@renesas.com> From: Daniel Baluta Date: Fri, 21 Aug 2020 10:11:29 +0300 Message-ID: Subject: Re: More Generic Audio Graph Sound Card idea To: Kuninori Morimoto Content-Type: text/plain; charset="UTF-8" Cc: Sameer Pujar , Mark Brown , Pierre-Louis Bossart , Linux-ALSA 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 Fri, Aug 21, 2020 at 7:16 AM Kuninori Morimoto wrote: > > > Hi Mark > Cc Pierre-Louis, Sameer > > Current audio-graph-card driver has DPCM support, > but it is limited (= Mix/Mux/TDM-split/rate-convert/channel-convert). > It was expanded forcibly expanded. > > Because of it, the connection judgement for normal vs DPCM is tricky. > I know Pierre-Louis want to use it for SOF, but something is missing, > thus, can't use (?). Hi Morimoto-san, Thanks for having a look at this. I also tried to use generic machine driver (simple-card) with SOF but I had some trouble creating desired DPCM links. Main limitation of simple-card is that there is no direct way of specifying DPCM links. I had an attempt to introduce a more flexible approach for that here: https://lkml.org/lkml/2019/10/13/123 but obviously we can do better than that. For now, I'm using only normal links with simple-audio card and it works fine for me with SOF, but in the future I think we might need to expand that.