/external/mesa3d/src/gallium/drivers/freedreno/ |
D | freedreno_resource.h | 66 struct fd_resource { struct 80 struct fd_resource *stencil; argument 113 static inline struct fd_resource * argument 114 fd_resource(struct pipe_resource *ptex) in fd_resource() function 116 return (struct fd_resource *)ptex; in fd_resource() 120 pending(struct fd_resource *rsc, bool write) in pending() 149 fd_resource_slice(struct fd_resource *rsc, unsigned level) in fd_resource_slice() 157 fd_resource_offset(struct fd_resource *rsc, unsigned level, unsigned layer) in fd_resource_offset() 187 uint32_t fd_setup_slices(struct fd_resource *rsc);
|
D | freedreno_resource.c | 99 realloc_bo(struct fd_resource *rsc, uint32_t size) in realloc_bo() 136 fd_try_shadow_resource(struct fd_context *ctx, struct fd_resource *rsc, in fd_try_shadow_resource() 189 struct fd_resource *shadow = fd_resource(pshadow); in fd_try_shadow_resource() 281 static struct fd_resource * 282 fd_alloc_staging(struct fd_context *ctx, struct fd_resource *rsc, in fd_alloc_staging() 300 return fd_resource(pstaging); in fd_alloc_staging() 344 fd_resource_layer_offset(struct fd_resource *rsc, in fd_resource_layer_offset() 358 struct fd_resource *rsc = fd_resource(ptrans->resource); in fd_resource_transfer_flush_region() 367 flush_resource(struct fd_context *ctx, struct fd_resource *rsc, unsigned usage) in flush_resource() 408 flush_resource(fd_context(pctx), fd_resource(prsc), PIPE_TRANSFER_READ); in fd_flush_resource() [all …]
|
D | freedreno_query_acc.c | 58 struct fd_resource *rsc; in realloc_query_bo() 67 rsc = fd_resource(aq->prsc); in realloc_query_bo() 121 struct fd_resource *rsc = fd_resource(aq->prsc); in fd_acc_get_query_result()
|
D | freedreno_batch_cache.h | 32 struct fd_resource; 70 void fd_bc_invalidate_resource(struct fd_resource *rsc, bool destroy);
|
D | freedreno_batch_cache.c | 217 struct fd_resource *rsc = fd_resource(key->surf[idx].texture); in fd_bc_invalidate_batch() 230 fd_bc_invalidate_resource(struct fd_resource *rsc, bool destroy) in fd_bc_invalidate_resource() 373 struct fd_resource *rsc = fd_resource(key->surf[idx].texture); in batch_from_key()
|
D | freedreno_query_hw.c | 204 struct fd_resource *rsc = fd_resource(period->end->prsc); in fd_hw_get_query_result() 239 struct fd_resource *rsc = fd_resource(start->prsc); in fd_hw_get_query_result() 379 OUT_RELOCW(ring, fd_resource(batch->query_buf)->bo, offset, 0, 0); in fd_hw_query_prepare_tile()
|
D | freedreno_draw.c | 50 fd_batch_resource_used(batch, fd_resource(prsc), false); in resource_read() 58 fd_batch_resource_used(batch, fd_resource(prsc), true); in resource_written() 140 if (fd_resource(pfb->zsbuf->texture)->valid) in fd_draw_vbo() 148 if (fd_resource(pfb->zsbuf->texture)->valid) in fd_draw_vbo() 168 if (fd_resource(surf)->valid) in fd_draw_vbo()
|
D | freedreno_batch.h | 37 struct fd_resource; 213 void fd_batch_resource_used(struct fd_batch *batch, struct fd_resource *rsc, bool write);
|
D | freedreno_batch.c | 182 struct fd_resource *rsc = (struct fd_resource *)entry->key; in batch_reset_resources_locked() 387 fd_batch_resource_used(struct fd_batch *batch, struct fd_resource *rsc, bool write) in fd_batch_resource_used()
|
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/ |
D | fd5_blitter.c | 101 if ((fd_resource(info->dst.resource)->tile_mode || in can_do_blit() 102 fd_resource(info->src.resource)->tile_mode) && in can_do_blit() 211 struct fd_resource *src, *dst; in emit_blit_buffer() 214 src = fd_resource(info->src.resource); in emit_blit_buffer() 215 dst = fd_resource(info->dst.resource); in emit_blit_buffer() 326 struct fd_resource *src, *dst; in emit_blit() 335 src = fd_resource(info->src.resource); in emit_blit() 336 dst = fd_resource(info->dst.resource); in emit_blit() 471 assert(fd_resource(info->src.resource)->tile_mode == TILE5_LINEAR); in fd5_blitter_blit() 472 assert(fd_resource(info->dst.resource)->tile_mode == TILE5_LINEAR); in fd5_blitter_blit() [all …]
|
D | fd5_draw.h | 72 OUT_RELOC(ring, fd_resource(idx_buffer)->bo, idx_offset, 0, 0); in fd5_draw() 94 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_emit.c | 77 struct fd_bo *bo = fd_resource(prsc)->bo; in fd5_emit_const() 112 OUT_RELOCW(ring, fd_resource(prscs[i])->bo, offsets[i], 0, 0); in fd5_emit_const_bo() 114 OUT_RELOC(ring, fd_resource(prscs[i])->bo, offsets[i], 0, 0); in fd5_emit_const_bo() 286 OUT_RELOC(ring, fd_resource(fd5_ctx->border_color_buf)->bo, off, 0, 0); in emit_border_color() 344 tile_mode = fd_resource(view->base.texture)->tile_mode; in emit_textures() 352 struct fd_resource *rsc = fd_resource(view->base.texture); in emit_textures() 427 struct fd_resource *rsc = fd_resource(buf->buffer); in emit_ssbos() 450 struct fd_resource *rsc = fd_resource(vb->buffer.resource); in fd5_emit_vertex_bufs() 533 struct fd_resource *rsc = fd_resource(pfb->zsbuf->texture); in fd5_emit_state() 690 OUT_RELOCW(ring, fd_resource(target->buffer)->bo, 0, 0, 0); in fd5_emit_state() [all …]
|
D | fd5_gmem.c | 56 struct fd_resource *rsc = NULL; in emit_mrt() 73 rsc = fd_resource(psurf->texture); in emit_mrt() 138 struct fd_resource *rsc = fd_resource(zsbuf->texture); in emit_zs() 474 struct fd_resource *rsc = fd_resource(psurf->texture); in emit_mem2gmem_surf() 558 struct fd_resource *rsc = fd_resource(pfb->zsbuf->texture); in fd5_emit_tile_mem2gmem() 610 struct fd_resource *rsc = fd_resource(psurf->texture); in emit_gmem2mem_surf() 654 struct fd_resource *rsc = fd_resource(pfb->zsbuf->texture); in fd5_emit_tile_gmem2mem()
|
D | fd5_resource.c | 47 setup_slices(struct fd_resource *rsc, uint32_t alignment, enum pipe_format format) in setup_slices() 132 fd5_setup_slices(struct fd_resource *rsc) in fd5_setup_slices()
|
D | fd5_resource.h | 32 uint32_t fd5_setup_slices(struct fd_resource *rsc);
|
D | fd5_compute.c | 192 struct fd_resource *rsc = fd_resource(info->indirect); in fd5_launch_grid()
|
D | fd5_draw.c | 185 fd5_clear_lrz(struct fd_batch *batch, struct fd_resource *zsbuf, double depth) in fd5_clear_lrz() 373 struct fd_resource *zsbuf = fd_resource(pfb->zsbuf->texture); in fd5_clear()
|
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/ |
D | fd4_draw.h | 81 OUT_RELOC(ring, fd_resource(idx_buffer)->bo, idx_offset, 0, 0); in fd4_draw() 116 struct fd_resource *ind = fd_resource(info->indirect->buffer); in fd4_draw_emit() 127 OUT_RELOC(ring, fd_resource(idx)->bo, index_offset, 0, 0); in fd4_draw_emit()
|
D | fd4_emit.c | 77 struct fd_bo *bo = fd_resource(prsc)->bo; in fd4_emit_const() 110 OUT_RELOCW(ring, fd_resource(prscs[i])->bo, offsets[i], 0, 0); in fd4_emit_const_bo() 112 OUT_RELOC(ring, fd_resource(prscs[i])->bo, offsets[i], 0, 0); in fd4_emit_const_bo() 192 struct fd_resource *rsc = fd_resource(view->base.texture); in emit_textures() 220 struct fd_resource *rsc = fd_resource(view->base.texture); in emit_textures() 245 OUT_RELOC(ring, fd_resource(fd4_ctx->border_color_buf)->bo, off, 0, 0); in emit_textures() 293 struct fd_resource *rsc = fd_resource(bufs[i]->texture); in fd4_emit_gmem_restore_tex() 408 struct fd_resource *rsc = fd_resource(vb->buffer.resource); in fd4_emit_vertex_bufs() 920 struct fd_bo *src_bo = fd_resource(src)->bo; in fd4_mem_to_mem() 921 struct fd_bo *dst_bo = fd_resource(dst)->bo; in fd4_mem_to_mem()
|
D | fd4_gmem.c | 65 struct fd_resource *rsc = NULL; in emit_mrt() 75 rsc = fd_resource(psurf->texture); in emit_mrt() 155 struct fd_resource *rsc = fd_resource(psurf->texture); in emit_gmem2mem_surf() 274 struct fd_resource *rsc = fd_resource(pfb->zsbuf->texture); in fd4_emit_tile_gmem2mem() 357 OUT_RELOCW(ring, fd_resource(ctx->blit_texcoord_vbuf)->bo, 0, 0, 0); in fd4_emit_tile_mem2gmem() 716 struct fd_resource *rsc = fd_resource(pfb->zsbuf->texture); in fd4_emit_tile_prep()
|
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/ |
D | fd3_emit.c | 82 struct fd_bo *bo = fd_resource(prsc)->bo; in fd3_emit_const() 115 OUT_RELOCW(ring, fd_resource(prscs[i])->bo, offsets[i], 0, 0); in fd3_emit_const_bo() 117 OUT_RELOC(ring, fd_resource(prscs[i])->bo, offsets[i], 0, 0); in fd3_emit_const_bo() 211 struct fd_resource *rsc = fd_resource(view->base.texture); in emit_textures() 246 OUT_RELOC(ring, fd_resource(fd3_ctx->border_color_buf)->bo, off, 0, 0); in emit_textures() 304 struct fd_resource *rsc = fd_resource(psurf[i]->texture); in fd3_emit_gmem_restore_tex() 342 struct fd_resource *rsc = fd_resource(psurf[i]->texture); in fd3_emit_gmem_restore_tex() 404 struct fd_resource *rsc = fd_resource(vb->buffer.resource); in fd3_emit_vertex_bufs()
|
D | fd3_gmem.c | 65 struct fd_resource *rsc = NULL; in emit_mrt() 74 rsc = fd_resource(psurf->texture); in emit_mrt() 190 OUT_RELOCW(ring, fd_resource(ctx->solid_vbuf)->bo, 0x20, 0, -1); /* RB_COPY_DEST_BASE */ in emit_binning_workaround() 323 struct fd_resource *rsc = fd_resource(psurf->texture); in emit_gmem2mem_surf() 447 struct fd_resource *rsc = fd_resource(pfb->zsbuf->texture); in fd3_emit_tile_gmem2mem() 565 OUT_RELOCW(ring, fd_resource(ctx->blit_texcoord_vbuf)->bo, 0, 0, 0); in fd3_emit_tile_mem2gmem() 737 pitch = fd_resource(psurf->texture)->slices[psurf->u.tex.level].pitch; in fd3_emit_sysmem_prep() 1002 struct fd_resource *rsc = fd_resource(pfb->zsbuf->texture); in fd3_emit_tile_renderprep()
|
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/ |
D | fd2_gmem.c | 69 struct fd_resource *rsc = fd_resource(psurf->texture); in emit_gmem2mem_surf() 187 struct fd_resource *rsc = fd_resource(psurf->texture); in emit_mem2gmem_surf() 248 OUT_RELOC(ring, fd_resource(fd2_ctx->solid_vertexbuf)->bo, 0x60, 0, 0); in fd2_emit_tile_mem2gmem()
|
D | fd2_emit.c | 88 struct fd_resource *rsc = fd_resource(cb->buffer); in emit_constants() 143 OUT_RELOC(ring, fd_resource(view->base.texture)->bo, 0, view->fmt, 0); in emit_texture() 178 struct fd_resource *rsc = fd_resource(vbufs[i].prsc); in fd2_emit_vertex_bufs()
|
D | fd2_texture.c | 131 struct fd_resource *rsc = fd_resource(prsc); in fd2_sampler_view_create()
|