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 E6FEDD2592A for ; Wed, 28 Jan 2026 10:55:01 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 6FD3110E64C; Wed, 28 Jan 2026 10:55:01 +0000 (UTC) Received: from MTA-15-3.privateemail.com (MTA-15-3.privateemail.com [198.54.122.111]) by gabe.freedesktop.org (Postfix) with ESMTPS id A9E9810E17B; Tue, 27 Jan 2026 22:45:19 +0000 (UTC) Received: from mta-15.privateemail.com (localhost [127.0.0.1]) by mta-15.privateemail.com (Postfix) with ESMTP id 4f10q242sJz3hhZ9; Tue, 27 Jan 2026 17:45:18 -0500 (EST) Received: from hal-station (unknown [124.198.132.52]) by mta-15.privateemail.com (Postfix) with ESMTPA; Tue, 27 Jan 2026 17:44:45 -0500 (EST) Date: Tue, 27 Jan 2026 17:44:40 -0500 From: Hamza Mahfooz To: Mario Limonciello Cc: Timur =?iso-8859-1?Q?Krist=F3f?= , dri-devel@lists.freedesktop.org, Christian =?iso-8859-1?Q?K=F6nig?= , Alex Deucher , David Airlie , Simona Vetter , Harry Wentland , Leo Li , Rodrigo Siqueira , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Sunil Khatri , Ce Sun , Lijo Lazar , Kenneth Feng , Ivan Lipski , Alex Hung , Tom Chung , Melissa Wen , Michel =?iso-8859-1?Q?D=E4nzer?= , Fangzhi Zuo , amd-gfx@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] drm: introduce page_flip_timeout() Message-ID: References: <20260123000537.2450496-1-someguy@effective-light.com> <2de6d428-b997-4ba8-8766-a211e5612e72@amd.com> <2349754.vFx2qVVIhK@timur-hyperion> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Virus-Scanned: ClamAV using ClamSMTP X-Mailman-Approved-At: Wed, 28 Jan 2026 10:55:00 +0000 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" The normal suspend-resume path doesn't seem to be enough (I end up hitting [0] and [1] actually). However, if I force it to take the reset path (using amdgpu_device_lock_reset_domain()/amdgpu_device_unlock_reset_domain()), that does seem to do the trick. [0] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c?h=v6.19-rc7#n3161 [1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c?h=v6.19-rc7#n3171