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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 02792C6FD18 for ; Tue, 25 Apr 2023 14:19:14 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 0814710B2; Tue, 25 Apr 2023 16:18:22 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 0814710B2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1682432352; bh=fl0E9R5OCj0xvAm4T4t1JP4nnHoV0VoWaDCdmd6NFGc=; h=Date:From:To:Subject:In-Reply-To:References:CC:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=jXcnC3UUu4dueAh2WcWCMR5AyDvBIez84LO06kDSLvXWQreuldaUX6uL7zTB+DkLR gdZM63YGyENx6ZQD3QVJa03Npy0AuCSmJ5nxy7AVAeFLamUXagDr64zBH++BG1I0dD A1vKp73gTjAey6ofX6ystG4a9EeVpzt0iQm/MRhc= Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 80803F80236; Tue, 25 Apr 2023 16:17:57 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 6DB48F80236; Tue, 25 Apr 2023 16:17:53 +0200 (CEST) Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2001:67c:2178:6::1c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 07C59F800F8 for ; Tue, 25 Apr 2023 16:17:46 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 07C59F800F8 Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key, unprotected) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=G3Giaw2g; dkim=pass header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=642G+HuB Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id CAF6C219B9; Tue, 25 Apr 2023 14:17:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1682432265; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Vu12ON/WesxlB0hJUtT2BAKm7J4iDSBHK3E7w7ezOa8=; b=G3Giaw2g2Rgwxsvklqei7cjg1zNpYrv5GUvC0SuvY7Eee8ybL5VbUob+c5WySTaqO2a2CV bGUmgxESm+U412hv/2bF3BrisuyDMV4H92zO3teUW21XyjNELj7KjceamHu6K3lmNj4d35 k2wTllKpyPwtGsvqwbEBFSKBnDVdQRw= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1682432265; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Vu12ON/WesxlB0hJUtT2BAKm7J4iDSBHK3E7w7ezOa8=; b=642G+HuBISPdlEa06vvW/zGwzFhniASkCXNDqJSCzxPULrQSt8THbI/XA+8Uj7zkjhXWaI x5ed+EPmFmD8vlAg== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id A28EE138E3; Tue, 25 Apr 2023 14:17:45 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id JFruJgnhR2TgMwAAMHmgww (envelope-from ); Tue, 25 Apr 2023 14:17:45 +0000 Date: Tue, 25 Apr 2023 16:17:45 +0200 Message-ID: <875y9kujue.wl-tiwai@suse.de> From: Takashi Iwai To: Reaper Li Subject: Re: [PATCH v2] ALSA: hda: Glenfly: add HD Audio PCI IDs and HDMI Codec Vendor IDs. In-Reply-To: <20230425101524.8020-1-reaperlioc@glenfly.com> References: <20230425101524.8020-1-reaperlioc@glenfly.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/27.2 Mule/6.0 MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII Message-ID-Hash: YNKY4KN2HSMHDABHW6EI2HDGUH22GS32 X-Message-ID-Hash: YNKY4KN2HSMHDABHW6EI2HDGUH22GS32 X-MailFrom: tiwai@suse.de X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: tiwai@suse.com, linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org, jasontao X-Mailman-Version: 3.3.8 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: On Tue, 25 Apr 2023 12:15:24 +0200, Reaper Li wrote: > > From: jasontao > > Add a set of HD Audio PCI IDS, and the HDMI codec vendor IDs for > Glenfly Gpus. > > - In default_bdl_pos_adj, set bdl to 128 as Glenfly Gpus have hardware > limitation, need to increase hdac interrupt interval. > - In azx_first_init, enable polling mode for Glenfly Gpu. When the codec > complete the command, it sends interrupt and writes response entries to > memory, howerver, the write requests sometimes are not actually > synchronized to memory when driver handle hdac interrupt on Glenfly Gpus. > If the RIRB status is not updated in the interrupt handler, > azx_rirb_get_response keeps trying to recevie a response from rirb until > 1s timeout. Enabling polling mode for Glenfly Gpu can fix the issue. > - In patch_gf_hdmi, set Glenlfy Gpu Codec's no_sticky_stream as it need > driver to do actual clean-ups for the linked codec when switch from one > codec to another. > > Signed-off-by: jasontao > Signed-off-by: Reaper Li > --- > v2: add some comments for code and details in the commit log. This is almost fine, but could just correct minor warnings scripts/checkpatch.pl complains? thanks, Takashi