From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9882D606A31A for ; Tue, 1 Dec 2026 20:43:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=BaXkcOSV Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 2946F10FD07; Tue, 1 Dec 2026 20:43:01 +0000 (UTC) Received: from tor.source.kernel.org (tor.source.kernel.org [172.105.4.254]) by gabe.freedesktop.org (Postfix) with ESMTPS id 2198710E418 for ; Tue, 1 Dec 2026 20:42:54 +0000 (UTC) Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by tor.source.kernel.org (Postfix) with ESMTP id 4FB9F61904; Tue, 1 Dec 2026 20:42:53 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E6B3E1F00893; Tue, 1 Dec 2026 20:42:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796157773; bh=EKApizuAWjy9CNJhJSazRItW+dOn10TWw+hGdN4g+78=; h=From:Subject:Reply-To:To:In-Reply-To:References:Date; b=BaXkcOSV+TPDo5/0cLKZMoXwqR9dGR4rr5T85fUpko5nFpdIVMBye2cH/CxaSxlju pZxB/nCV0YulWZmtMIM4OexRmio3PkyU7N9dJVrUsrE9WR0hpgmTtWcPQfoak8I4MT hmY3krs8DOxb+pLv9NgtO7+xUoVrB/vtQ+dqik6kzNGrBRS06KxZWiM3CSt2AjYXhi Spl5r8TOxKvlvOXz1lPrrP4f5u0Gf17SxbVBaRPaWOKUmUKHkso7kOiK1QcezmGovt ZkcFIbwVzefdusys0GzX9TqXrppLcQ37SLYRhD5w0ZBc1IHrPwUCX5/9ZGSFVTbhoW ViaGQOGxYF2fA== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH v2 12/30] drm/amd/display: Fix HDMI FRL no_timeout behavior To: "George Zhang" , amd-gfx@lists.freedesktop.org In-Reply-To: <20261201202451.463794-14-george.zhang@amd.com> References: <20261201202451.463794-2-george.zhang@amd.com> <20261201202451.463794-14-george.zhang@amd.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Tue, 01 Dec 2026 20:42:52 +0000 X-BeenThere: amd-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion list for AMD gfx List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: sashiko-reviews@lists.linux.dev Sender: "amd-gfx" X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 X-Archived-By: Thank you for your contribution! Sashiko AI review found 2 potential issues to consider: - [Medium] drm/amd/display: missing no_timeout polling rate increase claimed in changelog - [Low] drm/amd/display: missing Fixes trailer for commit c8d099259904 -- commit c6127408b449b7b1a69c9edf832e893b8033ab7e Author: Ilya Bakoulin > drm/amd/display: Fix HDMI FRL no_timeout behavior > > [Why/How] > Addresses a couple issues encountered while running compliance tests > that assert the no_timeout flag: > - Handle a couple of additional cases where link rate is not updated > properly during a no_timeout test sequence due to the link not being > cycled on/off > - Increase polling rate while no_timeout is asserted to ensure we > respond to updates in a reasonable amount of time (<10ms) > > Cc: Chris Park > Signed-off-by: Ilya Bakoulin > Signed-off-by: George Zhang [Severity: Low] Commit c8d099259904 ("drm/amd/display: Fix FFE test automation link rate change") added the no_timeout link-cycling logic in hdmi_frl_perform_link_training_with_fallback() but missed enable_link_hdmi_frl() and hdmi_frl_set_preferred_link_settings(). Should this include a Fixes: tag? Fixes: c8d099259904 ("drm/amd/display: Fix FFE test automation link rate = change") > diff --git a/drivers/gpu/drm/amd/display/dc/link/protocols/link_hdmi_frl.= c b/drivers/gpu/drm/amd/display/dc/link/protocols/link_hdmi_frl.c > index cb201c9ee3c63..2355881749408 100644 > --- a/drivers/gpu/drm/amd/display/dc/link/protocols/link_hdmi_frl.c > +++ b/drivers/gpu/drm/amd/display/dc/link/protocols/link_hdmi_frl.c > @@ -781,6 +781,20 @@ static enum link_result hdmi_frl_perform_link_traini= ng(struct ddc_service *ddc_s > return result; > } > =20 > +/* disable_link_output is a no-op while in FLT_no_timeout mode, so if th= e FRL > + * rate changed since the no_timeout training, cycle the link off here s= o that > + * the subsequent PHY setup properly applies the new link rate. > + */ > +void hdmi_frl_cycle_link_on_no_timeout_rate_change(struct dc_link *link) > +{ > + if (!link->frl_flags.no_timeout || > + link->frl_flags.no_timeout_frl_link_rate =3D=3D link->frl_link_settin= gs.frl_link_rate) > + return; > + > + link->hpo_frl_link_enc->funcs->disable_link_encoder(link->hpo_frl_link_= enc); > + link->link_enc->funcs->disable_output(link->link_enc, SIGNAL_TYPE_HDMI_= FRL); > +} [Severity: Medium] Was the polling rate change mentioned in the commit message omitted from this patch? The commit message says this patch increases the polling rate while no_timeout is asserted to respond in under 10ms, but the diff only extracts and calls hdmi_frl_cycle_link_on_no_timeout_rate_change(). hdmi_frl_status_polling_work() in amdgpu_dm_connector.c still schedules dm->hdmi_frl_status_polling_work with the fixed 200ms dm->hdmi_frl_status_polling_delay_ms interval when link->frl_flags.no_timeout is true. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261201202451.4637= 94-2-george.zhang@amd.com?part=3D12