[PATCH v2 01/12] rust: helpers: Add bindings/wrappers for dma_resv_lock
Daniel Almeida
daniel.almeida at collabora.com
Thu May 22 15:03:27 UTC 2025
Hi Christian
> On 22 May 2025, at 05:44, Christian König <christian.koenig at amd.com> wrote:
>
> On 5/21/25 22:29, Lyude Paul wrote:
>> From: Asahi Lina <lina at asahilina.net>
>>
>> This is just for basic usage in the DRM shmem abstractions for implied
>> locking, not intended as a full DMA Reservation abstraction yet.
>
> Looks good in general, but my question is if it wouldn't be better to export the higher level drm_exec component instead?
>
> The drm_exec component implements the necessary loop if you want to lock multiple GEM objects at the same time. As well as makes sure that those GEM objects can't be released while working with them.
>
> Regtards,
> Christian.
>
I guess Danilo is the right person to ask, but IIRC the plan was to expose the
exec logic as part of the GPUVM abstraction, which is currently work in
progress.
— Daniel
More information about the dri-devel
mailing list