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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 B129EEA811F for ; Tue, 10 Feb 2026 14:19:53 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 59D7B10E5A4; Tue, 10 Feb 2026 14:19:53 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="E+rrf9ds"; dkim-atps=neutral Received: from tor.source.kernel.org (tor.source.kernel.org [172.105.4.254]) by gabe.freedesktop.org (Postfix) with ESMTPS id 15E3110E5A0 for ; Tue, 10 Feb 2026 14:19:52 +0000 (UTC) Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by tor.source.kernel.org (Postfix) with ESMTP id 076526013D; Tue, 10 Feb 2026 14:19:51 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4A938C16AAE; Tue, 10 Feb 2026 14:19:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1770733190; bh=D6IBRmwkpXqq652WeoGBuAPJWRUH/B5JK4uk444pcSw=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=E+rrf9dsR6suqkzKzYbBNQoeDkXqcL9yahmz6F6YH9DHubLKI2f77BqslTDBynPTb W2iG5xjXI9wRylIlncjD6wcKMkbnyC0JcAcXWVY4dRM3neNwiNh6PdvHd6pFhNgGP0 OBhoobFCXa37Bjz8dfZF1tEIxFGLKbQGBa7EyoXo//DIiCRW/J3fzuY86HFjxFmLTq 6FJ13f0F4LYp4UQTo4tnTb8lXTP6E62OPJ48Sy2atJ7c5HpldsTrQSExGqs5AQ+KR1 PMSYvymecfTLPeMkTDbEK/JXDyWrTXc069q7Bx8GshIwCmOLg+iBe9bAbhzUGSLdxq r1KbYUVk6kByg== Message-ID: Date: Tue, 10 Feb 2026 08:19:48 -0600 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 15/18] drm/amd/display: Correct logic check error for fastboot To: Ray Wu , amd-gfx@lists.freedesktop.org, =?UTF-8?Q?Timur_Krist=C3=B3f?= , Matthew Schwartz Cc: Harry Wentland , Leo Li , Aurabindo Pillai , Roman Li , Wayne Lin , Tom Chung , Fangzhi Zuo , Dan Wheeler , Ivan Lipski , Alex Hung , Charlene Liu , Ovidiu Bunea References: <20260210135353.848421-1-ray.wu@amd.com> <20260210135353.848421-16-ray.wu@amd.com> Content-Language: en-US From: Mario Limonciello In-Reply-To: <20260210135353.848421-16-ray.wu@amd.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: amd-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion list for AMD gfx List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: amd-gfx-bounces@lists.freedesktop.org Sender: "amd-gfx" ++ On 2/10/26 7:50 AM, Ray Wu wrote: > From: Charlene Liu > > [Why] > Fix fastboot broken in driver. > This is caused by an open source backport change 7495962c. > > from the comment, the intended check is to disable fastboot > for pre-DCN10. but the logic check is reversed, and causes > fastboot to be disabled on all DCN10 and after. > > fastboot is for driver trying to pick up bios used hw setting > and bypass reprogramming the hw if dc_validate_boot_timing() > condition meets. > > Reviewed-by: Ovidiu Bunea > Signed-off-by: Charlene Liu > Signed-off-by: Ray Wu 7495962c was already applied to 6.19. This should go to stable to avoid fastboot being broken in 6.19.y. Fixes: 7495962cbceb9 ("drm/amd/display: Disable fastboot on DCE 6 too") Cc: stable@vger.kernel.org Reviewed-by: Mario Limonciello (AMD) > --- > drivers/gpu/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/gpu/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c b/drivers/gpu/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c > index 4659e1b489ba..4277b6761522 100644 > --- a/drivers/gpu/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c > +++ b/drivers/gpu/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c > @@ -1964,8 +1964,8 @@ void dce110_enable_accelerated_mode(struct dc *dc, struct dc_state *context) > > get_edp_streams(context, edp_streams, &edp_stream_num); > > - /* Check fastboot support, disable on DCE 6-8 because of blank screens */ > - if (edp_num && edp_stream_num && dc->ctx->dce_version < DCE_VERSION_10_0) { > + /* Check fastboot support, disable on DCE 6-8-10 because of blank screens */ > + if (edp_num && edp_stream_num && dc->ctx->dce_version > DCE_VERSION_10_0) { > for (i = 0; i < edp_num; i++) { > edp_link = edp_links[i]; > if (edp_link != edp_streams[0]->link)