Home
last modified time | relevance | path

Searched refs:vc5 (Results 1 – 25 of 30) sorted by relevance

12

/external/mesa3d/src/gallium/drivers/vc5/
Dvc5_emit.c130 emit_one_texture(struct vc5_context *vc5, struct vc5_texture_stateobj *stage_tex, in emit_one_texture() argument
133 struct vc5_job *job = vc5->job; in emit_one_texture()
140 const struct v3d_device_info *devinfo = &vc5->screen->devinfo; in emit_one_texture()
254 emit_textures(struct vc5_context *vc5, struct vc5_texture_stateobj *stage_tex) in emit_textures() argument
258 emit_one_texture(vc5, stage_tex, i); in emit_textures()
264 translate_colormask(struct vc5_context *vc5, uint32_t colormask, int rt) in translate_colormask() argument
266 if (vc5->swap_color_rb & (1 << rt)) { in translate_colormask()
276 emit_rt_blend(struct vc5_context *vc5, struct vc5_job *job, in emit_rt_blend() argument
291 vc5->blend_dst_alpha_one); in emit_rt_blend()
294 vc5->blend_dst_alpha_one); in emit_rt_blend()
[all …]
Dvc5_context.c44 struct vc5_context *vc5 = vc5_context(pctx); in vc5_flush() local
47 hash_table_foreach(vc5->jobs, entry) { in vc5_flush()
49 vc5_job_submit(vc5, job); in vc5_flush()
57 struct vc5_context *vc5 = vc5_context(pctx); in vc5_pipe_flush() local
63 struct vc5_fence *f = vc5_fence_create(vc5->screen, in vc5_pipe_flush()
64 vc5->last_emit_seqno); in vc5_pipe_flush()
73 struct vc5_context *vc5 = vc5_context(pctx); in vc5_invalidate_resource() local
78 struct hash_entry *entry = _mesa_hash_table_search(vc5->write_jobs, in vc5_invalidate_resource()
91 struct vc5_context *vc5 = vc5_context(pctx); in vc5_context_destroy() local
95 if (vc5->blitter) in vc5_context_destroy()
[all …]
Dvc5_draw.c43 vc5_start_draw(struct vc5_context *vc5) in vc5_start_draw() argument
45 struct vc5_job *job = vc5->job; in vc5_start_draw()
58 job->tile_alloc = vc5_bo_alloc(vc5->screen, 1024 * 1024, "tile alloc"); in vc5_start_draw()
59 uint32_t tsda_per_tile_size = vc5->screen->devinfo.ver >= 40 ? 256 : 64; in vc5_start_draw()
60 job->tile_state = vc5_bo_alloc(vc5->screen, in vc5_start_draw()
81 config.width_in_pixels_minus_1 = vc5->framebuffer.width - 1; in vc5_start_draw()
82 config.height_in_pixels_minus_1 = vc5->framebuffer.height - 1; in vc5_start_draw()
84 MAX2(vc5->framebuffer.nr_cbufs, 1) - 1; in vc5_start_draw()
93 MAX2(vc5->framebuffer.nr_cbufs, 1); in vc5_start_draw()
113 job->draw_width = vc5->framebuffer.width; in vc5_start_draw()
[all …]
Dvc5_program.c135 struct vc5_context *vc5 = vc5_context(pctx); in vc5_shader_state_create() local
140 so->program_id = vc5->next_uncompiled_program_id++; in vc5_shader_state_create()
195 vc5_get_compiled_shader(struct vc5_context *vc5, struct v3d_key *key) in vc5_get_compiled_shader() argument
203 ht = vc5->fs_cache; in vc5_get_compiled_shader()
206 ht = vc5->vs_cache; in vc5_get_compiled_shader()
227 qpu_insts = v3d_compile_vs(vc5->screen->compiler, in vc5_get_compiled_shader()
236 qpu_insts = v3d_compile_fs(vc5->screen->compiler, in vc5_get_compiled_shader()
248 shader->bo = vc5_bo_alloc(vc5->screen, shader_size, "shader"); in vc5_get_compiled_shader()
263 vc5_setup_shared_key(struct vc5_context *vc5, struct v3d_key *key, in vc5_setup_shared_key() argument
266 const struct v3d_device_info *devinfo = &vc5->screen->devinfo; in vc5_setup_shared_key()
[all …]
Dvc5_blit.c54 struct vc5_context *vc5 = vc5_context(pctx);
130 vc5_flush_jobs_reading_resource(vc5, info->src.resource);
132 struct vc5_job *job = vc5_get_job(vc5, dst_surf, NULL);
157 vc5_job_submit(vc5, job);
167 vc5_blitter_save(struct vc5_context *vc5) in vc5_blitter_save() argument
169 util_blitter_save_fragment_constant_buffer_slot(vc5->blitter, in vc5_blitter_save()
170 vc5->constbuf[PIPE_SHADER_FRAGMENT].cb); in vc5_blitter_save()
171 util_blitter_save_vertex_buffer_slot(vc5->blitter, vc5->vertexbuf.vb); in vc5_blitter_save()
172 util_blitter_save_vertex_elements(vc5->blitter, vc5->vtx); in vc5_blitter_save()
173 util_blitter_save_vertex_shader(vc5->blitter, vc5->prog.bind_vs); in vc5_blitter_save()
[all …]
Dvc5_job.c48 vc5_job_free(struct vc5_context *vc5, struct vc5_job *job) in vc5_job_free() argument
57 remove_from_ht(vc5->jobs, &job->key); in vc5_job_free()
65 remove_from_ht(vc5->write_jobs, (void *)prsc); in vc5_job_free()
71 remove_from_ht(vc5->write_jobs, job->cbufs[i]->texture); in vc5_job_free()
76 remove_from_ht(vc5->write_jobs, job->zsbuf->texture); in vc5_job_free()
80 if (vc5->job == job) in vc5_job_free()
81 vc5->job = NULL; in vc5_job_free()
93 vc5_job_create(struct vc5_context *vc5) in vc5_job_create() argument
95 struct vc5_job *job = rzalloc(vc5, struct vc5_job); in vc5_job_create()
97 job->vc5 = vc5; in vc5_job_create()
[all …]
Dvc5_state.c57 struct vc5_context *vc5 = vc5_context(pctx); in vc5_set_blend_color() local
58 vc5->blend_color.f = *blend_color; in vc5_set_blend_color()
60 vc5->blend_color.hf[i] = in vc5_set_blend_color()
63 vc5->dirty |= VC5_DIRTY_BLEND_COLOR; in vc5_set_blend_color()
70 struct vc5_context *vc5 = vc5_context(pctx); in vc5_set_stencil_ref() local
71 vc5->stencil_ref = *stencil_ref; in vc5_set_stencil_ref()
72 vc5->dirty |= VC5_DIRTY_STENCIL_REF; in vc5_set_stencil_ref()
79 struct vc5_context *vc5 = vc5_context(pctx); in vc5_set_clip_state() local
80 vc5->clip = *clip; in vc5_set_clip_state()
81 vc5->dirty |= VC5_DIRTY_CLIP; in vc5_set_clip_state()
[all …]
Dvc5_query.c70 struct vc5_context *vc5 = vc5_context(pctx); in vc5_begin_query() local
75 q->start = vc5->prims_generated; in vc5_begin_query()
78 q->start = vc5->tf_prims_generated; in vc5_begin_query()
81 q->bo = vc5_bo_alloc(vc5->screen, 4096, "query"); in vc5_begin_query()
85 vc5->current_oq = q->bo; in vc5_begin_query()
86 vc5->dirty |= VC5_DIRTY_OQ; in vc5_begin_query()
96 struct vc5_context *vc5 = vc5_context(pctx); in vc5_end_query() local
101 q->end = vc5->prims_generated; in vc5_end_query()
104 q->end = vc5->tf_prims_generated; in vc5_end_query()
107 vc5->current_oq = NULL; in vc5_end_query()
[all …]
Dvc5_context.h201 struct vc5_context *vc5; member
460 int vc5_simulator_flush(struct vc5_context *vc5,
477 struct vc5_cl_reloc vc5_write_uniforms(struct vc5_context *vc5,
483 void vc5_job_init(struct vc5_context *vc5);
484 struct vc5_job *vc5_get_job(struct vc5_context *vc5,
487 struct vc5_job *vc5_get_job_for_fbo(struct vc5_context *vc5);
490 void vc5_job_submit(struct vc5_context *vc5, struct vc5_job *job);
491 void vc5_flush_jobs_writing_resource(struct vc5_context *vc5,
493 void vc5_flush_jobs_reading_resource(struct vc5_context *vc5,
495 void vc5_update_compiled_shaders(struct vc5_context *vc5, uint8_t prim_mode);
[all …]
Dvc5_uniforms.c151 vc5_upload_ubo(struct vc5_context *vc5, in vc5_upload_ubo() argument
158 struct vc5_bo *ubo = vc5_bo_alloc(vc5->screen, in vc5_upload_ubo()
261 vc5_write_uniforms(struct vc5_context *vc5, struct vc5_compiled_shader *shader, in vc5_write_uniforms() argument
266 struct vc5_job *job = vc5->job; in vc5_write_uniforms()
268 struct vc5_bo *ubo = vc5_upload_ubo(vc5, shader, gallium_uniforms); in vc5_write_uniforms()
292 cl_aligned_f(&uniforms, vc5->viewport.scale[0] * 256.0f); in vc5_write_uniforms()
295 cl_aligned_f(&uniforms, vc5->viewport.scale[1] * 256.0f); in vc5_write_uniforms()
299 cl_aligned_f(&uniforms, vc5->viewport.translate[2]); in vc5_write_uniforms()
302 cl_aligned_f(&uniforms, vc5->viewport.scale[2]); in vc5_write_uniforms()
307 vc5->clip.ucp[uinfo->data[i] / 4][uinfo->data[i] % 4]); in vc5_write_uniforms()
[all …]
DAutomake.inc3 TARGET_DRIVERS += vc5
6 $(top_builddir)/src/gallium/winsys/vc5/drm/libvc5drm.la \
7 $(top_builddir)/src/gallium/drivers/vc5/libvc5.la \
Dvc5_resource.c123 struct vc5_context *vc5 = vc5_context(pctx); in vc5_resource_transfer_unmap() local
144 slab_free(&vc5->transfer_pool, ptrans); in vc5_resource_transfer_unmap()
154 struct vc5_context *vc5 = vc5_context(pctx); in vc5_resource_transfer_map() local
186 vc5->dirty |= VC5_DIRTY_VTXBUF; in vc5_resource_transfer_map()
188 vc5->dirty |= VC5_DIRTY_CONSTBUF; in vc5_resource_transfer_map()
193 vc5_flush_jobs_reading_resource(vc5, prsc); in vc5_resource_transfer_map()
201 vc5_flush_jobs_reading_resource(vc5, prsc); in vc5_resource_transfer_map()
203 vc5_flush_jobs_writing_resource(vc5, prsc); in vc5_resource_transfer_map()
211 trans = slab_alloc(&vc5->transfer_pool); in vc5_resource_transfer_map()
643 struct vc5_context *vc5 = vc5_context(pctx); in vc5_create_surface() local
[all …]
Dvc5_cl.c52 cl->bo = vc5_bo_alloc(cl->job->vc5->screen, align(space, 4096), "CL"); in vc5_cl_ensure_space()
66 struct vc5_bo *new_bo = vc5_bo_alloc(cl->job->vc5->screen, 4096, "CL"); in vc5_cl_ensure_space_with_branch()
Dmeson.build65 'vc5-v' + ver,
79 'vc5',
Dvc5_simulator.c362 vc5_simulator_flush(struct vc5_context *vc5, in vc5_simulator_flush() argument
365 struct vc5_screen *screen = vc5->screen; in vc5_simulator_flush()
368 struct vc5_surface *csurf = vc5_surface(vc5->framebuffer.cbufs[0]); in vc5_simulator_flush()
/external/mesa3d/src/gallium/
DMakefile.am99 SUBDIRS += drivers/vc5 winsys/vc5/drm
Dmeson.build103 subdir('winsys/vc5/drm')
104 subdir('drivers/vc5')
/external/mesa3d/src/broadcom/
DMakefile.am61 include Makefile.vc5.am
/external/mesa3d/src/gallium/targets/dri/
Dtarget.c82 DEFINE_LOADER_DRM_ENTRYPOINT(vc5)
DMakefile.am86 include $(top_srcdir)/src/gallium/drivers/vc5/Automake.inc
/external/mesa3d/
Dmeson.build140 _drivers = 'pl111,vc4,vc5,freedreno,etnaviv,imx,virgl,svga,swrast'
158 with_gallium_vc5 = _split.contains('vc5')
Dconfigure.ac1354 "i915,nouveau,r300,r600,radeonsi,freedreno,pl111,svga,swrast,swr,vc4,vc5,virgl,etnaviv,imx"
2687 [AC_MSG_ERROR([vc5 requires the simulator])])
2986 src/gallium/drivers/vc5/Makefile
3031 src/gallium/winsys/vc5/drm/Makefile
/external/honggfuzz/examples/apache-httpd/corpus_http1/
D28cc2d0365a1866c7760aafc9282fb15.000193ad.honggfuzz.cov6307 �*"��^G�(�9�]' 3����"��}<uEr뽥��NY��n���w��ofȽ"�^�����P��zý7�����2�%�vc5��h?M!��ߪ9���!Ҹ�Ï�lU�…
Df4438f4b95a18f29896a3bf029a8ba22.000193ad.honggfuzz.cov6422 �*"��^G�(�9�]' 3����"��}<uEr뽥��NY��n���w��ofȽ"�^�����P��zý7�����2�%�vc5��h?M!��ߪ9���!Ҹ�Ï�lU�…
12850 �*"��^G�(�9�]' 3����"��}<uEr뽥��NY��n���w��ofȽ"�^�����P��zý7�����2�%�vc5��h?M!��ߪ9���!Ҹ�Ï�lU�…
/external/honggfuzz/examples/apache-httpd/corpus_http2/
Df4438f4b95a18f29896a3bf029a8ba22.000193ad.honggfuzz.cov6422 �*"��^G�(�9�]' 3����"��}<uEr뽥��NY��n���w��ofȽ"�^�����P��zý7�����2�%�vc5��h?M!��ߪ9���!Ҹ�Ï�lU�…
12850 �*"��^G�(�9�]' 3����"��}<uEr뽥��NY��n���w��ofȽ"�^�����P��zý7�����2�%�vc5��h?M!��ߪ9���!Ҹ�Ï�lU�…

12