Searched refs:dsb_buf (Results 1 – 4 of 4) sorted by relevance
/linux-6.12.1/drivers/gpu/drm/xe/display/ |
D | xe_dsb_buffer.c | 13 u32 intel_dsb_buffer_ggtt_offset(struct intel_dsb_buffer *dsb_buf) in intel_dsb_buffer_ggtt_offset() argument 15 return xe_bo_ggtt_addr(dsb_buf->vma->bo); in intel_dsb_buffer_ggtt_offset() 18 void intel_dsb_buffer_write(struct intel_dsb_buffer *dsb_buf, u32 idx, u32 val) in intel_dsb_buffer_write() argument 20 struct xe_device *xe = dsb_buf->vma->bo->tile->xe; in intel_dsb_buffer_write() 22 iosys_map_wr(&dsb_buf->vma->bo->vmap, idx * 4, u32, val); in intel_dsb_buffer_write() 26 u32 intel_dsb_buffer_read(struct intel_dsb_buffer *dsb_buf, u32 idx) in intel_dsb_buffer_read() argument 28 return iosys_map_rd(&dsb_buf->vma->bo->vmap, idx * 4, u32); in intel_dsb_buffer_read() 31 void intel_dsb_buffer_memset(struct intel_dsb_buffer *dsb_buf, u32 idx, u32 val, size_t size) in intel_dsb_buffer_memset() argument 33 struct xe_device *xe = dsb_buf->vma->bo->tile->xe; in intel_dsb_buffer_memset() 35 WARN_ON(idx > (dsb_buf->buf_size - size) / sizeof(*dsb_buf->cmd_buf)); in intel_dsb_buffer_memset() [all …]
|
/linux-6.12.1/drivers/gpu/drm/i915/display/ |
D | intel_dsb_buffer.c | 13 u32 intel_dsb_buffer_ggtt_offset(struct intel_dsb_buffer *dsb_buf) in intel_dsb_buffer_ggtt_offset() argument 15 return i915_ggtt_offset(dsb_buf->vma); in intel_dsb_buffer_ggtt_offset() 18 void intel_dsb_buffer_write(struct intel_dsb_buffer *dsb_buf, u32 idx, u32 val) in intel_dsb_buffer_write() argument 20 dsb_buf->cmd_buf[idx] = val; in intel_dsb_buffer_write() 23 u32 intel_dsb_buffer_read(struct intel_dsb_buffer *dsb_buf, u32 idx) in intel_dsb_buffer_read() argument 25 return dsb_buf->cmd_buf[idx]; in intel_dsb_buffer_read() 28 void intel_dsb_buffer_memset(struct intel_dsb_buffer *dsb_buf, u32 idx, u32 val, size_t size) in intel_dsb_buffer_memset() argument 30 WARN_ON(idx > (dsb_buf->buf_size - size) / sizeof(*dsb_buf->cmd_buf)); in intel_dsb_buffer_memset() 32 memset(&dsb_buf->cmd_buf[idx], val, size); in intel_dsb_buffer_memset() 35 bool intel_dsb_buffer_create(struct intel_crtc *crtc, struct intel_dsb_buffer *dsb_buf, size_t size) in intel_dsb_buffer_create() argument [all …]
|
D | intel_dsb_buffer.h | 20 u32 intel_dsb_buffer_ggtt_offset(struct intel_dsb_buffer *dsb_buf); 21 void intel_dsb_buffer_write(struct intel_dsb_buffer *dsb_buf, u32 idx, u32 val); 22 u32 intel_dsb_buffer_read(struct intel_dsb_buffer *dsb_buf, u32 idx); 23 void intel_dsb_buffer_memset(struct intel_dsb_buffer *dsb_buf, u32 idx, u32 val, size_t size); 24 bool intel_dsb_buffer_create(struct intel_crtc *crtc, struct intel_dsb_buffer *dsb_buf, 26 void intel_dsb_buffer_cleanup(struct intel_dsb_buffer *dsb_buf); 27 void intel_dsb_buffer_flush_map(struct intel_dsb_buffer *dsb_buf);
|
D | intel_dsb.c | 25 struct intel_dsb_buffer dsb_buf; member 196 intel_dsb_buffer_read(&dsb->dsb_buf, i), in intel_dsb_dump() 197 intel_dsb_buffer_read(&dsb->dsb_buf, i + 1), in intel_dsb_dump() 198 intel_dsb_buffer_read(&dsb->dsb_buf, i + 2), in intel_dsb_dump() 199 intel_dsb_buffer_read(&dsb->dsb_buf, i + 3)); in intel_dsb_dump() 219 intel_dsb_buffer_write(&dsb->dsb_buf, dsb->free_pos++, ldw); in intel_dsb_emit() 220 intel_dsb_buffer_write(&dsb->dsb_buf, dsb->free_pos++, udw); in intel_dsb_emit() 236 prev_opcode = intel_dsb_buffer_read(&dsb->dsb_buf, in intel_dsb_prev_ins_is_write() 238 prev_reg = intel_dsb_buffer_read(&dsb->dsb_buf, in intel_dsb_prev_ins_is_write() 302 u32 prev_val = intel_dsb_buffer_read(&dsb->dsb_buf, in intel_dsb_reg_write() [all …]
|