diff options
| author | Matthew Brost <matthew.brost@intel.com> | 2023-04-17 02:17:43 +0300 |
|---|---|---|
| committer | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2023-12-20 02:33:51 +0300 |
| commit | ed1df9897434a1da3f86c868825450fef47def23 (patch) | |
| tree | 8d2f606475e309512cb4981ffc0002560132b6bd | |
| parent | 9afd4b2d2a8df9023849ddd25d5e064b6555ee34 (diff) | |
| download | linux-ed1df9897434a1da3f86c868825450fef47def23.tar.xz | |
drm/xe: Allow compute VMs to output dma-fences on binds
Binds are not long running jobs thus we can export dma-fences even if a
VM is in compute mode.
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
| -rw-r--r-- | drivers/gpu/drm/xe/xe_vm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/xe/xe_vm.c b/drivers/gpu/drm/xe/xe_vm.c index d9579bf5002d..62496a4008d2 100644 --- a/drivers/gpu/drm/xe/xe_vm.c +++ b/drivers/gpu/drm/xe/xe_vm.c @@ -3166,7 +3166,7 @@ int xe_vm_bind_ioctl(struct drm_device *dev, void *data, struct drm_file *file) for (num_syncs = 0; num_syncs < args->num_syncs; num_syncs++) { err = xe_sync_entry_parse(xe, xef, &syncs[num_syncs], &syncs_user[num_syncs], false, - xe_vm_no_dma_fences(vm)); + xe_vm_in_fault_mode(vm)); if (err) goto free_syncs; } |
