Home
last modified time | relevance | path

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

123

/Linux-v4.19/include/drm/ttm/
Dttm_lock.h109 extern int ttm_read_lock(struct ttm_lock *lock, bool interruptible);
126 extern int ttm_read_trylock(struct ttm_lock *lock, bool interruptible);
147 extern int ttm_write_lock(struct ttm_lock *lock, bool interruptible);
188 extern int ttm_vt_lock(struct ttm_lock *lock, bool interruptible,
221 extern int ttm_write_lock(struct ttm_lock *lock, bool interruptible);
Dttm_bo_driver.h596 int ttm_mem_io_lock(struct ttm_mem_type_manager *man, bool interruptible);
624 bool interruptible, bool no_wait, in __ttm_bo_reserve() argument
638 if (interruptible) in __ttm_bo_reserve()
692 bool interruptible, bool no_wait, in ttm_bo_reserve() argument
699 ret = __ttm_bo_reserve(bo, interruptible, no_wait, ticket); in ttm_bo_reserve()
717 bool interruptible, in ttm_bo_reserve_slowpath() argument
724 if (interruptible) in ttm_bo_reserve_slowpath()
Dttm_bo_api.h274 bool interruptible; member
327 int ttm_bo_wait(struct ttm_buffer_object *bo, bool interruptible, bool no_wait);
595 uint32_t page_alignment, bool interruptible,
/Linux-v4.19/drivers/gpu/drm/vmwgfx/
Dvmwgfx_bo.c93 bool interruptible) in vmw_bo_pin_in_placement() argument
95 struct ttm_operation_ctx ctx = {interruptible, false }; in vmw_bo_pin_in_placement()
100 ret = ttm_write_lock(&dev_priv->reservation_sem, interruptible); in vmw_bo_pin_in_placement()
106 ret = ttm_bo_reserve(bo, interruptible, false, NULL); in vmw_bo_pin_in_placement()
142 bool interruptible) in vmw_bo_pin_in_vram_or_gmr() argument
144 struct ttm_operation_ctx ctx = {interruptible, false }; in vmw_bo_pin_in_vram_or_gmr()
149 ret = ttm_write_lock(&dev_priv->reservation_sem, interruptible); in vmw_bo_pin_in_vram_or_gmr()
155 ret = ttm_bo_reserve(bo, interruptible, false, NULL); in vmw_bo_pin_in_vram_or_gmr()
196 bool interruptible) in vmw_bo_pin_in_vram() argument
199 interruptible); in vmw_bo_pin_in_vram()
[all …]
Dvmwgfx_overlay.c99 bool interruptible) in vmw_overlay_send_put() argument
187 bool interruptible) in vmw_overlay_send_stop() argument
202 interruptible, 3*HZ); in vmw_overlay_send_stop()
203 if (interruptible && ret == -ERESTARTSYS) in vmw_overlay_send_stop()
254 bool interruptible) in vmw_overlay_stop() argument
267 interruptible); in vmw_overlay_stop()
273 interruptible); in vmw_overlay_stop()
274 if (interruptible && ret == -ERESTARTSYS) in vmw_overlay_stop()
302 bool interruptible) in vmw_overlay_update_stream() argument
316 false, interruptible); in vmw_overlay_update_stream()
[all …]
Dvmwgfx_irq.c162 bool interruptible, in vmw_fallback_wait() argument
184 ret = vmw_cmdbuf_idle(dev_priv->cman, interruptible, in vmw_fallback_wait()
196 (interruptible) ? in vmw_fallback_wait()
214 __set_current_state((interruptible) ? in vmw_fallback_wait()
218 if (interruptible && signal_pending(current)) { in vmw_fallback_wait()
286 bool interruptible, unsigned long timeout) in vmw_wait_seqno() argument
301 interruptible, timeout); in vmw_wait_seqno()
305 interruptible, timeout); in vmw_wait_seqno()
309 if (interruptible) in vmw_wait_seqno()
Dvmwgfx_cmdbuf.c203 static int vmw_cmdbuf_cur_lock(struct vmw_cmdbuf_man *man, bool interruptible) in vmw_cmdbuf_cur_lock() argument
205 if (interruptible) { in vmw_cmdbuf_cur_lock()
693 bool interruptible) in vmw_cmdbuf_cur_flush() argument
695 int ret = vmw_cmdbuf_cur_lock(man, interruptible); in vmw_cmdbuf_cur_flush()
717 int vmw_cmdbuf_idle(struct vmw_cmdbuf_man *man, bool interruptible, in vmw_cmdbuf_idle() argument
722 ret = vmw_cmdbuf_cur_flush(man, interruptible); in vmw_cmdbuf_idle()
727 if (interruptible) { in vmw_cmdbuf_idle()
798 bool interruptible) in vmw_cmdbuf_alloc_space() argument
810 if (interruptible) { in vmw_cmdbuf_alloc_space()
825 if (interruptible) { in vmw_cmdbuf_alloc_space()
[all …]
Dvmwgfx_resource.c302 bool interruptible) in vmw_resource_buf_alloc() argument
320 interruptible, in vmw_resource_buf_alloc()
446 bool interruptible, in vmw_resource_check_buffer() argument
455 ret = vmw_resource_buf_alloc(res, interruptible); in vmw_resource_check_buffer()
464 ret = ttm_eu_reserve_buffers(ticket, &val_list, interruptible, NULL); in vmw_resource_check_buffer()
501 int vmw_resource_reserve(struct vmw_resource *res, bool interruptible, in vmw_resource_reserve() argument
513 ret = vmw_resource_buf_alloc(res, interruptible); in vmw_resource_reserve()
556 struct vmw_resource *res, bool interruptible) in vmw_resource_do_evict() argument
566 ret = vmw_resource_check_buffer(ticket, res, interruptible, &val_buf); in vmw_resource_do_evict()
884 int vmw_resource_pin(struct vmw_resource *res, bool interruptible) in vmw_resource_pin() argument
[all …]
Dvmwgfx_drv.h632 extern int vmw_resource_reserve(struct vmw_resource *res, bool interruptible,
670 bool interruptible);
673 bool interruptible);
676 bool interruptible);
679 bool interruptible);
682 bool interruptible);
760 bool interruptible);
869 bool interruptible,
878 uint32_t seqno, bool interruptible,
888 bool interruptible,
[all …]
Dvmwgfx_fifo.c218 uint32_t bytes, bool interruptible, in vmw_fifo_wait_noirq() argument
229 (interruptible) ? in vmw_fifo_wait_noirq()
239 if (interruptible && signal_pending(current)) { in vmw_fifo_wait_noirq()
251 uint32_t bytes, bool interruptible, in vmw_fifo_wait() argument
262 interruptible, timeout); in vmw_fifo_wait()
267 if (interruptible) in vmw_fifo_wait()
529 int vmw_fifo_flush(struct vmw_private *dev_priv, bool interruptible) in vmw_fifo_flush() argument
534 return vmw_cmdbuf_cur_flush(dev_priv->cman, interruptible); in vmw_fifo_flush()
Dvmwgfx_fence.h92 bool interruptible, unsigned long timeout);
128 bool interruptible);
Dvmwgfx_kms.h313 bool interruptible,
324 bool interruptible,
434 bool interruptible,
468 bool interruptible,
Dvmwgfx_fence.c521 bool interruptible, unsigned long timeout) in vmw_fence_obj_wait() argument
523 long ret = dma_fence_wait_timeout(&fence->base, interruptible, timeout); in vmw_fence_obj_wait()
606 .interruptible = false, in vmw_user_fence_create()
1018 bool interruptible) in vmw_event_fence_action_queue() argument
1052 bool interruptible) in vmw_event_fence_action_create() argument
1083 interruptible); in vmw_event_fence_action_create()
1089 interruptible); in vmw_event_fence_action_create()
/Linux-v4.19/drivers/gpu/drm/ttm/
Dttm_lock.c84 int ttm_read_lock(struct ttm_lock *lock, bool interruptible) in ttm_read_lock() argument
88 if (interruptible) in ttm_read_lock()
121 int ttm_read_trylock(struct ttm_lock *lock, bool interruptible) in ttm_read_trylock() argument
126 if (interruptible) in ttm_read_trylock()
170 int ttm_write_lock(struct ttm_lock *lock, bool interruptible) in ttm_write_lock() argument
174 if (interruptible) { in ttm_write_lock()
232 bool interruptible, in ttm_vt_lock() argument
237 if (interruptible) { in ttm_vt_lock()
Dttm_bo.c452 bool interruptible, bool no_wait_gpu, in ttm_bo_cleanup_refs() argument
477 interruptible, in ttm_bo_cleanup_refs()
753 ret = ttm_bo_cleanup_refs(bo, ctx->interruptible, in ttm_mem_evict_first()
1227 bool interruptible, in ttm_bo_init() argument
1233 struct ttm_operation_ctx ctx = { interruptible, false }; in ttm_bo_init()
1282 bool interruptible, in ttm_bo_create() argument
1295 interruptible, acc_size, in ttm_bo_create()
1308 .interruptible = false, in ttm_bo_force_list_clean()
1618 bool interruptible, bool no_wait) in ttm_bo_wait() argument
1630 interruptible, timeout); in ttm_bo_wait()
[all …]
Dttm_bo_util.c62 ret = ttm_bo_wait(bo, ctx->interruptible, ctx->no_wait_gpu); in ttm_bo_move_ttm()
94 int ttm_mem_io_lock(struct ttm_mem_type_manager *man, bool interruptible) in ttm_mem_io_lock() argument
99 if (interruptible) in ttm_mem_io_lock()
373 ret = ttm_bo_wait(bo, ctx->interruptible, ctx->no_wait_gpu); in ttm_bo_move_memcpy()
582 .interruptible = false, in ttm_bo_kmap_ttm()
/Linux-v4.19/drivers/gpu/drm/
Ddrm_modeset_lock.c201 ctx->interruptible = true; in drm_modeset_acquire_init()
237 bool interruptible, bool slow) in modeset_lock() argument
250 } else if (interruptible && slow) { in modeset_lock()
252 } else if (interruptible) { in modeset_lock()
300 return modeset_lock(contended, ctx, ctx->interruptible, true); in drm_modeset_backoff()
337 return modeset_lock(lock, ctx, ctx->interruptible, false); in drm_modeset_lock()
/Linux-v4.19/include/linux/
Dvgaarb.h77 extern int vga_get(struct pci_dev *pdev, unsigned int rsrc, int interruptible);
79 static inline int vga_get(struct pci_dev *pdev, unsigned int rsrc, int interruptible) { return 0; } in vga_get() argument
/Linux-v4.19/drivers/gpu/drm/msm/
Dmsm_fence.c54 ktime_t *timeout, bool interruptible) in msm_wait_fence() argument
70 if (interruptible) in msm_wait_fence()
Dmsm_fence.h39 ktime_t *timeout, bool interruptible);
/Linux-v4.19/fs/orangefs/
Dwaitqueue.c22 bool interruptible)
322 bool interruptible) in wait_for_matching_downcall() argument
333 if (interruptible) in wait_for_matching_downcall()
/Linux-v4.19/drivers/gpu/drm/qxl/
Dqxl_cmd.c107 const void *new_elt, bool interruptible) in qxl_ring_push() argument
122 if (interruptible) { in qxl_ring_push()
179 uint32_t type, bool interruptible) in qxl_push_command_ring_release() argument
186 return qxl_ring_push(qdev->command_ring, &cmd, interruptible); in qxl_push_command_ring_release()
191 uint32_t type, bool interruptible) in qxl_push_cursor_ring_release() argument
198 return qxl_ring_push(qdev->cursor_ring, &cmd, interruptible); in qxl_push_cursor_ring_release()
Dqxl_drv.h436 int qxl_ring_push(struct qxl_ring *ring, const void *new_elt, bool interruptible);
460 uint32_t type, bool interruptible);
463 uint32_t type, bool interruptible);
/Linux-v4.19/include/drm/
Ddrm_modeset_lock.h65 bool interruptible; member
/Linux-v4.19/drivers/gpu/drm/radeon/
Dradeon_ttm.c310 bool evict, bool interruptible, in radeon_move_vram_ram() argument
314 struct ttm_operation_ctx ctx = { interruptible, no_wait_gpu }; in radeon_move_vram_ram()
357 bool evict, bool interruptible, in radeon_move_ram_vram() argument
361 struct ttm_operation_ctx ctx = { interruptible, no_wait_gpu }; in radeon_move_ram_vram()
405 r = ttm_bo_wait(bo, ctx->interruptible, ctx->no_wait_gpu); in radeon_bo_move()
435 r = radeon_move_vram_ram(bo, evict, ctx->interruptible, in radeon_bo_move()
439 r = radeon_move_ram_vram(bo, evict, ctx->interruptible, in radeon_bo_move()

123