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 5EF0CC8303C for ; Mon, 7 Jul 2025 14:26:28 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 0187B10E4AA; Mon, 7 Jul 2025 14:26:28 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="WXgFnxf4"; dkim-atps=neutral Received: from nyc.source.kernel.org (nyc.source.kernel.org [147.75.193.91]) by gabe.freedesktop.org (Postfix) with ESMTPS id 566D310E4AA; Mon, 7 Jul 2025 14:26:26 +0000 (UTC) Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by nyc.source.kernel.org (Postfix) with ESMTP id 9C033A54046; Mon, 7 Jul 2025 14:26:25 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 44423C4CEE3; Mon, 7 Jul 2025 14:26:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1751898385; bh=pxxSWw0ZaWXiIlPKV16cK66booNTkS+AQKK4//X9m6Y=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=WXgFnxf49GUpq2xaGWsdgdw4o1mY2SGZjxw6Us19b5sh+qMPCUI4lV+8zMyKuqdFV K92lGix+rpjEtR3gM1oiZGNBPOA0ntfV+PCqKVMDAQHK/J9cVGqxqscMKMnxuZOcfi XjXMgkl5B5QbVwLPcPBe5/XweUBWYAXvHgGqFtwK+ajs7dQ2egbnS7G817K8Kfb/vN Z3Ywrz9Qs7BukE3GhziisRwLurpR7Qjtqqm7+bSV8838hzQgCt8RRQdAuYY9PXdevZ UByzCvf/rPm2kSpc7TPOtk4CmqW1pTyNUJ+E2IjCwr9BXkjqm0qtIi26xVtvz/L67S cB9yBqb8qSXXA== Message-ID: <91a3d9ca-0420-4f80-893d-708db57b3d13@kernel.org> Date: Mon, 7 Jul 2025 16:26:20 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 6/7] drm/nouveau: Add new callback for scheduler teardown To: Philipp Stanner Cc: Lyude Paul , David Airlie , Simona Vetter , Matthew Brost , =?UTF-8?Q?Christian_K=C3=B6nig?= , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Sumit Semwal , Tvrtko Ursulin , Pierre-Eric Pelloux-Prayer , dri-devel@lists.freedesktop.org, nouveau@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org References: <20250707134221.34291-2-phasta@kernel.org> <20250707134221.34291-8-phasta@kernel.org> From: Danilo Krummrich Content-Language: en-US In-Reply-To: <20250707134221.34291-8-phasta@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: nouveau@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Nouveau development list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: nouveau-bounces@lists.freedesktop.org Sender: "Nouveau" On 7/7/25 3:42 PM, Philipp Stanner wrote: > There is a new callback for always tearing the scheduler down in a > leak-free, deadlock-free manner. > > Port Nouveau as its first user by providing the scheduler with a > callback that ensures the fence context gets killed in drm_sched_fini(). > > Signed-off-by: Philipp Stanner Acked-by: Danilo Krummrich