Lines Matching refs:msm_obj

115 		struct msm_gem_object *msm_obj;  in submit_lookup_objects()  local
127 msm_obj = to_msm_bo(obj); in submit_lookup_objects()
129 if (!list_empty(&msm_obj->submit_entry)) { in submit_lookup_objects()
138 submit->bos[i].obj = msm_obj; in submit_lookup_objects()
140 list_add_tail(&msm_obj->submit_entry, &submit->bo_list); in submit_lookup_objects()
155 struct msm_gem_object *msm_obj = submit->bos[i].obj; in submit_unlock_unpin_bo() local
158 msm_gem_unpin_iova(&msm_obj->base, submit->aspace); in submit_unlock_unpin_bo()
161 ww_mutex_unlock(&msm_obj->base.resv->lock); in submit_unlock_unpin_bo()
176 struct msm_gem_object *msm_obj = submit->bos[i].obj; in submit_lock_objects() local
184 ret = ww_mutex_lock_interruptible(&msm_obj->base.resv->lock, in submit_lock_objects()
204 struct msm_gem_object *msm_obj = submit->bos[contended].obj; in submit_lock_objects() local
206 ret = ww_mutex_lock_slow_interruptible(&msm_obj->base.resv->lock, in submit_lock_objects()
223 struct msm_gem_object *msm_obj = submit->bos[i].obj; in submit_fence_sync() local
232 ret = dma_resv_reserve_shared(msm_obj->base.resv, in submit_fence_sync()
241 ret = msm_gem_sync_object(&msm_obj->base, submit->ring->fctx, in submit_fence_sync()
257 struct msm_gem_object *msm_obj = submit->bos[i].obj; in submit_pin_objects() local
261 ret = msm_gem_get_and_pin_iova(&msm_obj->base, in submit_pin_objects()
388 struct msm_gem_object *msm_obj = submit->bos[i].obj; in submit_cleanup() local
390 list_del_init(&msm_obj->submit_entry); in submit_cleanup()
391 drm_gem_object_put(&msm_obj->base); in submit_cleanup()
508 struct msm_gem_object *msm_obj; in msm_ioctl_gem_submit() local
530 &msm_obj, &iova, NULL); in msm_ioctl_gem_submit()
543 msm_obj->base.size)) { in msm_ioctl_gem_submit()
557 ret = submit_reloc(submit, msm_obj, submit_cmd.submit_offset, in msm_ioctl_gem_submit()