Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp7050547rwr; Tue, 25 Apr 2023 07:29:15 -0700 (PDT) X-Google-Smtp-Source: AKy350Y03phIlWQvHdpwVkvPGNLYPTIgtYSNG3HxBVf8cRLzQt1JU5NW+SmqXh6xNTST5ep9CleC X-Received: by 2002:a05:6a20:3d82:b0:d8:f061:abab with SMTP id s2-20020a056a203d8200b000d8f061ababmr22739454pzi.5.1682432954671; Tue, 25 Apr 2023 07:29:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682432954; cv=none; d=google.com; s=arc-20160816; b=zcTS+BbmsXIYB3dbFgtsIkt0uKuxKYsZpMkRV6ontcnyu7Pr6yUX65NQQ0lttgtugb Kda8Fw/uHUU2bq+HIqzNKcgfrYsPrHukF916ho963Izg44rwZR9Ikf6O5hGjWxdt4hqn 8GDkvCqEfjMHOhymcDKz4LuOC9Zn0M/4OjwAR5iGneJjGg2c9u3QLUwBfNZjBKoyVtER uh3YoStuVBe0hmoGesXwzav2xfd4/rEFQM1uynOR5jgYPZcw3FwE1C8uMFtm4lljO89b BtQUfBaBD7oaPJm+j/pbk1phS/JAnfSrouzjjm0Htg30exhT1DE2l47EsjQOgItUDaLo 3RcA== 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=Vu12ON/WesxlB0hJUtT2BAKm7J4iDSBHK3E7w7ezOa8=; b=QzQQ6++6XUhPINya7gcgtWRvxaw1zr19zbftFNi/pB4oigxTrvOqTn5jm6x7Qe0syj Knb70WSLbPAztnoezEuDtp4+KOJ7JflHMMrxTmuGmkTeV06/MXP9VGMkE0mx+JgT13+c jPSAIm7Mn5MJMnRlUGFHMdVF8P/jnhQB/6GLbtfnlSk/xT7ouCWetdrBknM92e3pEBgf tpReDcm/NkmZI8gylobzutsOfUuMsoWSEh8Cr2fsuvorX4cSui1O6h4pTC+D4iOo3JGp 8CAq/a30xAb6mGxLjgjHLxrQCuxWfgC/We9qmIMHYpR6YTrCWD3fbXtyw4kifg8kzyTF ieEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=G3Giaw2g; dkim=neutral (no key) header.i=@suse.de; 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 x6-20020a170902ec8600b0019f3c9d839dsi11464242plg.576.2023.04.25.07.29.00; Tue, 25 Apr 2023 07:29:14 -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=G3Giaw2g; dkim=neutral (no key) header.i=@suse.de; 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 S234350AbjDYOSo (ORCPT + 99 others); Tue, 25 Apr 2023 10:18:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35728 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234368AbjDYOSn (ORCPT ); Tue, 25 Apr 2023 10:18:43 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 68E7115479 for ; Tue, 25 Apr 2023 07:18:15 -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-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 Cc: , , , , jasontao 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 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 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