Home
last modified time | relevance | path

Searched refs:fd6_ctx (Results 1 – 8 of 8) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_context.c49 struct fd6_context *fd6_ctx = fd6_context(fd_context(pctx)); in fd6_context_destroy() local
51 u_upload_destroy(fd6_ctx->border_color_uploader); in fd6_context_destroy()
52 pipe_resource_reference(&fd6_ctx->border_color_buf, NULL); in fd6_context_destroy()
54 if (fd6_ctx->streamout_disable_stateobj) in fd6_context_destroy()
55 fd_ringbuffer_del(fd6_ctx->streamout_disable_stateobj); in fd6_context_destroy()
59 if (fd6_ctx->vsc_draw_strm) in fd6_context_destroy()
60 fd_bo_del(fd6_ctx->vsc_draw_strm); in fd6_context_destroy()
61 if (fd6_ctx->vsc_prim_strm) in fd6_context_destroy()
62 fd_bo_del(fd6_ctx->vsc_prim_strm); in fd6_context_destroy()
63 fd_bo_del(fd6_ctx->control_mem); in fd6_context_destroy()
[all …]
Dfd6_texture.c41 remove_tex_entry(struct fd6_context *fd6_ctx, struct hash_entry *entry) in remove_tex_entry() argument
44 _mesa_hash_table_remove(fd6_ctx->tex_cache, entry); in remove_tex_entry()
137 struct fd6_context *fd6_ctx = fd6_context(ctx); in fd6_sampler_state_delete() local
142 hash_table_foreach (fd6_ctx->tex_cache, entry) { in fd6_sampler_state_delete()
147 remove_tex_entry(fd6_ctx, entry); in fd6_sampler_state_delete()
346 struct fd6_context *fd6_ctx = fd6_context(ctx); in fd6_sampler_view_destroy() local
351 hash_table_foreach (fd6_ctx->tex_cache, entry) { in fd6_sampler_view_destroy()
356 remove_tex_entry(fd6_ctx, entry); in fd6_sampler_view_destroy()
388 struct fd6_context *fd6_ctx = fd6_context(ctx); in fd6_texture_state() local
429 _mesa_hash_table_search_pre_hashed(fd6_ctx->tex_cache, hash, &key); in fd6_texture_state()
[all …]
Dfd6_gmem.c385 struct fd6_context *fd6_ctx = fd6_context(ctx); in update_vsc_pipe() local
390 if (batch->draw_strm_bits / 8 > fd6_ctx->vsc_draw_strm_pitch) { in update_vsc_pipe()
391 if (fd6_ctx->vsc_draw_strm) in update_vsc_pipe()
392 fd_bo_del(fd6_ctx->vsc_draw_strm); in update_vsc_pipe()
393 fd6_ctx->vsc_draw_strm = NULL; in update_vsc_pipe()
398 fd6_ctx->vsc_draw_strm_pitch = align(batch->draw_strm_bits / 8, 0x4000); in update_vsc_pipe()
400 fd6_ctx->vsc_draw_strm_pitch); in update_vsc_pipe()
403 if (batch->prim_strm_bits / 8 > fd6_ctx->vsc_prim_strm_pitch) { in update_vsc_pipe()
404 if (fd6_ctx->vsc_prim_strm) in update_vsc_pipe()
405 fd_bo_del(fd6_ctx->vsc_prim_strm); in update_vsc_pipe()
[all …]
Dfd6_emit.h162 struct fd6_context *fd6_ctx = fd6_context(batch->ctx); in fd6_event_write() local
163 seqno = ++fd6_ctx->seqno; in fd6_event_write()
164 OUT_RELOC(ring, control_ptr(fd6_ctx, seqno)); /* ADDR_LO/HI */ in fd6_event_write()
182 struct fd6_context *fd6_ctx = fd6_context(batch->ctx); in fd6_cache_flush() local
190 OUT_RELOC(ring, control_ptr(fd6_ctx, seqno)); in fd6_cache_flush()
199 OUT_RELOC(ring, control_ptr(fd6_ctx, seqno)); in fd6_cache_flush()
Dfd6_context.h122 #define control_ptr(fd6_ctx, member) \ argument
123 (fd6_ctx)->control_mem, offsetof(struct fd6_control, member), 0, 0
Dfd6_emit.c223 struct fd6_context *fd6_ctx = fd6_context(ctx); in emit_border_color() local
230 u_upload_alloc(fd6_ctx->border_color_uploader, 0, in emit_border_color()
232 &off, &fd6_ctx->border_color_buf, &ptr); in emit_border_color()
241 OUT_RELOC(ring, fd_resource(fd6_ctx->border_color_buf)->bo, off, 0, 0); in emit_border_color()
243 u_upload_unmap(fd6_ctx->border_color_uploader); in emit_border_color()
690 struct fd6_context *fd6_ctx = fd6_context(ctx); in build_lrz() local
695 !memcmp(&fd6_ctx->last.lrz[binning_pass], &lrz, sizeof(lrz))) in build_lrz()
698 fd6_ctx->last.lrz[binning_pass] = lrz; in build_lrz()
1376 struct fd6_context *fd6_ctx = fd6_context(ctx); in fd6_framebuffer_barrier() local
1388 OUT_RELOC(ring, control_ptr(fd6_ctx, seqno)); in fd6_framebuffer_barrier()
[all …]
Dfd6_draw.c140 struct fd6_context *fd6_ctx = fd6_context(ctx); in fd6_draw_vbo() local
199 emit.prog = fd6_ctx->prog; in fd6_draw_vbo()
201 fd6_ctx->prog = fd6_emit_get_prog(&emit); in fd6_draw_vbo()
205 if (!fd6_ctx->prog) in fd6_draw_vbo()
221 if (emit.vs->need_driver_params || fd6_ctx->has_dp_state) in fd6_draw_vbo()
Dfd6_const.c319 struct fd6_context *fd6_ctx = fd6_context(ctx); in fd6_build_vs_driver_params() local
327 fd6_ctx->has_dp_state = true; in fd6_build_vs_driver_params()
331 fd6_ctx->has_dp_state = false; in fd6_build_vs_driver_params()