Re: [PATCH v21 4/4] rust: drm: gem: Introduce shmem::Object::sg_table()

From: Danilo Krummrich

Date: Thu Jun 25 2026 - 17:24:50 EST


On Fri Jun 12, 2026 at 9:43 PM CEST, Lyude Paul wrote:
> In order to do this, we need to be careful to ensure that any interface we
> expose for scatterlists ensures that any mappings created from one are
> destroyed on driver-unbind. To do this, we introduce a Devres resource into
> shmem::Object that we use in order to ensure that we release any SGTable
> mappings on driver-unbind.

It seems that this patch was applied without also applying the prerequisite
patch (patch 3), which broke the build for the newly added kunit test -- I've
picked up prerequisite patch to resolve this.

Thanks,
Danilo