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 59BA4CD4F39 for ; Thu, 14 May 2026 19:07:19 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B1BC510F31D; Thu, 14 May 2026 19:07:18 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="T021Zb7q"; dkim-atps=neutral Received: from sea.source.kernel.org (sea.source.kernel.org [172.234.252.31]) by gabe.freedesktop.org (Postfix) with ESMTPS id 22E2A10F31D for ; Thu, 14 May 2026 19:07:17 +0000 (UTC) Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sea.source.kernel.org (Postfix) with ESMTP id B9ACB42088; Thu, 14 May 2026 19:07:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B35E3C2BCB3; Thu, 14 May 2026 19:07:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1778785636; bh=eZ/bsr8dELRKsVaQsmQQFycLQQvD5qTpWQ3063ouFQQ=; h=Date:Subject:Cc:To:From:References:In-Reply-To:From; b=T021Zb7qWOYy/Ua5pZN5V8DGB71g0T8UIfLIRegjU+lPCG01pTw7G4g9jqXdGMl6Q Y6RillbUbaAMeAuDcrWm2oq0nDWe9g+1h40zuEtsYxG/DfZjxl+YTPB26ED1ON6L9u I6e+rSHTRnwVtbZb5dW353UMhOEpVN9A4SLTYfg46ul8pIl5mxtF+QSmNWwE5R/nTA oRs3VQsYBZHfrW66qep83BW/w8rdZ3mnUJfgGHypIt11Jz2GkiueA6JDu0wiWBgreD XyUiAJTGOC3ZCy562689R9cR6A8ojSz9sXCgthQnHrlX4KJvv6KwNmUnOikpqLiq1D Wva0bd3gXp6mQ== Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Thu, 14 May 2026 21:07:11 +0200 Message-Id: Subject: Re: [PATCH 0/6] rust: drm: Higher-Ranked Lifetime private data Cc: , , , , , , , , , , , , , , , , , , , To: "Deborah Brouwer" From: "Danilo Krummrich" References: <20260506221027.858481-1-dakr@kernel.org> In-Reply-To: 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 Thu May 14, 2026 at 8:59 PM CEST, Deborah Brouwer wrote: > let unreg_dev =3D drm::UnregisteredDevice::::new(pdev, data= )?; You shouldn't need this anymore as the drm::Registration itself has private= data now that is bound to the lifetime of the underlying bus device, which shoul= d be the correct lifetime for juggling the GPU page tables.