Hi Christian > On 22 May 2025, at 05:44, Christian König <christian.koe...@amd.com> wrote: > > On 5/21/25 22:29, Lyude Paul wrote: >> From: Asahi Lina <l...@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