/external/mesa3d/src/gallium/drivers/freedreno/ |
D | freedreno_resource.h | 47 struct fd_resource { struct 60 struct fd_resource *stencil; argument 115 static inline struct fd_resource * argument 116 fd_resource(struct pipe_resource *ptex) in fd_resource() function 118 return (struct fd_resource *)ptex; in fd_resource() 121 static inline const struct fd_resource * 124 return (const struct fd_resource *)ptex; in fd_resource_const() 134 pending(struct fd_resource *rsc, bool write) in pending() 151 fd_resource_busy(struct fd_resource *rsc, unsigned op) in fd_resource_busy() 157 fd_resource_lock(struct fd_resource *rsc) in fd_resource_lock() [all …]
|
D | freedreno_resource.c | 70 rebind_resource_in_ctx(struct fd_context *ctx, struct fd_resource *rsc) in rebind_resource_in_ctx() 154 rebind_resource(struct fd_resource *rsc) in rebind_resource() 170 fd_resource_set_bo(struct fd_resource *rsc, struct fd_bo *bo) in fd_resource_set_bo() 179 realloc_bo(struct fd_resource *rsc, uint32_t size) in realloc_bo() 230 flush_resource(struct fd_context *ctx, struct fd_resource *rsc, unsigned usage); 239 fd_try_shadow_resource(struct fd_context *ctx, struct fd_resource *rsc, in fd_try_shadow_resource() 310 struct fd_resource *shadow = fd_resource(pshadow); in fd_try_shadow_resource() 414 fd_resource_uncompress(struct fd_context *ctx, struct fd_resource *rsc) in fd_resource_uncompress() 427 fd_resource_dump(struct fd_resource *rsc, const char *name) in fd_resource_dump() 434 static struct fd_resource * [all …]
|
D | freedreno_query_acc.c | 52 struct fd_resource *rsc; in realloc_query_bo() 61 rsc = fd_resource(aq->prsc); in realloc_query_bo() 91 fd_batch_resource_write(batch, fd_resource(aq->prsc)); in fd_acc_query_resume() 138 struct fd_resource *rsc = fd_resource(aq->prsc); in fd_acc_get_query_result()
|
D | freedreno_batch_cache.h | 32 struct fd_resource; 72 void fd_bc_invalidate_resource(struct fd_resource *rsc, bool destroy);
|
D | freedreno_batch.c | 236 struct fd_resource *rsc = (struct fd_resource *)entry->key; in batch_reset_resources_locked() 407 flush_write_batch(struct fd_resource *rsc) in flush_write_batch() 421 fd_batch_add_resource(struct fd_batch *batch, struct fd_resource *rsc) in fd_batch_add_resource() 436 fd_batch_resource_write(struct fd_batch *batch, struct fd_resource *rsc) in fd_batch_resource_write() 480 fd_batch_resource_read_slowpath(struct fd_batch *batch, struct fd_resource *rsc) in fd_batch_resource_read_slowpath()
|
D | freedreno_batch.h | 43 struct fd_resource; 269 void fd_batch_resource_write(struct fd_batch *batch, struct fd_resource *rsc); 270 void fd_batch_resource_read_slowpath(struct fd_batch *batch, struct fd_resource *rsc);
|
D | freedreno_query_hw.c | 200 struct fd_resource *rsc = fd_resource(period->end->prsc); in fd_hw_get_query_result() 235 struct fd_resource *rsc = fd_resource(start->prsc); in fd_hw_get_query_result() 376 OUT_RELOC(ring, fd_resource(batch->query_buf)->bo, offset, 0, 0); in fd_hw_query_prepare_tile()
|
D | freedreno_batch_cache.c | 276 struct fd_resource *rsc = fd_resource(key->surf[idx].texture); in fd_bc_invalidate_batch() 289 fd_bc_invalidate_resource(struct fd_resource *rsc, bool destroy) in fd_bc_invalidate_resource() 446 struct fd_resource *rsc = fd_resource(key->surf[idx].texture); in batch_from_key()
|
/external/mesa3d/src/gallium/drivers/freedreno/a6xx/ |
D | fd6_resource.c | 40 ok_ubwc_format(struct fd_resource *rsc, enum pipe_format pfmt) in ok_ubwc_format() 104 fd6_validate_format(struct fd_context *ctx, struct fd_resource *rsc, in fd6_validate_format() 117 setup_lrz(struct fd_resource *rsc) in setup_lrz() 146 fd6_setup_slices(struct fd_resource *rsc) in fd6_setup_slices() 166 fill_ubwc_buffer_sizes(struct fd_resource *rsc) in fill_ubwc_buffer_sizes() 197 fd6_layout_resource_for_modifier(struct fd_resource *rsc, uint64_t modifier) in fd6_layout_resource_for_modifier()
|
D | fd6_image.c | 61 struct fd_resource *rsc = fd_resource(prsc); in translate_image() 138 struct fd_resource *rsc = fd_resource(prsc); in translate_buf() 170 struct fd_resource *rsc = fd_resource(img->prsc); in emit_image_tex() 246 struct fd_resource *rsc = fd_resource(img->prsc); in emit_image_ssbo() 337 fd6_validate_format(ctx, fd_resource(buf->resource), buf->format); in fd6_set_shader_images()
|
D | fd6_blitter.c | 170 return fd_resource_ubwc_enabled(fd_resource(prsc), level); in is_ubwc() 315 struct fd_resource *src, *dst; in emit_blit_buffer() 323 src = fd_resource(info->src.resource); in emit_blit_buffer() 324 dst = fd_resource(info->dst.resource); in emit_blit_buffer() 437 fd6_clear_ubwc(struct fd_batch *batch, struct fd_resource *rsc) in fd6_clear_ubwc() 541 struct fd_resource *dst = fd_resource(prsc); in emit_blit_dst() 578 struct fd_resource *src = fd_resource(info->src.resource); in emit_blit_src() 633 struct fd_resource *dst; in emit_blit_texture() 642 dst = fd_resource(info->dst.resource); in emit_blit_texture() 806 fd_batch_resource_read(batch, fd_resource(info->src.resource)); in handle_rgba_blit() [all …]
|
D | fd6_resource.h | 33 void fd6_validate_format(struct fd_context *ctx, struct fd_resource *rsc, 35 void fd6_emit_flag_reference(struct fd_ringbuffer *ring, struct fd_resource *rsc,
|
D | fd6_gmem.c | 57 fd6_emit_flag_reference(struct fd_ringbuffer *ring, struct fd_resource *rsc, in fd6_emit_flag_reference() 86 struct fd_resource *rsc = NULL; in emit_mrt() 99 rsc = fd_resource(psurf->texture); in emit_mrt() 173 struct fd_resource *rsc = fd_resource(zsbuf->texture); in emit_zs() 286 struct fd_resource *rsc = fd_resource(pfb->zsbuf->texture); in update_render_cntl() 295 struct fd_resource *rsc = fd_resource(psurf->texture); in update_render_cntl() 862 struct fd_resource *rsc = fd_resource(psurf->texture); in emit_blit() 1005 has_depth && fd_resource(pfb->zsbuf->texture)->stencil; in emit_clears() 1101 struct fd_resource *rsc = fd_resource(pfb->zsbuf->texture); in emit_restore_blits() 1163 if (!fd_resource(psurf->texture)->valid) in emit_resolve_blit() [all …]
|
D | fd6_draw.c | 52 struct fd_resource *ind = fd_resource(info->indirect->buffer); in draw_emit_indirect() 61 fd_resource(idx)->bo, index_offset), in draw_emit_indirect() 93 fd_resource(idx_buffer)->bo, index_offset), in draw_emit() 343 fd6_clear_lrz(struct fd_batch *batch, struct fd_resource *zsbuf, double depth) in fd6_clear_lrz() 503 struct fd_resource *zsbuf = fd_resource(pfb->zsbuf->texture); in fd6_clear()
|
D | fd6_texture.c | 222 struct fd_resource *rsc = fd_resource(prsc); in fd6_sampler_view_create() 274 struct fd_resource *next = fd_resource(rsc->base.next); in fd6_sampler_view_create() 420 key.view[i].rsc_seqno = fd_resource(view->base.texture)->seqno; in fd6_texture_state() 473 fd6_rebind_resource(struct fd_context *ctx, struct fd_resource *rsc) in fd6_rebind_resource()
|
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/ |
D | fd5_blitter.c | 101 if ((fd_resource(info->dst.resource)->layout.tile_mode || in can_do_blit() 102 fd_resource(info->src.resource)->layout.tile_mode) && in can_do_blit() 195 struct fd_resource *src, *dst; in emit_blit_buffer() 198 src = fd_resource(info->src.resource); in emit_blit_buffer() 199 dst = fd_resource(info->dst.resource); in emit_blit_buffer() 310 struct fd_resource *src, *dst; in emit_blit() 319 src = fd_resource(info->src.resource); in emit_blit() 320 dst = fd_resource(info->dst.resource); in emit_blit() 449 assert(fd_resource(info->src.resource)->layout.tile_mode == TILE5_LINEAR); in fd5_blitter_blit() 450 assert(fd_resource(info->dst.resource)->layout.tile_mode == TILE5_LINEAR); in fd5_blitter_blit() [all …]
|
D | fd5_draw.h | 73 OUT_RELOC(ring, fd_resource(idx_buffer)->bo, idx_offset, 0, 0); in fd5_draw() 95 struct fd_resource *ind = fd_resource(info->indirect->buffer); in fd5_draw_emit() 107 OUT_RELOC(ring, fd_resource(idx)->bo, in fd5_draw_emit()
|
D | fd5_gmem.c | 56 struct fd_resource *rsc = NULL; in emit_mrt() 73 rsc = fd_resource(psurf->texture); in emit_mrt() 137 struct fd_resource *rsc = fd_resource(zsbuf->texture); in emit_zs() 470 struct fd_resource *rsc = fd_resource(psurf->texture); in emit_mem2gmem_surf() 553 struct fd_resource *rsc = fd_resource(pfb->zsbuf->texture); in fd5_emit_tile_mem2gmem() 607 struct fd_resource *rsc = fd_resource(psurf->texture); in emit_gmem2mem_surf() 658 struct fd_resource *rsc = fd_resource(pfb->zsbuf->texture); in fd5_emit_tile_gmem2mem()
|
D | fd5_resource.c | 30 setup_lrz(struct fd_resource *rsc) in setup_lrz() 58 fd5_setup_slices(struct fd_resource *rsc) in fd5_setup_slices()
|
D | fd5_emit.c | 116 OUT_RELOC(ring, fd_resource(prscs[i])->bo, offsets[i], 0, 0); in fd5_emit_const_ptrs() 333 OUT_RELOC(ring, fd_resource(fd5_ctx->border_color_buf)->bo, off, 0, 0); in emit_border_color() 391 tile_mode = fd_resource(view->base.texture)->layout.tile_mode; in emit_textures() 399 struct fd_resource *rsc = fd_resource(view->base.texture); in emit_textures() 456 struct fd_resource *rsc = fd_resource(buf->buffer); in emit_ssbos() 479 struct fd_resource *rsc = fd_resource(vb->buffer.resource); in fd5_emit_vertex_bufs() 569 struct fd_resource *rsc = fd_resource(pfb->zsbuf->texture); in fd5_emit_state() 729 OUT_RELOC(ring, fd_resource(target->buffer)->bo, 0, 0, 0); in fd5_emit_state() 1125 struct fd_bo *src_bo = fd_resource(src)->bo; in fd5_mem_to_mem() 1126 struct fd_bo *dst_bo = fd_resource(dst)->bo; in fd5_mem_to_mem()
|
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/ |
D | fd4_draw.h | 79 OUT_RELOC(ring, fd_resource(idx_buffer)->bo, idx_offset, 0, 0); in fd4_draw() 101 struct fd_resource *ind = fd_resource(info->indirect->buffer); in fd4_draw_emit() 112 OUT_RELOC(ring, fd_resource(idx)->bo, index_offset, 0, 0); in fd4_draw_emit()
|
D | fd4_emit.c | 112 OUT_RELOC(ring, fd_resource(prscs[i])->bo, offsets[i], 0, 0); in fd4_emit_const_ptrs() 207 struct fd_resource *rsc = fd_resource(view->base.texture); in emit_textures() 235 struct fd_resource *rsc = fd_resource(view->base.texture); in emit_textures() 260 OUT_RELOC(ring, fd_resource(fd4_ctx->border_color_buf)->bo, off, 0, 0); in emit_textures() 308 struct fd_resource *rsc = fd_resource(bufs[i]->texture); in fd4_emit_gmem_restore_tex() 418 struct fd_resource *rsc = fd_resource(vb->buffer.resource); in fd4_emit_vertex_bufs() 928 struct fd_bo *src_bo = fd_resource(src)->bo; in fd4_mem_to_mem() 929 struct fd_bo *dst_bo = fd_resource(dst)->bo; in fd4_mem_to_mem()
|
D | fd4_gmem.c | 63 struct fd_resource *rsc = NULL; in emit_mrt() 72 rsc = fd_resource(psurf->texture); in emit_mrt() 151 struct fd_resource *rsc = fd_resource(psurf->texture); in emit_gmem2mem_surf() 269 struct fd_resource *rsc = fd_resource(pfb->zsbuf->texture); in fd4_emit_tile_gmem2mem() 349 OUT_RELOC(ring, fd_resource(ctx->blit_texcoord_vbuf)->bo, 0, 0, 0); in fd4_emit_tile_mem2gmem() 703 struct fd_resource *rsc = fd_resource(pfb->zsbuf->texture); in fd4_emit_tile_prep()
|
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/ |
D | fd3_resource.c | 29 setup_slices(struct fd_resource *rsc, uint32_t alignment, enum pipe_format format) in setup_slices() 76 fd3_setup_slices(struct fd_resource *rsc) in fd3_setup_slices()
|
D | fd3_gmem.c | 57 struct fd_resource *rsc = NULL; in emit_mrt() 71 rsc = fd_resource(psurf->texture); in emit_mrt() 184 OUT_RELOC(ring, fd_resource(ctx->solid_vbuf)->bo, 0x20, 0, -1); /* RB_COPY_DEST_BASE */ in emit_binning_workaround() 317 struct fd_resource *rsc = fd_resource(psurf->texture); in emit_gmem2mem_surf() 444 struct fd_resource *rsc = fd_resource(pfb->zsbuf->texture); in fd3_emit_tile_gmem2mem() 559 OUT_RELOC(ring, fd_resource(ctx->blit_texcoord_vbuf)->bo, 0, 0, 0); in fd3_emit_tile_mem2gmem() 729 struct fd_resource *rsc = fd_resource(psurf->texture); in fd3_emit_sysmem_prep() 996 struct fd_resource *rsc = fd_resource(pfb->zsbuf->texture); in fd3_emit_tile_renderprep()
|