Searched refs:mocs (Results 1 – 7 of 7) sorted by relevance
| /linux/drivers/gpu/drm/i915/gt/ |
| H A D | selftest_mocs.c | 18 struct drm_i915_mocs_table *mocs; member 77 arg->mocs = &arg->table; in live_mocs_init() 237 err = read_mocs_table(rq, arg->mocs, &offset); in check_mocs_engine() 250 err = check_mocs_table(ce->engine, arg->mocs, &vaddr); in check_mocs_engine() 265 struct live_mocs mocs; in live_mocs_kernel() local 270 err = live_mocs_init(&mocs, gt); in live_mocs_kernel() 276 err = check_mocs_engine(&mocs, engine->kernel_context); in live_mocs_kernel() 282 live_mocs_fini(&mocs); in live_mocs_kernel() 291 struct live_mocs mocs; in live_mocs_clean() local 296 err = live_mocs_init(&mocs, gt); in live_mocs_clean() [all …]
|
| H A D | intel_gt_types.h | 286 } mocs; member
|
| /linux/drivers/gpu/drm/xe/ |
| H A D | xe_migrate.c | 700 u32 mocs; in emit_copy_ccs() local 707 mocs = FIELD_PREP(XE2_XY_CTRL_SURF_MOCS_INDEX_MASK, gt->mocs.uc_index); in emit_copy_ccs() 715 mocs = FIELD_PREP(XY_CTRL_SURF_MOCS_MASK, gt->mocs.uc_index); in emit_copy_ccs() 723 *cs++ = upper_32_bits(src_ofs) | mocs; in emit_copy_ccs() 725 *cs++ = upper_32_bits(dst_ofs) | mocs; in emit_copy_ccs() 736 u32 mocs = 0; in emit_xy_fast_copy() local 745 mocs = FIELD_PREP(XE2_XY_FAST_COPY_BLT_MOCS_INDEX_MASK, gt->mocs.uc_index); in emit_xy_fast_copy() 751 bb->cs[bb->len++] = XY_FAST_COPY_BLT_DEPTH_32 | pitch | tile_y | mocs; in emit_xy_fast_copy() 757 bb->cs[bb->len++] = pitch | mocs; in emit_xy_fast_copy() 801 bb->cs[bb->len++] = FIELD_PREP(MEM_COPY_SRC_MOCS_INDEX_MASK, gt->mocs.uc_index) | in emit_mem_copy() [all …]
|
| H A D | xe_hw_engine.c | 381 const u8 mocs_write_idx = gt->mocs.uc_index; in xe_hw_engine_setup_default_lrc_state() 382 const u8 mocs_read_idx = gt->mocs.uc_index; in xe_hw_engine_setup_default_lrc_state() 430 const u8 mocs_write_idx = gt->mocs.uc_index; in hw_engine_setup_default_state() 433 gt->mocs.wb_index : gt->mocs.uc_index; in hw_engine_setup_default_state()
|
| H A D | xe_eu_stall.c | 699 REG_FIELD_PREP(EUSTALL_MOCS, gt->mocs.uc_index << 1) | in xe_eu_stall_stream_enable()
|
| H A D | xe_guc.c | 1008 shim_flags |= REG_FIELD_PREP(GUC_MOCS_INDEX_MASK, gt->mocs.uc_index); in guc_prepare_xfer()
|
| /linux/drivers/gpu/drm/i915/gem/selftests/ |
| H A D | i915_gem_client_blt.c | 167 *cs++ = (BLIT_CCTL_SRC_MOCS(gt->mocs.uc_index) | in prepare_blit() 168 BLIT_CCTL_DST_MOCS(gt->mocs.uc_index)); in prepare_blit()
|