Re: [PATCH 1/2] drm: execution context for GEM buffers v5

2023-06-22 Thread Danilo Krummrich
On Wed, Jun 21, 2023 at 03:36:59PM +0200, Christian König wrote: > This adds the infrastructure for an execution context for GEM buffers > which is similar to the existing TTMs execbuf util and intended to replace > it in the long term. > > The basic functionality is that we abstracts the necessar

Re: [PATCH 1/2] drm: execution context for GEM buffers v5

2023-06-21 Thread Boris Brezillon
On Wed, 21 Jun 2023 18:51:59 +0200 Boris Brezillon wrote: > On Wed, 21 Jun 2023 15:36:59 +0200 > "Christian König" wrote: > > > +/** > > + * drm_exec_until_all_locked - loop until all GEM objects are locked > > + * @exec: drm_exec object > > + * > > + * Core functionality of the drm_exec object

Re: [PATCH 1/2] drm: execution context for GEM buffers v5

2023-06-21 Thread Boris Brezillon
On Wed, 21 Jun 2023 15:36:59 +0200 "Christian König" wrote: > +/** > + * drm_exec_until_all_locked - loop until all GEM objects are locked > + * @exec: drm_exec object > + * > + * Core functionality of the drm_exec object. Loops until all GEM objects are > + * locked and no more contention exists

Re: [PATCH 1/2] drm: execution context for GEM buffers v5

2023-06-21 Thread Boris Brezillon
Hi Christian, On Wed, 21 Jun 2023 15:36:59 +0200 "Christian König" wrote: > This adds the infrastructure for an execution context for GEM buffers > which is similar to the existing TTMs execbuf util and intended to replace > it in the long term. > > The basic functionality is that we abstracts

Re: [PATCH 1/2] drm: execution context for GEM buffers v5

2023-06-21 Thread Intel
On 6/21/23 15:36, Christian König wrote: This adds the infrastructure for an execution context for GEM buffers which is similar to the existing TTMs execbuf util and intended to replace it in the long term. The basic functionality is that we abstracts the necessary loop to lock many different

[PATCH 1/2] drm: execution context for GEM buffers v5

2023-06-21 Thread Christian König
This adds the infrastructure for an execution context for GEM buffers which is similar to the existing TTMs execbuf util and intended to replace it in the long term. The basic functionality is that we abstracts the necessary loop to lock many different GEM buffers with automated deadlock and dupli