Home
last modified time | relevance | path

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

/freebsd-12.1/sys/dev/drm2/ttm/
H A Dttm_bo.c555 void *sync_obj = NULL; in ttm_bo_cleanup_refs_or_queue() local
575 if (bo->sync_obj) in ttm_bo_cleanup_refs_or_queue()
576 sync_obj = driver->sync_obj_ref(bo->sync_obj); in ttm_bo_cleanup_refs_or_queue()
588 if (sync_obj) { in ttm_bo_cleanup_refs_or_queue()
622 void *sync_obj; in ttm_bo_cleanup_refs_and_unlock() local
629 sync_obj = driver->sync_obj_ref(bo->sync_obj); in ttm_bo_cleanup_refs_and_unlock()
1725 void *sync_obj; in ttm_bo_wait() local
1731 while (bo->sync_obj) { in ttm_bo_wait()
1735 bo->sync_obj = NULL; in ttm_bo_wait()
1746 sync_obj = driver->sync_obj_ref(bo->sync_obj); in ttm_bo_wait()
[all …]
H A Dttm_bo_driver.h426 bool (*sync_obj_signaled) (void *sync_obj);
427 int (*sync_obj_wait) (void *sync_obj,
429 int (*sync_obj_flush) (void *sync_obj);
430 void (*sync_obj_unref) (void **sync_obj);
431 void *(*sync_obj_ref) (void *sync_obj);
977 void *sync_obj,
H A Dttm_bo_util.c425 if (bo->sync_obj) in ttm_buffer_object_transfer()
426 fbo->sync_obj = driver->sync_obj_ref(bo->sync_obj); in ttm_buffer_object_transfer()
428 fbo->sync_obj = NULL; in ttm_buffer_object_transfer()
597 void *sync_obj, in ttm_bo_move_accel_cleanup() argument
611 if (bo->sync_obj) { in ttm_bo_move_accel_cleanup()
612 tmp_obj = bo->sync_obj; in ttm_bo_move_accel_cleanup()
613 bo->sync_obj = NULL; in ttm_bo_move_accel_cleanup()
615 bo->sync_obj = driver->sync_obj_ref(sync_obj); in ttm_bo_move_accel_cleanup()
H A Dttm_execbuf_util.c205 void ttm_eu_fence_buffer_objects(struct list_head *list, void *sync_obj) in ttm_eu_fence_buffer_objects() argument
226 entry->old_sync_obj = bo->sync_obj; in ttm_eu_fence_buffer_objects()
227 bo->sync_obj = driver->sync_obj_ref(sync_obj); in ttm_eu_fence_buffer_objects()
H A Dttm_execbuf_util.h107 extern void ttm_eu_fence_buffer_objects(struct list_head *list, void *sync_obj);
H A Dttm_bo_api.h248 void *sync_obj; member
/freebsd-12.1/sys/dev/drm2/radeon/
H A Dradeon_ttm.c265 fence = bo->sync_obj; in radeon_move_blit()
477 static int radeon_sync_obj_wait(void *sync_obj, bool lazy, bool interruptible) in radeon_sync_obj_wait() argument
479 return radeon_fence_wait((struct radeon_fence *)sync_obj, interruptible); in radeon_sync_obj_wait()
482 static int radeon_sync_obj_flush(void *sync_obj) in radeon_sync_obj_flush() argument
487 static void radeon_sync_obj_unref(void **sync_obj) in radeon_sync_obj_unref() argument
489 radeon_fence_unref((struct radeon_fence **)sync_obj); in radeon_sync_obj_unref()
492 static void *radeon_sync_obj_ref(void *sync_obj) in radeon_sync_obj_ref() argument
494 return radeon_fence_ref((struct radeon_fence *)sync_obj); in radeon_sync_obj_ref()
497 static bool radeon_sync_obj_signaled(void *sync_obj) in radeon_sync_obj_signaled() argument
499 return radeon_fence_signaled((struct radeon_fence *)sync_obj); in radeon_sync_obj_signaled()
H A Dradeon_object.c629 if (bo->tbo.sync_obj) in radeon_bo_wait()
H A Dradeon_display.c385 if (rbo->tbo.sync_obj) in radeon_crtc_page_flip()
386 work->fence = radeon_fence_ref(rbo->tbo.sync_obj); in radeon_crtc_page_flip()
H A Dradeon_cs.c157 radeon_cs_sync_to(p, p->relocs[i].robj->tbo.sync_obj); in radeon_cs_sync_rings()