Home
last modified time | relevance | path

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

1234

/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/
Dttm_lock.h104 extern int ttm_read_lock(struct ttm_lock *lock, bool interruptible);
121 extern int ttm_read_trylock(struct ttm_lock *lock, bool interruptible);
142 extern int ttm_write_lock(struct ttm_lock *lock, bool interruptible);
183 extern int ttm_vt_lock(struct ttm_lock *lock, bool interruptible,
216 extern int ttm_write_lock(struct ttm_lock *lock, bool interruptible);
Dvmwgfx_bo.c92 bool interruptible) in vmw_bo_pin_in_placement() argument
94 struct ttm_operation_ctx ctx = {interruptible, false }; in vmw_bo_pin_in_placement()
99 ret = ttm_write_lock(&dev_priv->reservation_sem, interruptible); in vmw_bo_pin_in_placement()
105 ret = ttm_bo_reserve(bo, interruptible, false, NULL); in vmw_bo_pin_in_placement()
141 bool interruptible) in vmw_bo_pin_in_vram_or_gmr() argument
143 struct ttm_operation_ctx ctx = {interruptible, false }; in vmw_bo_pin_in_vram_or_gmr()
148 ret = ttm_write_lock(&dev_priv->reservation_sem, interruptible); in vmw_bo_pin_in_vram_or_gmr()
154 ret = ttm_bo_reserve(bo, interruptible, false, NULL); in vmw_bo_pin_in_vram_or_gmr()
195 bool interruptible) in vmw_bo_pin_in_vram() argument
198 interruptible); in vmw_bo_pin_in_vram()
[all …]
Dvmwgfx_overlay.c97 bool interruptible) in vmw_overlay_send_put() argument
185 bool interruptible) in vmw_overlay_send_stop() argument
200 interruptible, 3*HZ); in vmw_overlay_send_stop()
201 if (interruptible && ret == -ERESTARTSYS) in vmw_overlay_send_stop()
252 bool interruptible) in vmw_overlay_stop() argument
265 interruptible); in vmw_overlay_stop()
271 interruptible); in vmw_overlay_stop()
272 if (interruptible && ret == -ERESTARTSYS) in vmw_overlay_stop()
300 bool interruptible) in vmw_overlay_update_stream() argument
314 false, interruptible); in vmw_overlay_update_stream()
[all …]
Dttm_lock.c74 int ttm_read_lock(struct ttm_lock *lock, bool interruptible) in ttm_read_lock() argument
78 if (interruptible) in ttm_read_lock()
105 int ttm_read_trylock(struct ttm_lock *lock, bool interruptible) in ttm_read_trylock() argument
110 if (interruptible) in ttm_read_trylock()
148 int ttm_write_lock(struct ttm_lock *lock, bool interruptible) in ttm_write_lock() argument
152 if (interruptible) { in ttm_write_lock()
Dvmwgfx_irq.c163 bool interruptible, in vmw_fallback_wait() argument
185 ret = vmw_cmdbuf_idle(dev_priv->cman, interruptible, in vmw_fallback_wait()
197 (interruptible) ? in vmw_fallback_wait()
215 __set_current_state((interruptible) ? in vmw_fallback_wait()
219 if (interruptible && signal_pending(current)) { in vmw_fallback_wait()
287 bool interruptible, unsigned long timeout) in vmw_wait_seqno() argument
302 interruptible, timeout); in vmw_wait_seqno()
306 interruptible, timeout); in vmw_wait_seqno()
310 if (interruptible) in vmw_wait_seqno()
Dvmwgfx_cmdbuf.c206 static int vmw_cmdbuf_cur_lock(struct vmw_cmdbuf_man *man, bool interruptible) in vmw_cmdbuf_cur_lock() argument
208 if (interruptible) { in vmw_cmdbuf_cur_lock()
694 bool interruptible) in vmw_cmdbuf_cur_flush() argument
696 int ret = vmw_cmdbuf_cur_lock(man, interruptible); in vmw_cmdbuf_cur_flush()
718 int vmw_cmdbuf_idle(struct vmw_cmdbuf_man *man, bool interruptible, in vmw_cmdbuf_idle() argument
723 ret = vmw_cmdbuf_cur_flush(man, interruptible); in vmw_cmdbuf_idle()
728 if (interruptible) { in vmw_cmdbuf_idle()
799 bool interruptible) in vmw_cmdbuf_alloc_space() argument
811 if (interruptible) { in vmw_cmdbuf_alloc_space()
826 if (interruptible) { in vmw_cmdbuf_alloc_space()
[all …]
Dvmwgfx_resource.c355 bool interruptible) in vmw_resource_buf_alloc() argument
373 interruptible, in vmw_resource_buf_alloc()
542 bool interruptible, in vmw_resource_check_buffer() argument
551 ret = vmw_resource_buf_alloc(res, interruptible); in vmw_resource_check_buffer()
561 ret = ttm_eu_reserve_buffers(ticket, &val_list, interruptible, NULL); in vmw_resource_check_buffer()
599 int vmw_resource_reserve(struct vmw_resource *res, bool interruptible, in vmw_resource_reserve() argument
611 ret = vmw_resource_buf_alloc(res, interruptible); in vmw_resource_reserve()
655 struct vmw_resource *res, bool interruptible) in vmw_resource_do_evict() argument
665 ret = vmw_resource_check_buffer(ticket, res, interruptible, &val_buf); in vmw_resource_do_evict()
986 int vmw_resource_pin(struct vmw_resource *res, bool interruptible) in vmw_resource_pin() argument
[all …]
Dvmwgfx_drv.h759 extern int vmw_resource_reserve(struct vmw_resource *res, bool interruptible,
831 bool interruptible);
834 bool interruptible);
837 bool interruptible);
840 bool interruptible);
843 bool interruptible);
851 bool interruptible,
979 bool interruptible);
1106 uint32_t seqno, bool interruptible,
1116 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()
525 int vmw_fifo_flush(struct vmw_private *dev_priv, bool interruptible) in vmw_fifo_flush() argument
530 return vmw_cmdbuf_cur_flush(dev_priv->cman, interruptible); in vmw_fifo_flush()
Dvmwgfx_fence.h95 bool interruptible, unsigned long timeout);
131 bool interruptible);
Dvmwgfx_fence.c526 bool interruptible, unsigned long timeout) in vmw_fence_obj_wait() argument
528 long ret = dma_fence_wait_timeout(&fence->base, interruptible, timeout); in vmw_fence_obj_wait()
611 .interruptible = false, in vmw_user_fence_create()
1020 bool interruptible) in vmw_event_fence_action_queue() argument
1054 bool interruptible) in vmw_event_fence_action_create() argument
1085 interruptible); in vmw_event_fence_action_create()
1091 interruptible); in vmw_event_fence_action_create()
Dvmwgfx_validation.c529 bool interruptible, in vmw_validation_bo_validate_single() argument
535 .interruptible = interruptible, in vmw_validation_bo_validate_single()
589 .interruptible = intr, in vmw_validation_bo_validate()
Dvmwgfx_ttm_glue.c61 static struct ttm_operation_ctx ctx = {.interruptible = false, in vmw_vmt_reserve()
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_modeset_lock.c206 ctx->interruptible = true; in drm_modeset_acquire_init()
242 bool interruptible, bool slow) in modeset_lock() argument
255 } else if (interruptible && slow) { in modeset_lock()
257 } else if (interruptible) { in modeset_lock()
305 return modeset_lock(contended, ctx, ctx->interruptible, true); in drm_modeset_backoff()
342 return modeset_lock(lock, ctx, ctx->interruptible, false); in drm_modeset_lock()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/
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()
166 interruptible, in intel_gt_retire_requests_timeout()
/kernel/linux/linux-5.10/include/drm/ttm/
Dttm_bo_driver.h487 bool interruptible, bool no_wait, in ttm_bo_reserve() argument
501 if (interruptible) in ttm_bo_reserve()
521 bool interruptible, in ttm_bo_reserve_slowpath() argument
524 if (interruptible) { in ttm_bo_reserve_slowpath()
Dttm_bo_api.h208 bool interruptible; member
262 int ttm_bo_wait(struct ttm_buffer_object *bo, bool interruptible, bool no_wait);
470 uint32_t page_alignment, bool interruptible,
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/
Dmsm_fence.c43 ktime_t *timeout, bool interruptible) in msm_wait_fence() argument
59 if (interruptible) in msm_wait_fence()
Dmsm_fence.h28 ktime_t *timeout, bool interruptible);
/kernel/linux/linux-5.10/drivers/gpu/drm/qxl/
Dqxl_cmd.c113 const void *new_elt, bool interruptible) in qxl_ring_push() argument
129 if (interruptible) { in qxl_ring_push()
187 uint32_t type, bool interruptible) in qxl_push_command_ring_release() argument
194 return qxl_ring_push(qdev->command_ring, &cmd, interruptible); in qxl_push_command_ring_release()
199 uint32_t type, bool interruptible) in qxl_push_cursor_ring_release() argument
206 return qxl_ring_push(qdev->cursor_ring, &cmd, interruptible); in qxl_push_cursor_ring_release()
Dqxl_drv.h385 int qxl_ring_push(struct qxl_ring *ring, const void *new_elt, bool interruptible);
409 uint32_t type, bool interruptible);
412 uint32_t type, bool interruptible);
/kernel/linux/linux-5.10/drivers/gpu/drm/ttm/
Dttm_bo.c392 bool interruptible, bool no_wait_gpu, in ttm_bo_cleanup_refs() argument
410 lret = dma_resv_wait_timeout_rcu(resv, true, interruptible, in ttm_bo_cleanup_refs()
708 if (ctx->interruptible) in ttm_mem_evict_wait_busy()
781 ret = ttm_bo_cleanup_refs(bo, ctx->interruptible, in ttm_mem_evict_first()
1234 bool interruptible, in ttm_bo_init() argument
1240 struct ttm_operation_ctx ctx = { interruptible, false }; in ttm_bo_init()
1288 bool interruptible, in ttm_bo_create() argument
1301 interruptible, acc_size, in ttm_bo_create()
1483 bool interruptible, bool no_wait) in ttm_bo_wait() argument
1495 interruptible, timeout); in ttm_bo_wait()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
Dradeon_ttm.c209 bool evict, bool interruptible, in radeon_move_vram_ram() argument
213 struct ttm_operation_ctx ctx = { interruptible, no_wait_gpu }; in radeon_move_vram_ram()
260 bool evict, bool interruptible, in radeon_move_ram_vram() argument
264 struct ttm_operation_ctx ctx = { interruptible, no_wait_gpu }; in radeon_move_ram_vram()
307 r = ttm_bo_wait(bo, ctx->interruptible, ctx->no_wait_gpu); in radeon_bo_move()
337 r = radeon_move_vram_ram(bo, evict, ctx->interruptible, in radeon_bo_move()
341 r = radeon_move_ram_vram(bo, evict, ctx->interruptible, in radeon_bo_move()
/kernel/linux/linux-5.10/fs/orangefs/
Dwaitqueue.c325 interruptible = flags & ORANGEFS_OP_INTERRUPTIBLE; in wait_for_matching_downcall() local
335 else if (!writeback && interruptible) in wait_for_matching_downcall()

1234