Home
last modified time | relevance | path

Searched refs:sync_obj (Results 1 – 19 of 19) sorted by relevance

/drivers/gpu/drm/vmwgfx/
Dvmwgfx_buffer.c300 static void *vmw_sync_obj_ref(void *sync_obj) in vmw_sync_obj_ref() argument
304 vmw_fence_obj_reference((struct vmw_fence_obj *) sync_obj); in vmw_sync_obj_ref()
307 static void vmw_sync_obj_unref(void **sync_obj) in vmw_sync_obj_unref() argument
309 vmw_fence_obj_unreference((struct vmw_fence_obj **) sync_obj); in vmw_sync_obj_unref()
312 static int vmw_sync_obj_flush(void *sync_obj) in vmw_sync_obj_flush() argument
314 vmw_fence_obj_flush((struct vmw_fence_obj *) sync_obj); in vmw_sync_obj_flush()
318 static bool vmw_sync_obj_signaled(void *sync_obj) in vmw_sync_obj_signaled() argument
320 return vmw_fence_obj_signaled((struct vmw_fence_obj *) sync_obj, in vmw_sync_obj_signaled()
325 static int vmw_sync_obj_wait(void *sync_obj, bool lazy, bool interruptible) in vmw_sync_obj_wait() argument
327 return vmw_fence_obj_wait((struct vmw_fence_obj *) sync_obj, in vmw_sync_obj_wait()
Dvmwgfx_resource.c1211 old_fence_obj = bo->sync_obj; in vmw_fence_single_bo()
1212 bo->sync_obj = fence; in vmw_fence_single_bo()
/drivers/gpu/drm/ttm/
Dttm_bo.c145 BUG_ON(bo->sync_obj != NULL); in ttm_bo_release_list()
565 void *sync_obj = NULL; in ttm_bo_cleanup_refs_or_queue() local
574 if (!ret && !bo->sync_obj) { in ttm_bo_cleanup_refs_or_queue()
585 if (bo->sync_obj) in ttm_bo_cleanup_refs_or_queue()
586 sync_obj = driver->sync_obj_ref(bo->sync_obj); in ttm_bo_cleanup_refs_or_queue()
598 if (sync_obj) { in ttm_bo_cleanup_refs_or_queue()
599 driver->sync_obj_flush(sync_obj); in ttm_bo_cleanup_refs_or_queue()
600 driver->sync_obj_unref(&sync_obj); in ttm_bo_cleanup_refs_or_queue()
632 void *sync_obj; in ttm_bo_cleanup_refs_and_unlock() local
639 sync_obj = driver->sync_obj_ref(bo->sync_obj); in ttm_bo_cleanup_refs_and_unlock()
[all …]
Dttm_bo_util.c457 if (bo->sync_obj) in ttm_buffer_object_transfer()
458 fbo->sync_obj = driver->sync_obj_ref(bo->sync_obj); in ttm_buffer_object_transfer()
460 fbo->sync_obj = NULL; in ttm_buffer_object_transfer()
630 void *sync_obj, in ttm_bo_move_accel_cleanup() argument
644 if (bo->sync_obj) { in ttm_bo_move_accel_cleanup()
645 tmp_obj = bo->sync_obj; in ttm_bo_move_accel_cleanup()
646 bo->sync_obj = NULL; in ttm_bo_move_accel_cleanup()
648 bo->sync_obj = driver->sync_obj_ref(sync_obj); in ttm_bo_move_accel_cleanup()
Dttm_execbuf_util.c208 void ttm_eu_fence_buffer_objects(struct list_head *list, void *sync_obj) in ttm_eu_fence_buffer_objects() argument
229 entry->old_sync_obj = bo->sync_obj; in ttm_eu_fence_buffer_objects()
230 bo->sync_obj = driver->sync_obj_ref(sync_obj); in ttm_eu_fence_buffer_objects()
/drivers/staging/tidspbridge/include/dspbridge/
Dntfy.h49 struct sync_object sync_obj; member
134 sync_init_event(&ne->sync_obj); in ntfy_event_create()
175 noti->handle = &ne->sync_obj; in ntfy_register()
207 sync_obj); in ntfy_unregister()
/drivers/gpu/drm/qxl/
Dqxl_ttm.c363 static int qxl_sync_obj_wait(void *sync_obj, in qxl_sync_obj_wait() argument
366 struct qxl_fence *qfence = (struct qxl_fence *)sync_obj; in qxl_sync_obj_wait()
427 static int qxl_sync_obj_flush(void *sync_obj) in qxl_sync_obj_flush() argument
432 static void qxl_sync_obj_unref(void **sync_obj) in qxl_sync_obj_unref() argument
436 static void *qxl_sync_obj_ref(void *sync_obj) in qxl_sync_obj_ref() argument
438 return sync_obj; in qxl_sync_obj_ref()
441 static bool qxl_sync_obj_signaled(void *sync_obj) in qxl_sync_obj_signaled() argument
443 struct qxl_fence *qfence = (struct qxl_fence *)sync_obj; in qxl_sync_obj_signaled()
Dqxl_release.c255 if (!release->bos[i]->tbo.sync_obj) in qxl_fence_releaseable()
256 release->bos[i]->tbo.sync_obj = &release->bos[i]->fence; in qxl_fence_releaseable()
Dqxl_object.h87 if (bo->tbo.sync_obj) in qxl_bo_wait()
Dqxl_debugfs.c63 bo->tbo.sync_obj, bo->fence.num_active_releases); in qxl_debugfs_buffers_info()
/drivers/gpu/drm/radeon/
Dradeon_ttm.c264 fence = bo->sync_obj; in radeon_move_blit()
476 static int radeon_sync_obj_wait(void *sync_obj, bool lazy, bool interruptible) in radeon_sync_obj_wait() argument
478 return radeon_fence_wait((struct radeon_fence *)sync_obj, interruptible); in radeon_sync_obj_wait()
481 static int radeon_sync_obj_flush(void *sync_obj) in radeon_sync_obj_flush() argument
486 static void radeon_sync_obj_unref(void **sync_obj) in radeon_sync_obj_unref() argument
488 radeon_fence_unref((struct radeon_fence **)sync_obj); in radeon_sync_obj_unref()
491 static void *radeon_sync_obj_ref(void *sync_obj) in radeon_sync_obj_ref() argument
493 return radeon_fence_ref((struct radeon_fence *)sync_obj); in radeon_sync_obj_ref()
496 static bool radeon_sync_obj_signaled(void *sync_obj) in radeon_sync_obj_signaled() argument
498 return radeon_fence_signaled((struct radeon_fence *)sync_obj); in radeon_sync_obj_signaled()
Dradeon_object.c614 if (bo->tbo.sync_obj) in radeon_bo_wait()
Dradeon_display.c376 if (rbo->tbo.sync_obj) in radeon_crtc_page_flip()
377 work->fence = radeon_fence_ref(rbo->tbo.sync_obj); in radeon_crtc_page_flip()
Dradeon_cs.c159 radeon_ib_sync_to(&p->ib, p->relocs[i].robj->tbo.sync_obj); in radeon_cs_sync_rings()
/drivers/staging/goldfish/
Dgoldfish_sync.c281 struct sync_fence *sync_obj = NULL; in goldfish_sync_fence_create() local
307 sync_obj = sync_fence_create(fence_name, syncpt); in goldfish_sync_fence_create()
308 if (!sync_obj) { in goldfish_sync_fence_create()
315 DPRINT("installing sync fence into fd %d sync_obj=0x%p", fd, sync_obj); in goldfish_sync_fence_create()
316 sync_fence_install(sync_obj, fd); in goldfish_sync_fence_create()
/drivers/gpu/drm/nouveau/
Dnouveau_bo.c1188 nv10_bo_put_tile_region(dev, *old_tile, bo->sync_obj); in nouveau_bo_vm_cleanup()
1453 old_fence = nvbo->bo.sync_obj; in nouveau_bo_fence()
1454 nvbo->bo.sync_obj = fence; in nouveau_bo_fence()
1461 nouveau_bo_fence_unref(void **sync_obj) in nouveau_bo_fence_unref() argument
1463 nouveau_fence_unref((struct nouveau_fence **)sync_obj); in nouveau_bo_fence_unref()
1467 nouveau_bo_fence_ref(void *sync_obj) in nouveau_bo_fence_ref() argument
1469 return nouveau_fence_ref(sync_obj); in nouveau_bo_fence_ref()
1473 nouveau_bo_fence_signalled(void *sync_obj) in nouveau_bo_fence_signalled() argument
1475 return nouveau_fence_done(sync_obj); in nouveau_bo_fence_signalled()
1479 nouveau_bo_fence_wait(void *sync_obj, bool lazy, bool intr) in nouveau_bo_fence_wait() argument
[all …]
Dnouveau_display.c523 ret = nouveau_fence_sync(old_bo->bo.sync_obj, chan); in nouveau_page_flip_emit()
587 fence = new_bo->bo.sync_obj; in nouveau_crtc_page_flip()
Dnouveau_gem.c409 if (nvbo->bo.sync_obj) in validate_sync()
410 fence = nouveau_fence_ref(nvbo->bo.sync_obj); in validate_sync()
/drivers/staging/tidspbridge/core/
Dsync.c119 sync_set_event(&ne->sync_obj); in dsp_notifier_event()