Searched refs:ringbuf (Results 1 – 12 of 12) sorted by relevance
/drivers/gpu/drm/i915/ |
D | intel_lrc.c | 362 struct drm_i915_gem_object *rb_obj = rq->ringbuf->obj; in execlists_update_context() 451 struct intel_ringbuffer *ringbuf; in execlists_context_unqueue() local 453 ringbuf = req0->ctx->engine[ring->id].ringbuf; in execlists_context_unqueue() 455 req0->tail &= ringbuf->size - 1; in execlists_context_unqueue() 660 request->ringbuf = request->ctx->engine[request->ring->id].ringbuf; in intel_logical_ring_alloc_request_extras() 674 struct intel_ringbuffer *ringbuf = req->ringbuf; in logical_ring_wait_for_space() local 680 if (intel_ring_space(ringbuf) >= bytes) in logical_ring_wait_for_space() 684 WARN_ON(ringbuf->reserved_in_use); in logical_ring_wait_for_space() 692 if (target->ringbuf != ringbuf) in logical_ring_wait_for_space() 696 space = __intel_ring_space(target->postfix, ringbuf->tail, in logical_ring_wait_for_space() [all …]
|
D | intel_mocs.c | 177 struct intel_ringbuffer *ringbuf = req->ringbuf; in emit_mocs_control_table() local 190 intel_logical_ring_emit(ringbuf, in emit_mocs_control_table() 194 intel_logical_ring_emit(ringbuf, reg_base + index * 4); in emit_mocs_control_table() 195 intel_logical_ring_emit(ringbuf, in emit_mocs_control_table() 208 intel_logical_ring_emit(ringbuf, reg_base + index * 4); in emit_mocs_control_table() 209 intel_logical_ring_emit(ringbuf, table->table[0].control_value); in emit_mocs_control_table() 212 intel_logical_ring_emit(ringbuf, MI_NOOP); in emit_mocs_control_table() 213 intel_logical_ring_advance(ringbuf); in emit_mocs_control_table() 232 struct intel_ringbuffer *ringbuf = req->ringbuf; in emit_mocs_l3cc_table() local 249 intel_logical_ring_emit(ringbuf, in emit_mocs_l3cc_table() [all …]
|
D | intel_ringbuffer.h | 427 struct intel_ringbuffer *ringbuf); 428 void intel_unpin_ringbuffer_obj(struct intel_ringbuffer *ringbuf); 441 struct intel_ringbuffer *ringbuf = ring->buffer; in intel_ring_emit() local 442 iowrite32(data, ringbuf->virtual_start + ringbuf->tail); in intel_ring_emit() 443 ringbuf->tail += 4; in intel_ring_emit() 447 struct intel_ringbuffer *ringbuf = ring->buffer; in intel_ring_advance() local 448 ringbuf->tail &= ringbuf->size - 1; in intel_ring_advance() 451 void intel_ring_update_space(struct intel_ringbuffer *ringbuf); 452 int intel_ring_space(struct intel_ringbuffer *ringbuf); 473 static inline u32 intel_ring_get_tail(struct intel_ringbuffer *ringbuf) in intel_ring_get_tail() argument [all …]
|
D | intel_ringbuffer.c | 46 struct intel_ringbuffer *ringbuf = dctx->engine[ring->id].ringbuf; in intel_ring_initialized() local 48 return ringbuf->obj; in intel_ring_initialized() 61 void intel_ring_update_space(struct intel_ringbuffer *ringbuf) in intel_ring_update_space() argument 63 if (ringbuf->last_retired_head != -1) { in intel_ring_update_space() 64 ringbuf->head = ringbuf->last_retired_head; in intel_ring_update_space() 65 ringbuf->last_retired_head = -1; in intel_ring_update_space() 68 ringbuf->space = __intel_ring_space(ringbuf->head & HEAD_ADDR, in intel_ring_update_space() 69 ringbuf->tail, ringbuf->size); in intel_ring_update_space() 72 int intel_ring_space(struct intel_ringbuffer *ringbuf) in intel_ring_space() argument 74 intel_ring_update_space(ringbuf); in intel_ring_space() [all …]
|
D | intel_lrc.h | 58 static inline void intel_logical_ring_advance(struct intel_ringbuffer *ringbuf) in intel_logical_ring_advance() argument 60 ringbuf->tail &= ringbuf->size - 1; in intel_logical_ring_advance() 67 static inline void intel_logical_ring_emit(struct intel_ringbuffer *ringbuf, in intel_logical_ring_emit() argument 70 iowrite32(data, ringbuf->virtual_start + ringbuf->tail); in intel_logical_ring_emit() 71 ringbuf->tail += 4; in intel_logical_ring_emit()
|
D | i915_guc_submission.c | 402 struct intel_ringbuffer *ringbuf = ctx->engine[i].ringbuf; in guc_init_ctx_desc() local 418 ring = ringbuf->ring; in guc_init_ctx_desc() 428 obj = ringbuf->obj; in guc_init_ctx_desc() 556 tail = rq->ringbuf->tail >> 3; in guc_add_workqueue_item() 572 struct drm_i915_gem_object *rb_obj = rq->ringbuf->obj; in lr_context_update()
|
D | i915_gem.c | 1424 request->ringbuf->last_retired_head = request->postfix; in i915_gem_request_retire() 2632 struct intel_ringbuffer *ringbuf; in __i915_add_request() local 2641 ringbuf = request->ringbuf; in __i915_add_request() 2648 intel_ring_reserved_space_use(ringbuf); in __i915_add_request() 2650 request_start = intel_ring_get_tail(ringbuf); in __i915_add_request() 2672 request->postfix = intel_ring_get_tail(ringbuf); in __i915_add_request() 2679 request->tail = intel_ring_get_tail(ringbuf); in __i915_add_request() 2709 intel_ring_reserved_space_end(ringbuf); in __i915_add_request() 2845 intel_ring_reserved_space_cancel(req->ringbuf); in i915_gem_request_cancel()
|
D | i915_debugfs.c | 1911 struct intel_ringbuffer *ringbuf) in describe_ctx_ringbuf() argument 1914 ringbuf->space, ringbuf->head, ringbuf->tail, in describe_ctx_ringbuf() 1915 ringbuf->last_retired_head); in describe_ctx_ringbuf() 1949 struct intel_ringbuffer *ringbuf = in i915_context_status() local 1950 ctx->engine[i].ringbuf; in i915_context_status() 1955 if (ringbuf) in i915_context_status() 1956 describe_ctx_ringbuf(m, ringbuf); in i915_context_status()
|
D | i915_gpu_error.c | 1040 rbuf = request->ctx->engine[ring->id].ringbuf; in i915_gem_record_rings() 1042 rbuf = ring->default_context->engine[ring->id].ringbuf; in i915_gem_record_rings()
|
D | i915_drv.h | 890 struct intel_ringbuffer *ringbuf; member 2242 struct intel_ringbuffer *ringbuf; member
|
/drivers/net/irda/ |
D | donauboe.c | 1498 kfree (self->ringbuf); in toshoboe_close() 1499 self->ringbuf = NULL; in toshoboe_close() 1585 self->ringbuf = kmalloc(OBOE_RING_LEN << 1, GFP_KERNEL); in toshoboe_open() 1586 if (!self->ringbuf) in toshoboe_open() 1600 addr = (__u32) self->ringbuf; in toshoboe_open() 1663 kfree(self->ringbuf); in toshoboe_open()
|
D | donauboe.h | 336 void *ringbuf; /*The ring buffer */ member
|