Searched refs:mocs (Results 1 – 6 of 6) sorted by relevance
/linux-6.6.21/drivers/gpu/drm/i915/gt/ |
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 …]
|
D | intel_mocs.c | 616 #define for_each_mocs(mocs, t, i) \ argument 618 i < (t)->n_entries ? (mocs = get_entry_control((t), i)), 1 : 0;\ 626 u32 mocs; in __init_mocs_table() local 630 for_each_mocs(mocs, table, i) in __init_mocs_table() 631 intel_uncore_write_fw(uncore, _MMIO(addr + i * 4), mocs); in __init_mocs_table() 727 gt->mocs.uc_index = table.uc_index; in intel_set_mocs_index() 729 gt->mocs.wb_index = table.wb_index; in intel_set_mocs_index()
|
D | intel_migrate.c | 535 int mocs = rq->engine->gt->mocs.uc_index << 1; in emit_copy_ccs() local 568 FIELD_PREP(XY_CTRL_SURF_MOCS_MASK, mocs); in emit_copy_ccs() 571 FIELD_PREP(XY_CTRL_SURF_MOCS_MASK, mocs); in emit_copy_ccs() 921 int mocs = rq->engine->gt->mocs.uc_index << 1; in emit_clear() local 942 *cs++ = FIELD_PREP(XY_FAST_COLOR_BLT_MOCS_MASK, mocs) | in emit_clear()
|
D | intel_gt_types.h | 278 } mocs; member
|
D | intel_workarounds.c | 882 u8 mocs; in gen12_ctx_gt_mocs_init() local 890 mocs = engine->gt->mocs.uc_index; in gen12_ctx_gt_mocs_init() 894 BLIT_CCTL_MOCS(mocs, mocs)); in gen12_ctx_gt_mocs_init() 2395 mocs_r = engine->gt->mocs.uc_index; in engine_fake_wa_init() 2396 mocs_w = engine->gt->mocs.uc_index; in engine_fake_wa_init() 2400 mocs_r = engine->gt->mocs.wb_index; in engine_fake_wa_init()
|
/linux-6.6.21/drivers/gpu/drm/i915/gem/selftests/ |
D | i915_gem_client_blt.c | 164 *cs++ = (BLIT_CCTL_SRC_MOCS(gt->mocs.uc_index) | in prepare_blit() 165 BLIT_CCTL_DST_MOCS(gt->mocs.uc_index)); in prepare_blit()
|