Lines Matching refs:exec
67 struct drm_exec exec; in amdgpu_seq64_map() local
75 drm_exec_init(&exec, DRM_EXEC_INTERRUPTIBLE_WAIT, 0); in amdgpu_seq64_map()
76 drm_exec_until_all_locked(&exec) { in amdgpu_seq64_map()
77 r = amdgpu_vm_lock_pd(vm, &exec, 0); in amdgpu_seq64_map()
79 r = drm_exec_lock_obj(&exec, &bo->tbo.base); in amdgpu_seq64_map()
80 drm_exec_retry_on_contention(&exec); in amdgpu_seq64_map()
108 drm_exec_fini(&exec); in amdgpu_seq64_map()
124 struct drm_exec exec; in amdgpu_seq64_unmap() local
136 drm_exec_init(&exec, DRM_EXEC_INTERRUPTIBLE_WAIT, 0); in amdgpu_seq64_unmap()
137 drm_exec_until_all_locked(&exec) { in amdgpu_seq64_unmap()
138 r = amdgpu_vm_lock_pd(vm, &exec, 0); in amdgpu_seq64_unmap()
140 r = drm_exec_lock_obj(&exec, &bo->tbo.base); in amdgpu_seq64_unmap()
141 drm_exec_retry_on_contention(&exec); in amdgpu_seq64_unmap()
151 drm_exec_fini(&exec); in amdgpu_seq64_unmap()