Lines Matching refs:exec
69 struct drm_exec exec; in amdgpu_map_static_csa() local
72 drm_exec_init(&exec, DRM_EXEC_INTERRUPTIBLE_WAIT, 0); in amdgpu_map_static_csa()
73 drm_exec_until_all_locked(&exec) { in amdgpu_map_static_csa()
74 r = amdgpu_vm_lock_pd(vm, &exec, 0); in amdgpu_map_static_csa()
76 r = drm_exec_lock_obj(&exec, &bo->tbo.base); in amdgpu_map_static_csa()
77 drm_exec_retry_on_contention(&exec); in amdgpu_map_static_csa()
101 drm_exec_fini(&exec); in amdgpu_map_static_csa()
109 struct drm_exec exec; in amdgpu_unmap_static_csa() local
112 drm_exec_init(&exec, DRM_EXEC_INTERRUPTIBLE_WAIT, 0); in amdgpu_unmap_static_csa()
113 drm_exec_until_all_locked(&exec) { in amdgpu_unmap_static_csa()
114 r = amdgpu_vm_lock_pd(vm, &exec, 0); in amdgpu_unmap_static_csa()
116 r = drm_exec_lock_obj(&exec, &bo->tbo.base); in amdgpu_unmap_static_csa()
117 drm_exec_retry_on_contention(&exec); in amdgpu_unmap_static_csa()
133 drm_exec_fini(&exec); in amdgpu_unmap_static_csa()