[Intel-xe] [RFC PATCH 5/7] drm/xe: Take in-syncs into account when num_execs or num_binds == 0

Matthew Brost matthew.brost at intel.com
Tue Dec 12 17:18:23 UTC 2023


On Fri, Dec 08, 2023 at 04:04:57PM +0100, Thomas Hellström wrote:
> 
> On 12/7/23 06:57, Matthew Brost wrote:
> > Wait on in-syncs before signaling out-syncs if num_execs or num_binds ==
> > 0 in execbuf IOCTL or VM bind IOCTL respectfully.
> > 
> > v2: Wait on last fence in addition to in-fences (Thomas)
> > v3: Use function for in-fence signaling
> > 
> > Signed-off-by: Matthew Brost <matthew.brost at intel.com>
> > ---
> >   drivers/gpu/drm/xe/xe_exec.c | 10 ++++-
> >   drivers/gpu/drm/xe/xe_sync.c | 74 ++++++++++++++++++++++++++++++++++++
> >   drivers/gpu/drm/xe/xe_sync.h |  5 +++
> >   drivers/gpu/drm/xe/xe_vm.c   | 41 ++++++++++++++++----
> >   4 files changed, 121 insertions(+), 9 deletions(-)
> 
> Should we move patch 5/7 and 6/7 up the series to that everything works as
> expected when we enable the functionality.
> 

5/6 build on 3/4, how about we squash them into a single patch?

Matt

> Reviewed-by: Thomas Hellström <thomas.hellstrom at linux.intel.com>
> 
> 


More information about the Intel-xe mailing list