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=-6.7 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,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 3970CC43331 for ; Fri, 6 Sep 2019 15:28:37 +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 BA460214DE for ; Fri, 6 Sep 2019 15:28:36 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="sSFtRL0N" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BA460214DE Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=suse.de 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 BD5D515E4; Fri, 6 Sep 2019 17:12:33 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz BD5D515E4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1567782803; bh=qd766R4Y2a90kyBMg4v99m3JIbf8Yqxwoz9NjwGL4VY=; h=Date:From:To:In-Reply-To:References:Cc:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=sSFtRL0Nshv0YFAy8432LIZvphPJpexTWRlC0ZmWg3VoUIK++i4aWeYmwLT/c/vK6 DCI3CGroXbLAoxxFJqclnUZzsry88VXW+/WFXNSAwM4WsuyfMfgfjpDiNd/EPjwL8+ Z42waS0sZYeOJjNvXWOUBeZ2fyEX67EjphRWonI4= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 48E6BF80390; Fri, 6 Sep 2019 17:12:33 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 05259F80394; Fri, 6 Sep 2019 17:12:32 +0200 (CEST) Received: from mx1.suse.de (mx2.suse.de [195.135.220.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 5C590F80214 for ; Fri, 6 Sep 2019 17:12:28 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 5C590F80214 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 5CBA3B601; Fri, 6 Sep 2019 15:12:28 +0000 (UTC) Date: Fri, 06 Sep 2019 17:12:28 +0200 Message-ID: From: Takashi Iwai To: Kai Vehmanen In-Reply-To: <20190906142909.770-2-kai.vehmanen@linux.intel.com> References: <20190906142909.770-1-kai.vehmanen@linux.intel.com> <20190906142909.770-2-kai.vehmanen@linux.intel.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/25.3 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Cc: libin.yang@intel.com, alsa-devel@alsa-project.org, pierre-louis.bossart@linux.intel.com Subject: Re: [alsa-devel] [RFC PATCH v2 1/6] ALSA: hda - add mst_no_extra_pcms flag to hda_codec 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" On Fri, 06 Sep 2019 16:29:04 +0200, Kai Vehmanen wrote: > > Add a flag to hda_codec struct to control whether legacy PCM > numbering should be followed in DP-MST mode. When set, no backup > PCMs will be created and PCM count is limited to number of > converters. Let's combine this and patch 4, the actual change in HDMI codec driver with the flag. It'll make the meaning of the flag clearer. thanks, Takashi > > Signed-off-by: Kai Vehmanen > --- > include/sound/hda_codec.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/include/sound/hda_codec.h b/include/sound/hda_codec.h > index 9a0393cf024c..ac18f428eda6 100644 > --- a/include/sound/hda_codec.h > +++ b/include/sound/hda_codec.h > @@ -254,6 +254,7 @@ struct hda_codec { > unsigned int force_pin_prefix:1; /* Add location prefix */ > unsigned int link_down_at_suspend:1; /* link down at runtime suspend */ > unsigned int relaxed_resume:1; /* don't resume forcibly for jack */ > + unsigned int mst_no_extra_pcms:1; /* no backup PCMs for DP-MST */ > > #ifdef CONFIG_PM > unsigned long power_on_acct; > -- > 2.17.1 > _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org https://mailman.alsa-project.org/mailman/listinfo/alsa-devel