Home
last modified time | relevance | path

Searched refs:interruptible (Results 1 – 25 of 61) sorted by relevance

123

/netbsd-src/sys/external/bsd/drm2/dist/drm/vmwgfx/
H A Dvmwgfx_bo.c97 bool interruptible) in vmw_bo_pin_in_placement() argument
99 struct ttm_operation_ctx ctx = {interruptible, false }; in vmw_bo_pin_in_placement()
104 ret = ttm_write_lock(&dev_priv->reservation_sem, interruptible); in vmw_bo_pin_in_placement()
110 ret = ttm_bo_reserve(bo, interruptible, false, NULL); in vmw_bo_pin_in_placement()
146 bool interruptible) in vmw_bo_pin_in_vram_or_gmr() argument
148 struct ttm_operation_ctx ctx = {interruptible, false }; in vmw_bo_pin_in_vram_or_gmr()
153 ret = ttm_write_lock(&dev_priv->reservation_sem, interruptible); in vmw_bo_pin_in_vram_or_gmr()
159 ret = ttm_bo_reserve(bo, interruptible, false, NULL); in vmw_bo_pin_in_vram_or_gmr()
200 bool interruptible) in vmw_bo_pin_in_vram() argument
203 interruptible); in vmw_bo_pin_in_vram()
[all …]
H A Dttm_lock.h110 extern int ttm_read_lock(struct ttm_lock *lock, bool interruptible);
127 extern int ttm_read_trylock(struct ttm_lock *lock, bool interruptible);
148 extern int ttm_write_lock(struct ttm_lock *lock, bool interruptible);
189 extern int ttm_vt_lock(struct ttm_lock *lock, bool interruptible,
222 extern int ttm_write_lock(struct ttm_lock *lock, bool interruptible);
H A Dvmwgfx_overlay.c104 bool interruptible) in vmw_overlay_send_put() argument
192 bool interruptible) in vmw_overlay_send_stop() argument
207 interruptible, 3*HZ); in vmw_overlay_send_stop()
208 if (interruptible && ret == -ERESTARTSYS) in vmw_overlay_send_stop()
259 bool interruptible) in vmw_overlay_stop() argument
272 interruptible); in vmw_overlay_stop()
278 interruptible); in vmw_overlay_stop()
279 if (interruptible && ret == -ERESTARTSYS) in vmw_overlay_stop()
307 bool interruptible) in vmw_overlay_update_stream() argument
321 false, interruptible); in vmw_overlay_update_stream()
[all …]
H A Dttm_lock.c77 int ttm_read_lock(struct ttm_lock *lock, bool interruptible) in ttm_read_lock() argument
82 if (interruptible) in ttm_read_lock()
112 int ttm_read_trylock(struct ttm_lock *lock, bool interruptible) in ttm_read_trylock() argument
118 if (interruptible) in ttm_read_trylock()
158 int ttm_write_lock(struct ttm_lock *lock, bool interruptible) in ttm_write_lock() argument
163 if (interruptible) { in ttm_write_lock()
H A Dvmwgfx_irq.c212 bool interruptible, in vmw_fallback_wait() argument
236 ret = vmw_cmdbuf_idle(dev_priv->cman, interruptible, in vmw_fallback_wait()
257 } else if (interruptible) { in vmw_fallback_wait()
278 (interruptible) ? in vmw_fallback_wait()
296 __set_current_state((interruptible) ? in vmw_fallback_wait()
300 if (interruptible && signal_pending(current)) { in vmw_fallback_wait()
381 bool interruptible, unsigned long timeout) in vmw_wait_seqno() argument
402 interruptible, timeout); in vmw_wait_seqno()
408 interruptible, timeout); in vmw_wait_seqno()
413 if (interruptible) in vmw_wait_seqno()
H A Dvmwgfx_cmdbuf.c217 static int vmw_cmdbuf_cur_lock(struct vmw_cmdbuf_man *man, bool interruptible) in vmw_cmdbuf_cur_lock() argument
219 if (interruptible) { in vmw_cmdbuf_cur_lock()
710 bool interruptible) in vmw_cmdbuf_cur_flush() argument
712 int ret = vmw_cmdbuf_cur_lock(man, interruptible); in vmw_cmdbuf_cur_flush()
734 int vmw_cmdbuf_idle(struct vmw_cmdbuf_man *man, bool interruptible, in vmw_cmdbuf_idle() argument
739 ret = vmw_cmdbuf_cur_flush(man, interruptible); in vmw_cmdbuf_idle()
744 if (interruptible) { in vmw_cmdbuf_idle()
815 bool interruptible) in vmw_cmdbuf_alloc_space() argument
827 if (interruptible) { in vmw_cmdbuf_alloc_space()
843 if (interruptible) { in vmw_cmdbuf_alloc_space()
[all …]
H A Dvmwgfx_resource.c366 bool interruptible) in vmw_resource_buf_alloc() argument
384 interruptible, in vmw_resource_buf_alloc()
553 bool interruptible, in vmw_resource_check_buffer() argument
562 ret = vmw_resource_buf_alloc(res, interruptible); in vmw_resource_check_buffer()
572 ret = ttm_eu_reserve_buffers(ticket, &val_list, interruptible, NULL); in vmw_resource_check_buffer()
610 int vmw_resource_reserve(struct vmw_resource *res, bool interruptible, in vmw_resource_reserve() argument
622 ret = vmw_resource_buf_alloc(res, interruptible); in vmw_resource_reserve()
666 struct vmw_resource *res, bool interruptible) in vmw_resource_do_evict() argument
676 ret = vmw_resource_check_buffer(ticket, res, interruptible, &val_buf); in vmw_resource_do_evict()
997 int vmw_resource_pin(struct vmw_resource *res, bool interruptible) in vmw_resource_pin() argument
[all …]
H A Dvmwgfx_fifo.c227 uint32_t bytes, bool interruptible, in vmw_fifo_wait_noirq() argument
243 (interruptible) ? in vmw_fifo_wait_noirq()
254 if (interruptible) { in vmw_fifo_wait_noirq()
275 if (interruptible && signal_pending(current)) { in vmw_fifo_wait_noirq()
292 uint32_t bytes, bool interruptible, in vmw_fifo_wait() argument
307 interruptible, timeout); in vmw_fifo_wait()
315 if (interruptible) in vmw_fifo_wait()
575 int vmw_fifo_flush(struct vmw_private *dev_priv, bool interruptible) in vmw_fifo_flush() argument
580 return vmw_cmdbuf_cur_flush(dev_priv->cman, interruptible); in vmw_fifo_flush()
H A Dvmwgfx_drv.h729 extern int vmw_resource_reserve(struct vmw_resource *res, bool interruptible,
801 bool interruptible);
804 bool interruptible);
807 bool interruptible);
810 bool interruptible);
813 bool interruptible);
953 bool interruptible);
1085 uint32_t seqno, bool interruptible,
1095 bool interruptible,
1179 extern int vmw_resource_pin(struct vmw_resource *res, bool interruptible);
[all …]
H A Dvmwgfx_fence.h97 bool interruptible, unsigned long timeout);
133 bool interruptible);
H A Dvmwgfx_fence.c564 bool interruptible, unsigned long timeout) in vmw_fence_obj_wait() argument
566 long ret = dma_fence_wait_timeout(&fence->base, interruptible, timeout); in vmw_fence_obj_wait()
649 .interruptible = false, in vmw_user_fence_create()
1061 bool interruptible) in vmw_event_fence_action_queue() argument
1095 bool interruptible) in vmw_event_fence_action_create() argument
1126 interruptible); in vmw_event_fence_action_create()
1132 interruptible); in vmw_event_fence_action_create()
H A Dvmwgfx_validation.c534 bool interruptible, in vmw_validation_bo_validate_single() argument
540 .interruptible = interruptible, in vmw_validation_bo_validate_single()
594 .interruptible = intr, in vmw_validation_bo_validate()
H A Dvmwgfx_ttm_glue.c63 static struct ttm_operation_ctx ctx = {.interruptible = false, in vmw_vmt_reserve()
H A Dvmwgfx_kms.h528 bool interruptible,
562 bool interruptible,
/netbsd-src/sys/external/bsd/drm2/dist/include/drm/ttm/
H A Dttm_bo_driver.h656 int ttm_mem_io_lock(struct ttm_mem_type_manager *man, bool interruptible);
681 bool interruptible, bool no_wait, in __ttm_bo_reserve() argument
695 if (interruptible) in __ttm_bo_reserve()
749 bool interruptible, bool no_wait, in ttm_bo_reserve() argument
754 return __ttm_bo_reserve(bo, interruptible, no_wait, ticket); in ttm_bo_reserve()
768 bool interruptible, in ttm_bo_reserve_slowpath() argument
775 if (interruptible) in ttm_bo_reserve_slowpath()
H A Dttm_bo_api.h297 bool interruptible; member
351 int ttm_bo_wait(struct ttm_buffer_object *bo, bool interruptible, bool no_wait);
571 uint32_t page_alignment, bool interruptible,
/netbsd-src/sys/external/bsd/drm2/dist/drm/
H A Ddrm_modeset_lock.c211 ctx->interruptible = true; in drm_modeset_acquire_init()
247 bool interruptible, bool slow) in modeset_lock() argument
260 } else if (interruptible && slow) { in modeset_lock()
262 } else if (interruptible) { in modeset_lock()
310 return modeset_lock(contended, ctx, ctx->interruptible, true); in drm_modeset_backoff()
347 return modeset_lock(lock, ctx, ctx->interruptible, false); in drm_modeset_lock()
/netbsd-src/sys/external/bsd/drm2/dist/drm/i915/gt/
H A Dintel_gt_requests.c138 bool interruptible; in intel_gt_retire_requests_timeout() local
141 interruptible = true; in intel_gt_retire_requests_timeout()
143 timeout = -timeout, interruptible = false; in intel_gt_retire_requests_timeout()
164 interruptible, in intel_gt_retire_requests_timeout()
/netbsd-src/sys/external/bsd/drm2/dist/drm/qxl/
H A Dqxl_cmd.c118 const void *new_elt, bool interruptible) in qxl_ring_push() argument
134 if (interruptible) { in qxl_ring_push()
192 uint32_t type, bool interruptible) in qxl_push_command_ring_release() argument
199 return qxl_ring_push(qdev->command_ring, &cmd, interruptible); in qxl_push_command_ring_release()
204 uint32_t type, bool interruptible) in qxl_push_cursor_ring_release() argument
211 return qxl_ring_push(qdev->cursor_ring, &cmd, interruptible); in qxl_push_cursor_ring_release()
H A Dqxl_drv.h393 int qxl_ring_push(struct qxl_ring *ring, const void *new_elt, bool interruptible);
417 uint32_t type, bool interruptible);
420 uint32_t type, bool interruptible);
/netbsd-src/sys/external/bsd/drm2/dist/drm/ttm/
H A Dttm_bo.c553 bool interruptible, bool no_wait_gpu, in ttm_bo_cleanup_refs() argument
577 interruptible, in ttm_bo_cleanup_refs()
834 if (ctx->interruptible) in ttm_mem_evict_wait_busy()
905 ret = ttm_bo_cleanup_refs(bo, ctx->interruptible, in ttm_mem_evict_first()
1420 bool interruptible, in ttm_bo_init() argument
1426 struct ttm_operation_ctx ctx = { interruptible, false }; in ttm_bo_init()
1475 bool interruptible, in ttm_bo_create() argument
1488 interruptible, acc_size, in ttm_bo_create()
1501 .interruptible = false, in ttm_bo_force_list_clean()
1884 bool interruptible, bool no_wait) in ttm_bo_wait() argument
[all …]
H A Dttm_bo_util.c72 ret = ttm_bo_wait(bo, ctx->interruptible, ctx->no_wait_gpu); in ttm_bo_move_ttm()
104 int ttm_mem_io_lock(struct ttm_mem_type_manager *man, bool interruptible) in ttm_mem_io_lock() argument
109 if (interruptible) in ttm_mem_io_lock()
430 ret = ttm_bo_wait(bo, ctx->interruptible, ctx->no_wait_gpu); in ttm_bo_move_memcpy()
687 .interruptible = false, in ttm_bo_kmap_ttm()
/netbsd-src/sys/external/bsd/drm2/dist/drm/radeon/
H A Dradeon_ttm.c274 bool evict, bool interruptible, in radeon_move_vram_ram() argument
278 struct ttm_operation_ctx ctx = { interruptible, no_wait_gpu }; in radeon_move_vram_ram()
319 bool evict, bool interruptible, in radeon_move_ram_vram() argument
323 struct ttm_operation_ctx ctx = { interruptible, no_wait_gpu }; in radeon_move_ram_vram()
365 r = ttm_bo_wait(bo, ctx->interruptible, ctx->no_wait_gpu); in radeon_bo_move()
395 r = radeon_move_vram_ram(bo, evict, ctx->interruptible, in radeon_bo_move()
399 r = radeon_move_ram_vram(bo, evict, ctx->interruptible, in radeon_bo_move()
/netbsd-src/sys/external/bsd/drm2/dist/include/drm/
H A Ddrm_modeset_lock.h68 bool interruptible; member
/netbsd-src/sys/external/bsd/drm2/dist/drm/nouveau/
H A Dnouveau_bo.c601 nouveau_bo_validate(struct nouveau_bo *nvbo, bool interruptible, in nouveau_bo_validate() argument
604 struct ttm_operation_ctx ctx = { interruptible, no_wait_gpu }; in nouveau_bo_validate()
1461 ret = ttm_bo_wait(bo, ctx->interruptible, ctx->no_wait_gpu); in nouveau_bo_move()
1486 ctx->interruptible, in nouveau_bo_move()
1490 ctx->interruptible, in nouveau_bo_move()
1494 ctx->interruptible, in nouveau_bo_move()
1501 ret = ttm_bo_wait(bo, ctx->interruptible, ctx->no_wait_gpu); in nouveau_bo_move()

123