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

Thomas Hellström thomas.hellstrom at linux.intel.com
Fri Dec 8 15:04:57 UTC 2023


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.

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




More information about the Intel-xe mailing list