Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp683377rwr; Wed, 26 Apr 2023 05:11:01 -0700 (PDT) X-Google-Smtp-Source: AKy350Y5FcERmK14oG1E/LerdDl5E67eNsRSB44CjJ0mJ4Qt8eyWCvkHw/z/ujl5JR97XubbrYOZ X-Received: by 2002:a17:90b:1643:b0:247:6be7:8cc0 with SMTP id il3-20020a17090b164300b002476be78cc0mr19228878pjb.35.1682511060932; Wed, 26 Apr 2023 05:11:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682511060; cv=none; d=google.com; s=arc-20160816; b=oO8pabF28jUleQofmcqr8EmULEm69yLJVc/GH+4KfdrANKP28cDhCWvdpwvDSD5pno AQ+60NLaeSM8JcQu0mNxFMQXNrkWmfDgastPd1Ju0EkZgIGE+E9Nd2ToxBCK4yRPwqcZ IPUCRBlKD6h1PR1JYeWDbJbhSD5XxL5axARzDzborHERRc/jditfCE6A2I5rcqC3DUL7 n1J11Ag30OVSsCG6AQKjlRA7zEPFR+Ile96z6PZ2YXbqr3fwHrc2s1jJZ5PoXPYNLmRM 98nXHCMMezfw1pfAB2p2w4U0n7WYhETgGZupEZvULsDjBHuVrV4UR6k73+jKpVypjtfi aJpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:in-reply-to :subject:cc:to:from:message-id:date:dkim-signature:dkim-signature; bh=Vv+d8hvQmtbiybvPsnkkRcQoW8qvResZuaOZsC2zTfo=; b=IV/0ChWLlyCTlQDaymQlJcJ6qCBtVyiZdSYRrA9NI2EtqRz2AXP0PLAMYS8+UbcG9H ockxVUQEA5m1Qu1a3+NaQmlyn5PTWht8zXE5IFXN5a4xiefr+5VUoZz4BH7U6BhYBMM/ OXA+k1rBZ76L0QW+aNHZl0ZQLOX8U8oHd0s1bEH+xBglKH/D+zJGaB2ymLhEDha5Izu4 Xp1W45ohgIlr/h834kGceSh1xxp6ot20Y/NJ8qyO8xIGPSTrx8VniEqXP05cLV9ni5/u tH0ldWo7vzruPA6+eZHdWOQd8ohsk4W0GgPMUuU5kPigJM556+ZR+Hrx3lSrCkaP5mza CCSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=TypdDQlv; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; 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=suse.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z13-20020a1709027e8d00b0019a78d4c761si15890651pla.93.2023.04.26.05.10.43; Wed, 26 Apr 2023 05:11:00 -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=@suse.de header.s=susede2_rsa header.b=TypdDQlv; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; 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=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240769AbjDZME7 (ORCPT + 99 others); Wed, 26 Apr 2023 08:04:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57104 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240267AbjDZME5 (ORCPT ); Wed, 26 Apr 2023 08:04:57 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E1BECF3 for ; Wed, 26 Apr 2023 05:04:56 -0700 (PDT) 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-out2.suse.de (Postfix) with ESMTPS id A28DE1FDC9; Wed, 26 Apr 2023 12:04:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1682510695; 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=Vv+d8hvQmtbiybvPsnkkRcQoW8qvResZuaOZsC2zTfo=; b=TypdDQlvS0ZydlkFdOLR2JT8Bi4rbUZTju8xUI7tO7qHV6yC+T+XHr3j2ZRPK+6Y/Ok2RX 3LkWyPaWwJUwQ+JMDR0ltl7+3Uh2NpTN/nF2PHGBKGisk1fRiocw/UoBslwRG1M7BrFOMe i6dEXDycqXqPT8gJaPNYk+fnpZ+GjcA= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1682510695; 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=Vv+d8hvQmtbiybvPsnkkRcQoW8qvResZuaOZsC2zTfo=; b=wEAYjaIstFvaf+dxqFf199AxEUfHjfmrkExxSY3naJexnOvTmXRfryP+F0Lkp16hFs7W8s Qknz+JdS0b5DTgDQ== 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 8D03C13421; Wed, 26 Apr 2023 12:04:55 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id nbflIWcTSWQ4EgAAMHmgww (envelope-from ); Wed, 26 Apr 2023 12:04:55 +0000 Date: Wed, 26 Apr 2023 14:04:55 +0200 Message-ID: <878reeonmg.wl-tiwai@suse.de> From: Takashi Iwai To: Reaper Li Cc: , , , , jasontao Subject: Re: [PATCH v3] ALSA: hda: Glenfly: add HD Audio PCI IDs and HDMI Codec Vendor IDs. In-Reply-To: <20230426013059.4329-1-reaperlioc@glenfly.com> References: <20230426013059.4329-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 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 On Wed, 26 Apr 2023 03:30:59 +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 > --- > v3: fix warnings for the patch. > v2: add some comments for code and details in the commit log. Thanks, applied now. Takashi