Home
last modified time | relevance | path

Searched refs:bifrost (Results 1 - 21 of 21) sorted by relevance

/third_party/mesa3d/src/panfrost/lib/
H A Dpan_shader.h191 rsd->properties.shader_wait_dependency_6 = info->bifrost.wait_6; in pan_shader_prepare_bifrost_rsd()
192 rsd->properties.shader_wait_dependency_7 = info->bifrost.wait_7; in pan_shader_prepare_bifrost_rsd()
194 pan_pack_message_preload(&rsd->message_preload_1, &info->bifrost.messages[0]); in pan_shader_prepare_bifrost_rsd()
195 pan_pack_message_preload(&rsd->message_preload_2, &info->bifrost.messages[1]); in pan_shader_prepare_bifrost_rsd()
H A Dpan_util.c79 panfrost_blendable_formats_v7[format].bifrost[dithered] : in panfrost_format_to_bifrost_blend()
80 panfrost_blendable_formats_v6[format].bifrost[dithered]; in panfrost_format_to_bifrost_blend()
H A Dpan_cs.h73 mali_ptr bifrost; member
118 struct pan_fb_bifrost_info bifrost; member
H A Dpan_shader.c32 #include "panfrost/bifrost/bifrost_compile.h"
324 for (unsigned i = 0; i < ARRAY_SIZE(info->bifrost.blend); ++i) { in pan_shader_compile()
325 info->bifrost.blend[i].format = in pan_shader_compile()
326 bifrost_blend_type_from_nir(info->bifrost.blend[i].type); in pan_shader_compile()
H A Dpan_format.h49 mali_pixel_format bifrost[2]; member
H A Dpan_blitter.c638 shader->blend_ret_offsets[i] = shader->info.bifrost.blend[i].return_offset; in pan_blitter_get_blit_shader()
639 shader->blend_types[i] = shader->info.bifrost.blend[i].type; in pan_blitter_get_blit_shader()
1244 if (fb->bifrost.pre_post.dcds.gpu) in pan_preload_fb_alloc_pre_post_dcds()
1247 fb->bifrost.pre_post.dcds = in pan_preload_fb_alloc_pre_post_dcds()
1258 assert(fb->bifrost.pre_post.dcds.cpu); in pan_preload_emit_pre_frame_dcd()
1259 void *dcd = fb->bifrost.pre_post.dcds.cpu + in pan_preload_emit_pre_frame_dcd()
1305 fb->bifrost.pre_post.modes[dcd_idx] = in pan_preload_emit_pre_frame_dcd()
1311 fb->bifrost.pre_post.modes[dcd_idx] = in pan_preload_emit_pre_frame_dcd()
H A Dpan_cs.c732 cfg.pre_frame_0 = pan_fix_frame_shader_mode(fb->bifrost.pre_post.modes[0], force_clean_write); in pan_emit_fbd()
733 cfg.pre_frame_1 = pan_fix_frame_shader_mode(fb->bifrost.pre_post.modes[1], force_clean_write); in pan_emit_fbd()
734 cfg.post_frame = pan_fix_frame_shader_mode(fb->bifrost.pre_post.modes[2], force_clean_write); in pan_emit_fbd()
735 cfg.frame_shader_dcds = fb->bifrost.pre_post.dcds.gpu; in pan_emit_fbd()
736 cfg.tiler = tiler_ctx->bifrost; in pan_emit_fbd()
/third_party/mesa3d/src/panfrost/bifrost/test/
H A Dtest-message-preload.cpp33 A->shader->info.bifrost = rzalloc(mem_ctx, struct bifrost_shader_info); \
34 B->shader->info.bifrost = rzalloc(mem_ctx, struct bifrost_shader_info); \
/third_party/mesa3d/src/panfrost/bifrost/
H A Dbi_pack.c727 assert(loc < ARRAY_SIZE(ctx->info.bifrost->blend)); in bi_collect_blend_ret_addr()
728 assert(!ctx->info.bifrost->blend[loc].return_offset); in bi_collect_blend_ret_addr()
729 ctx->info.bifrost->blend[loc].return_offset = in bi_collect_blend_ret_addr()
731 assert(!(ctx->info.bifrost->blend[loc].return_offset & 0x7)); in bi_collect_blend_ret_addr()
H A Dbi_opt_message_preload.c125 ctx->info.bifrost->messages[nr_preload] = msg; in bi_opt_message_preload()
H A Dbifrost_compile.c527 b->shader->info.bifrost->uses_flat_shading = true; in bi_emit_load_vary()
762 bool bifrost = b->shader->arch <= 8; in bi_emit_blend_op() local
785 bi_blend_to(b, bifrost ? bi_temp(b->shader) : bi_null(), rgba, in bi_emit_blend_op()
795 bi_blend_to(b, bifrost ? bi_temp(b->shader) : bi_null(), rgba, in bi_emit_blend_op()
803 b->shader->info.bifrost->blend[rt].type = T; in bi_emit_blend_op()
806 b->shader->info.bifrost->blend_src1_type = T2; in bi_emit_blend_op()
1491 bool bifrost = b->shader->arch <= 8; in bi_emit_atomic_i32_to() local
1495 bi_index tmp_dest = bifrost ? bi_temp(b->shader) : dst; in bi_emit_atomic_i32_to()
1496 unsigned sr_count = bifrost ? 2 : 1; in bi_emit_atomic_i32_to()
1507 if (bifrost) { in bi_emit_atomic_i32_to()
[all...]
H A Dcompiler.h30 #include "bifrost.h"
746 struct bifrost_shader_info *bifrost; member
/third_party/mesa3d/src/panfrost/util/
H A Dpan_ir.h212 } bifrost; member
377 struct bifrost_shader_info bifrost; member
/third_party/mesa3d/src/panfrost/vulkan/
H A Dpanvk_vX_shader.c157 inputs->bifrost.static_rt_conv = true; in panvk_lower_blend()
158 inputs->bifrost.rt_conv[rt] = in panvk_lower_blend()
H A Dpanvk_cmd_buffer.c441 memset(&fbinfo->bifrost.pre_post.dcds, 0, sizeof(fbinfo->bifrost.pre_post.dcds)); in panvk_cmd_fb_info_set_subpass()
H A Dpanvk_vX_meta_copy.c452 pan_pack(&inputs.bifrost.rt_conv[0], INTERNAL_CONVERSION, cfg) { in panvk_meta_copy_img2img_shader()
458 inputs.bifrost.static_rt_conv = true; in panvk_meta_copy_img2img_shader()
987 pan_pack(&inputs.bifrost.rt_conv[0], INTERNAL_CONVERSION, cfg) { in panvk_meta_copy_buf2img_shader()
993 inputs.bifrost.static_rt_conv = true; in panvk_meta_copy_buf2img_shader()
H A Dpanvk_vX_cs.c539 cfg.address = draw->tiler_ctx->bifrost; in emit_tiler_job()
660 bifrost_blend_type_from_nir(pipeline->fs.info.bifrost.blend[rt].type); in emit_blend()
H A Dpanvk_vX_cmd_buffer.c196 memset(&cmdbuf->state.fb.info.bifrost.pre_post.dcds, 0, in cmd_alloc_fb_desc()
197 sizeof(cmdbuf->state.fb.info.bifrost.pre_post.dcds)); in cmd_alloc_fb_desc()
455 batch->tiler.ctx.bifrost = batch->tiler.descs.gpu; in cmd_get_tiler_context()
H A Dpanvk_vX_meta_clear.c120 shader_info->bifrost.blend[0].format; in panvk_meta_clear_color_attachment_emit_rsd()
/third_party/mesa3d/src/gallium/drivers/panfrost/
H A Dpan_cmdstream.c419 unsigned ret_offset = fs->info.bifrost.blend[i].return_offset; in panfrost_emit_blend()
439 fs->info.bifrost.blend[i].format; in panfrost_emit_blend()
3031 if (batch->tiler_ctx.bifrost) in panfrost_batch_get_bifrost_tiler()
3032 return batch->tiler_ctx.bifrost; in panfrost_batch_get_bifrost_tiler()
3047 batch->tiler_ctx.bifrost = t.gpu; in panfrost_batch_get_bifrost_tiler()
3048 return batch->tiler_ctx.bifrost; in panfrost_batch_get_bifrost_tiler()
3094 cfg.allow_rotating_primitives = !(lines || fs->info.bifrost.uses_flat_shading); in panfrost_emit_primitive()
4630 PAN_ARCH >= 6 ? batch->tiler_ctx.bifrost : 0, NULL); in preload()
H A Dpan_context.c205 col0_type = ss->info.bifrost.blend[rti].type; in panfrost_get_blend()
206 col1_type = ss->info.bifrost.blend_src1_type; in panfrost_get_blend()

Completed in 33 milliseconds