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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B251EC77B60 for ; Wed, 26 Apr 2023 12:05:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240772AbjDZMFA (ORCPT ); Wed, 26 Apr 2023 08:05:00 -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 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