Lines Matching refs:exec
70 struct drm_exec exec; in amdgpu_map_static_csa() local
73 drm_exec_init(&exec, DRM_EXEC_INTERRUPTIBLE_WAIT); in amdgpu_map_static_csa()
74 drm_exec_until_all_locked(&exec) { in amdgpu_map_static_csa()
75 r = amdgpu_vm_lock_pd(vm, &exec, 0); in amdgpu_map_static_csa()
77 r = drm_exec_lock_obj(&exec, &bo->tbo.base); in amdgpu_map_static_csa()
78 drm_exec_retry_on_contention(&exec); in amdgpu_map_static_csa()
102 drm_exec_fini(&exec); in amdgpu_map_static_csa()
110 struct drm_exec exec; in amdgpu_unmap_static_csa() local
113 drm_exec_init(&exec, DRM_EXEC_INTERRUPTIBLE_WAIT); in amdgpu_unmap_static_csa()
114 drm_exec_until_all_locked(&exec) { in amdgpu_unmap_static_csa()
115 r = amdgpu_vm_lock_pd(vm, &exec, 0); in amdgpu_unmap_static_csa()
117 r = drm_exec_lock_obj(&exec, &bo->tbo.base); in amdgpu_unmap_static_csa()
118 drm_exec_retry_on_contention(&exec); in amdgpu_unmap_static_csa()
134 drm_exec_fini(&exec); in amdgpu_unmap_static_csa()