Home
last modified time | relevance | path

Searched refs:mocs (Results 1 – 18 of 18) sorted by relevance

/external/mesa3d/src/gallium/drivers/ilo/core/
Dilo_builder_render.h206 builder->mocs << GEN8_SBA_MOCS__SHIFT | GEN6_SBA_ADDR_MODIFIED, in ilo_builder_batch_patch_sba()
210 builder->mocs << GEN6_SBA_MOCS__SHIFT | GEN6_SBA_ADDR_MODIFIED, in ilo_builder_batch_patch_sba()
234 dw[1] = builder->mocs << GEN6_SBA_MOCS__SHIFT | in gen6_state_base_address()
235 builder->mocs << GEN6_SBA_DW1_GENERAL_STATELESS_MOCS__SHIFT | in gen6_state_base_address()
239 builder->mocs << GEN6_SBA_MOCS__SHIFT | GEN6_SBA_ADDR_MODIFIED, in gen6_state_base_address()
242 builder->mocs << GEN6_SBA_MOCS__SHIFT | GEN6_SBA_ADDR_MODIFIED, in gen6_state_base_address()
245 dw[4] = builder->mocs << GEN6_SBA_MOCS__SHIFT | init_all; in gen6_state_base_address()
281 dw[1] = builder->mocs << GEN8_SBA_MOCS__SHIFT | init_all; in gen8_state_base_address()
283 dw[3] = builder->mocs << GEN8_SBA_DW3_STATELESS_MOCS__SHIFT; in gen8_state_base_address()
285 builder->mocs << GEN8_SBA_MOCS__SHIFT | GEN6_SBA_ADDR_MODIFIED, in gen8_state_base_address()
[all …]
Dilo_builder_3d_top.h313 dw[0] |= builder->mocs << GEN8_VB_DW0_MOCS__SHIFT; in gen6_3DSTATE_VERTEX_BUFFERS()
315 dw[0] |= builder->mocs << GEN6_VB_DW0_MOCS__SHIFT; in gen6_3DSTATE_VERTEX_BUFFERS()
424 builder->mocs << GEN6_IB_DW0_MOCS__SHIFT; in gen6_3DSTATE_INDEX_BUFFER()
464 builder->mocs << GEN8_IB_DW1_MOCS__SHIFT; in gen8_3DSTATE_INDEX_BUFFER()
872 builder->mocs << GEN7_SO_BUF_DW1_MOCS__SHIFT | in gen7_3DSTATE_SO_BUFFER()
904 builder->mocs << GEN8_SO_BUF_DW1_MOCS__SHIFT; in gen8_3DSTATE_SO_BUFFER()
1139 builder->mocs << GEN6_CONSTANT_DW0_MOCS__SHIFT; in gen6_3dstate_constant()
1242 payload[2] |= builder->mocs << GEN7_CONSTANT_DW_ADDR_MOCS__SHIFT; in gen7_3dstate_constant()
1330 const uint32_t mocs = (surf->scanout) ? in gen6_SURFACE_STATE() local
1331 (GEN8_MOCS_MT_PTE | GEN8_MOCS_CT_L3) : builder->mocs; in gen6_SURFACE_STATE()
[all …]
Dilo_builder_3d_bottom.h697 dw[5] |= builder->mocs << GEN8_DEPTH_DW5_MOCS__SHIFT; in gen6_3DSTATE_DEPTH_BUFFER()
713 dw[4] |= builder->mocs << GEN7_DEPTH_DW4_MOCS__SHIFT; in gen6_3DSTATE_DEPTH_BUFFER()
715 dw[6] |= builder->mocs << GEN6_DEPTH_DW6_MOCS__SHIFT; in gen6_3DSTATE_DEPTH_BUFFER()
749 dw[1] |= builder->mocs << GEN8_STENCIL_DW1_MOCS__SHIFT; in gen6_3DSTATE_STENCIL_BUFFER()
760 dw[1] |= builder->mocs << GEN6_STENCIL_DW1_MOCS__SHIFT; in gen6_3DSTATE_STENCIL_BUFFER()
794 dw[1] |= builder->mocs << GEN8_HIZ_DW1_MOCS__SHIFT; in gen6_3DSTATE_HIER_DEPTH_BUFFER()
805 dw[1] |= builder->mocs << GEN6_HIZ_DW1_MOCS__SHIFT; in gen6_3DSTATE_HIER_DEPTH_BUFFER()
Dilo_builder.c346 builder->mocs = GEN8_MOCS_MT_WB | GEN8_MOCS_CT_L3; in ilo_builder_init()
350 builder->mocs = GEN7_MOCS_L3_WB; in ilo_builder_init()
353 builder->mocs = 0; in ilo_builder_init()
Dilo_builder.h106 uint32_t mocs; member
/external/mesa3d/src/mesa/drivers/dri/i965/
Dgen7_misc_state.c43 const uint8_t mocs = GEN7_MOCS_L3; in gen7_emit_depth_stencil_hiz() local
132 mocs); in gen7_emit_depth_stencil_hiz()
153 OUT_BATCH((mocs << 25) | in gen7_emit_depth_stencil_hiz()
185 mocs << 25 | in gen7_emit_depth_stencil_hiz()
Dgen6_constant_state.c35 uint32_t mocs = brw->gen < 8 ? GEN7_MOCS_L3 : 0; in gen7_upload_constant_state() local
78 OUT_BATCH(active ? (stage_state->push_const_offset | mocs) : 0); in gen7_upload_constant_state()
87 OUT_BATCH(active ? (stage_state->push_const_offset | mocs) : 0); in gen7_upload_constant_state()
Dbrw_blorp.c74 brw->blorp.mocs.tex = 0; in brw_blorp_init()
75 brw->blorp.mocs.rb = 0; in brw_blorp_init()
76 brw->blorp.mocs.vb = 0; in brw_blorp_init()
80 brw->blorp.mocs.tex = GEN7_MOCS_L3; in brw_blorp_init()
81 brw->blorp.mocs.rb = GEN7_MOCS_L3; in brw_blorp_init()
82 brw->blorp.mocs.vb = GEN7_MOCS_L3; in brw_blorp_init()
90 brw->blorp.mocs.tex = BDW_MOCS_WB; in brw_blorp_init()
91 brw->blorp.mocs.rb = BDW_MOCS_PTE; in brw_blorp_init()
92 brw->blorp.mocs.vb = BDW_MOCS_WB; in brw_blorp_init()
96 brw->blorp.mocs.tex = SKL_MOCS_WB; in brw_blorp_init()
[all …]
Dbrw_misc_state.c1090 uint8_t mocs = brw->gen == 7 ? GEN7_MOCS_L3 : 0; in brw_upload_state_base_address() local
1094 OUT_BATCH(mocs << 8 | /* General State Memory Object Control State */ in brw_upload_state_base_address()
1095 mocs << 4 | /* Stateless Data Port Access Memory Object Control State */ in brw_upload_state_base_address()
Dbrw_wm_surface_state.c79 uint32_t mocs, uint32_t *surf_offset, int surf_index, in brw_emit_surface_state() argument
168 .mocs = mocs, .clear_color = clear_color, in brw_emit_surface_state()
668 .mocs = tex_mocs[brw->gen]); in brw_emit_buffer_surface_state()
/external/mesa3d/src/intel/blorp/
Dblorp_genX_exec.h247 vb[0].VertexBufferMOCS = batch->blorp->mocs.vb; in blorp_emit_vertex_buffers()
263 vb[1].VertexBufferMOCS = batch->blorp->mocs.vb; in blorp_emit_vertex_buffers()
792 const uint32_t mocs = 1; /* GEN7_MOCS_L3 */ in blorp_emit_depth_stencil_config() local
794 const uint32_t mocs = 0; in blorp_emit_depth_stencil_config()
835 db.DepthBufferMOCS = mocs; in blorp_emit_depth_stencil_config()
857 hiz.HierarchicalDepthBufferMOCS = mocs; in blorp_emit_depth_stencil_config()
878 sb.StencilBufferMOCS = batch->blorp->mocs.tex; in blorp_emit_depth_stencil_config()
1061 const uint32_t mocs = in blorp_emit_surface_state() local
1062 is_render_target ? batch->blorp->mocs.rb : batch->blorp->mocs.tex; in blorp_emit_surface_state()
1067 .mocs = mocs, .clear_color = surface->clear_color); in blorp_emit_surface_state()
Dblorp.h53 } mocs; member
/external/mesa3d/src/intel/isl/
Disl_surface_state.c465 s.MOCS = info->mocs; in isl_genX()
687 s.MOCS = info->mocs; in isl_genX()
Disl.h962 uint32_t mocs; member
998 uint32_t mocs; member
/external/mesa3d/src/intel/vulkan/
Danv_image.c588 .mocs = device->default_mocs); in anv_CreateImageView()
612 .mocs = device->default_mocs); in anv_CreateImageView()
Danv_blorp.c90 device->blorp.mocs.tex = device->default_mocs; in anv_device_init_blorp()
91 device->blorp.mocs.rb = device->default_mocs; in anv_device_init_blorp()
92 device->blorp.mocs.vb = device->default_mocs; in anv_device_init_blorp()
DgenX_cmd_buffer.c538 .mocs = cmd_buffer->device->default_mocs); in genX()
563 .mocs = cmd_buffer->device->default_mocs); in genX()
Danv_device.c1976 .mocs = device->default_mocs, in anv_fill_buffer_surface_state()