Searched refs:sync_obj (Results 1 - 14 of 14) sorted by relevance

/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_buffer.c301 static void *vmw_sync_obj_ref(void *sync_obj) argument
305 vmw_fence_obj_reference((struct vmw_fence_obj *) sync_obj);
308 static void vmw_sync_obj_unref(void **sync_obj) argument
310 vmw_fence_obj_unreference((struct vmw_fence_obj **) sync_obj);
313 static int vmw_sync_obj_flush(void *sync_obj, void *sync_arg) argument
315 vmw_fence_obj_flush((struct vmw_fence_obj *) sync_obj);
319 static bool vmw_sync_obj_signaled(void *sync_obj, void *sync_arg) argument
322 return vmw_fence_obj_signaled((struct vmw_fence_obj *) sync_obj,
327 static int vmw_sync_obj_wait(void *sync_obj, void *sync_arg, argument
332 return vmw_fence_obj_wait((struct vmw_fence_obj *) sync_obj,
[all...]
/drivers/staging/tidspbridge/include/dspbridge/
H A Dntfy.h42 * @sync_obj: sync_event used to set the event
49 struct sync_object sync_obj; member in struct:ntfy_event
134 sync_init_event(&ne->sync_obj);
175 noti->handle = &ne->sync_obj;
207 sync_obj);
/drivers/gpu/drm/nouveau/
H A Dnouveau_fence.c59 nouveau_fence(void *sync_obj) argument
61 return (struct nouveau_fence *)sync_obj;
199 __nouveau_fence_unref(void **sync_obj) argument
201 struct nouveau_fence *fence = nouveau_fence(*sync_obj);
205 *sync_obj = NULL;
209 __nouveau_fence_ref(void *sync_obj) argument
211 struct nouveau_fence *fence = nouveau_fence(sync_obj);
214 return sync_obj;
218 __nouveau_fence_signalled(void *sync_obj, void *sync_arg) argument
220 struct nouveau_fence *fence = nouveau_fence(sync_obj);
231 __nouveau_fence_wait(void *sync_obj, void *sync_arg, bool lazy, bool intr) argument
489 __nouveau_fence_flush(void *sync_obj, void *sync_arg) argument
[all...]
H A Dnouveau_display.c439 ret = nouveau_fence_sync(old_bo->bo.sync_obj, chan);
503 chan = nouveau_fence_channel(new_bo->bo.sync_obj);
H A Dnouveau_bo.c859 nv10_mem_put_tile_region(dev, *old_tile, bo->sync_obj);
1046 old_fence = nvbo->bo.sync_obj;
1047 nvbo->bo.sync_obj = fence;
H A Dnouveau_gem.c389 if (nvbo->bo.sync_obj)
390 fence = nouveau_fence_ref(nvbo->bo.sync_obj);
/drivers/gpu/drm/ttm/
H A Dttm_execbuf_util.c203 void ttm_eu_fence_buffer_objects(struct list_head *list, void *sync_obj) argument
224 entry->old_sync_obj = bo->sync_obj;
225 bo->sync_obj = driver->sync_obj_ref(sync_obj);
H A Dttm_bo.c145 BUG_ON(bo->sync_obj != NULL);
493 void *sync_obj = NULL; local
500 if (!bo->sync_obj) {
528 if (bo->sync_obj)
529 sync_obj = driver->sync_obj_ref(bo->sync_obj);
537 if (sync_obj) {
538 driver->sync_obj_flush(sync_obj, sync_obj_arg);
539 driver->sync_obj_unref(&sync_obj);
596 if (unlikely(bo->sync_obj)) {
1706 void *sync_obj; local
[all...]
H A Dttm_bo_util.c444 fbo->sync_obj = driver->sync_obj_ref(bo->sync_obj);
613 void *sync_obj,
628 if (bo->sync_obj) {
629 tmp_obj = bo->sync_obj;
630 bo->sync_obj = NULL;
632 bo->sync_obj = driver->sync_obj_ref(sync_obj);
612 ttm_bo_move_accel_cleanup(struct ttm_buffer_object *bo, void *sync_obj, void *sync_obj_arg, bool evict, bool no_wait_reserve, bool no_wait_gpu, struct ttm_mem_reg *new_mem) argument
/drivers/staging/tidspbridge/core/
H A Dsync.c119 sync_set_event(&ne->sync_obj);
/drivers/gpu/drm/radeon/
H A Dradeon_ttm.c505 static int radeon_sync_obj_wait(void *sync_obj, void *sync_arg, argument
508 return radeon_fence_wait((struct radeon_fence *)sync_obj, interruptible);
511 static int radeon_sync_obj_flush(void *sync_obj, void *sync_arg) argument
516 static void radeon_sync_obj_unref(void **sync_obj) argument
518 radeon_fence_unref((struct radeon_fence **)sync_obj);
521 static void *radeon_sync_obj_ref(void *sync_obj) argument
523 return radeon_fence_ref((struct radeon_fence *)sync_obj);
526 static bool radeon_sync_obj_signaled(void *sync_obj, void *sync_arg) argument
528 return radeon_fence_signaled((struct radeon_fence *)sync_obj);
H A Dradeon_cs.c124 if (!p->relocs[i].robj || !p->relocs[i].robj->tbo.sync_obj)
128 struct radeon_fence *fence = p->relocs[i].robj->tbo.sync_obj;
H A Dradeon_object.c623 if (bo->tbo.sync_obj)
H A Dradeon_display.c381 if (rbo->tbo.sync_obj)
382 work->fence = radeon_fence_ref(rbo->tbo.sync_obj);

Completed in 283 milliseconds