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 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 2F71ACD3430 for ; Tue, 5 May 2026 11:41:49 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 711E610EA78; Tue, 5 May 2026 11:41:48 +0000 (UTC) Received: from h6.fbrelay.privateemail.com (h6.fbrelay.privateemail.com [162.0.218.229]) by gabe.freedesktop.org (Postfix) with ESMTPS id 1DB8C10EA78; Tue, 5 May 2026 11:41:47 +0000 (UTC) Received: from MTA-05-3.privateemail.com (mta-05.privateemail.com [198.54.127.60]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by h5.fbrelay.privateemail.com (Postfix) with ESMTPSA id 4g8xS84Ndwz2xdt; Tue, 5 May 2026 11:41:44 +0000 (UTC) Received: from hal-station.localdomain (bras-base-toroon4332w-grc-26-174-91-51-28.dsl.bell.ca [174.91.51.28]) by mta-05.privateemail.com (Postfix) with ESMTPA id 4g8xRR3Lb7z3hhTf; Tue, 5 May 2026 07:41:07 -0400 (EDT) Date: Tue, 5 May 2026 07:41:03 -0400 From: Hamza Mahfooz To: Mario Limonciello Cc: dri-devel@lists.freedesktop.org, Harry Wentland , Leo Li , Rodrigo Siqueira , Alex Deucher , Christian =?iso-8859-1?Q?K=F6nig?= , David Airlie , Simona Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Alex Hung , Ray Wu , Wayne Lin , Aurabindo Pillai , Timur =?iso-8859-1?Q?Krist=F3f?= , "Mario Limonciello (AMD)" , Ivan Lipski , Chenyu Chen , Matthew Schwartz , Yussuf Khalil , Tom Chung , Roman Li , Colin Ian King , Charlene Liu , Kees Cook , amd-gfx@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v5 1/2] drm/atomic: attempt full modeset on page flip timeout Message-ID: References: <20260501203552.749080-1-someguy@effective-light.com> <5dd93e29-a076-491b-9861-e08a0204c77d@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5dd93e29-a076-491b-9861-e08a0204c77d@amd.com> X-Rspamd-Queue-Id: 4g8xS84Ndwz2xdt X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On Mon, May 04, 2026 at 04:50:21PM -0500, Mario Limonciello wrote: > Do you actually need to set all 3 of these to true? > > I would think you only need: > > crtc_state->mode_changed = true; > According to my testing `mode_changed` on it's own is sufficient for amdgpu and the documentation [1] seems to suggest that it should be fine more broadly. Though, it doesn't seem harmful to set all of them just for safe measure. [1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/include/drm/drm_crtc.h?h=v7.1-rc2#n118