Searched refs:mocs (Results 1 – 6 of 6) sorted by relevance
/linux-6.1.9/drivers/gpu/drm/i915/gt/ |
D | selftest_mocs.c | 17 struct drm_i915_mocs_table *mocs; member 76 arg->mocs = &arg->table; in live_mocs_init() 239 err = read_mocs_table(rq, arg->mocs, &offset); in check_mocs_engine() 252 err = check_mocs_table(ce->engine, arg->mocs, &vaddr); in check_mocs_engine() 267 struct live_mocs mocs; in live_mocs_kernel() local 272 err = live_mocs_init(&mocs, gt); in live_mocs_kernel() 278 err = check_mocs_engine(&mocs, engine->kernel_context); in live_mocs_kernel() 284 live_mocs_fini(&mocs); in live_mocs_kernel() 293 struct live_mocs mocs; in live_mocs_clean() local 298 err = live_mocs_init(&mocs, gt); in live_mocs_clean() [all …]
|
D | intel_mocs.c | 547 #define for_each_mocs(mocs, t, i) \ argument 549 i < (t)->n_entries ? (mocs = get_entry_control((t), i)), 1 : 0;\ 557 u32 mocs; in __init_mocs_table() local 561 for_each_mocs(mocs, table, i) in __init_mocs_table() 562 intel_uncore_write_fw(uncore, _MMIO(addr + i * 4), mocs); in __init_mocs_table() 652 gt->mocs.uc_index = table.uc_index; in intel_set_mocs_index() 654 gt->mocs.wb_index = table.wb_index; in intel_set_mocs_index()
|
D | intel_migrate.c | 527 int mocs = rq->engine->gt->mocs.uc_index << 1; in emit_copy_ccs() local 560 FIELD_PREP(XY_CTRL_SURF_MOCS_MASK, mocs); in emit_copy_ccs() 563 FIELD_PREP(XY_CTRL_SURF_MOCS_MASK, mocs); in emit_copy_ccs() 892 int mocs = rq->engine->gt->mocs.uc_index << 1; in emit_clear() local 913 *cs++ = FIELD_PREP(XY_FAST_COLOR_BLT_MOCS_MASK, mocs) | in emit_clear()
|
D | intel_gt_types.h | 262 } mocs; member
|
D | intel_workarounds.c | 732 u8 mocs; in gen12_ctx_gt_mocs_init() local 740 mocs = engine->gt->mocs.uc_index; in gen12_ctx_gt_mocs_init() 744 BLIT_CCTL_MOCS(mocs, mocs)); in gen12_ctx_gt_mocs_init() 2068 mocs_r = engine->gt->mocs.uc_index; in engine_fake_wa_init() 2069 mocs_w = engine->gt->mocs.uc_index; in engine_fake_wa_init() 2073 mocs_r = engine->gt->mocs.wb_index; in engine_fake_wa_init()
|
/linux-6.1.9/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()
|