Lines Matching refs:exec
234 struct drm_exec exec; in amdgpu_gem_object_close() local
237 drm_exec_init(&exec, DRM_EXEC_IGNORE_DUPLICATES, 0); in amdgpu_gem_object_close()
238 drm_exec_until_all_locked(&exec) { in amdgpu_gem_object_close()
239 r = drm_exec_prepare_obj(&exec, &bo->tbo.base, 1); in amdgpu_gem_object_close()
240 drm_exec_retry_on_contention(&exec); in amdgpu_gem_object_close()
244 r = amdgpu_vm_lock_pd(vm, &exec, 0); in amdgpu_gem_object_close()
245 drm_exec_retry_on_contention(&exec); in amdgpu_gem_object_close()
271 drm_exec_fini(&exec); in amdgpu_gem_object_close()
715 struct drm_exec exec; in amdgpu_gem_va_ioctl() local
776 drm_exec_init(&exec, DRM_EXEC_INTERRUPTIBLE_WAIT | in amdgpu_gem_va_ioctl()
778 drm_exec_until_all_locked(&exec) { in amdgpu_gem_va_ioctl()
780 r = drm_exec_lock_obj(&exec, gobj); in amdgpu_gem_va_ioctl()
781 drm_exec_retry_on_contention(&exec); in amdgpu_gem_va_ioctl()
786 r = amdgpu_vm_lock_pd(&fpriv->vm, &exec, 2); in amdgpu_gem_va_ioctl()
787 drm_exec_retry_on_contention(&exec); in amdgpu_gem_va_ioctl()
834 drm_exec_fini(&exec); in amdgpu_gem_va_ioctl()