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 86900EF584C for ; Sat, 14 Feb 2026 22:17:45 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id D51C310E33F; Sat, 14 Feb 2026 22:17:44 +0000 (UTC) Received: from h5.fbrelay.privateemail.com (h5.fbrelay.privateemail.com [162.0.218.228]) by gabe.freedesktop.org (Postfix) with ESMTPS id 5C3E410E33F; Sat, 14 Feb 2026 22:17:43 +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 4fD3Lq5lG9z2x9F; Sat, 14 Feb 2026 22:17:39 +0000 (UTC) Received: from hal-station (unknown [23.129.64.188]) by mta-05.privateemail.com (Postfix) with ESMTPA id 4fD3L93FwCz3hhTK; Sat, 14 Feb 2026 17:17:05 -0500 (EST) Date: Sat, 14 Feb 2026 17:16:59 -0500 From: Hamza Mahfooz To: Michel =?iso-8859-1?Q?D=E4nzer?= Cc: Mario Limonciello , 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 , Wayne Lin , Aurabindo Pillai , Ivan Lipski , Timur =?iso-8859-1?Q?Krist=F3f?= , Dominik Kaszewski , amd-gfx@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 1/2] drm: introduce KMS recovery mechanism Message-ID: References: <20260212230905.688006-1-someguy@effective-light.com> <2e359cd9-0192-44d0-886f-7f93a8b0a4fa@amd.com> <85319290-4027-4eb8-95d1-9009d23f2294@mailbox.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <85319290-4027-4eb8-95d1-9009d23f2294@mailbox.org> X-Rspamd-Queue-Id: 4fD3Lq5lG9z2x9F 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 Sat, Feb 14, 2026 at 03:02:49PM +0100, Michel Dänzer wrote: > Why couldn't a full modeset? > As far as I see it the only reasons why we should be timing out is either an interrupt went missing (perhaps due to a race condition in driver code) or hung hardware. In either case, the interrupt associated with the page flip for the current commit is long gone. > In principle it's possible to do (the equivalent of) a modeset with the current state for all CRTCs, no need to do it separately per CRTC. AFAIK that is what the uevent is already doing (unless I'm mistaken).