Re: [PATCH v5 08/19] rust: drm/gem: remove DeviceContext from shmem::Object

From: Alexandre Courbot

Date: Thu Jul 02 2026 - 00:52:48 EST


On Sun Jun 28, 2026 at 11:53 PM JST, Danilo Krummrich wrote:
> Now that AlwaysRefCounted is restricted to the Normal GEM Object
> context, there is no use for instantiating Object<T, C> with a
> non-Normal context. Remove the DeviceContext generic parameter from
> shmem::Object and all associated types (VMap, VMapRef, VMapOwned,
> DmaResvGuard, SGTableMap), simplifying the API.
>
> Signed-off-by: Danilo Krummrich <dakr@xxxxxxxxxx>

Reviewed-by: Alexandre Courbot <acourbot@xxxxxxxxxx>