Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/gpu/drm/i915/gt/
A Dselftest_mocs.c18 struct drm_i915_mocs_table *mocs; member
77 arg->mocs = &arg->table; in live_mocs_init()
264 struct live_mocs mocs; in live_mocs_kernel() local
269 err = live_mocs_init(&mocs, gt); in live_mocs_kernel()
281 live_mocs_fini(&mocs); in live_mocs_kernel()
290 struct live_mocs mocs; in live_mocs_clean() local
295 err = live_mocs_init(&mocs, gt); in live_mocs_clean()
314 live_mocs_fini(&mocs); in live_mocs_clean()
392 struct live_mocs mocs; in live_mocs_reset() local
397 err = live_mocs_init(&mocs, gt); in live_mocs_reset()
[all …]
A Dintel_mocs.c548 #define for_each_mocs(mocs, t, i) \ argument
550 i < (t)->n_entries ? (mocs = get_entry_control((t), i)), 1 : 0;\
558 u32 mocs; in __init_mocs_table() local
562 for_each_mocs(mocs, table, i) in __init_mocs_table()
563 intel_uncore_write_fw(uncore, _MMIO(addr + i * 4), mocs); in __init_mocs_table()
659 gt->mocs.uc_index = table.uc_index; in intel_set_mocs_index()
661 gt->mocs.wb_index = table.wb_index; in intel_set_mocs_index()
A Dintel_migrate.c530 int mocs = rq->engine->gt->mocs.uc_index << 1; in emit_copy_ccs() local
563 FIELD_PREP(XY_CTRL_SURF_MOCS_MASK, mocs); in emit_copy_ccs()
566 FIELD_PREP(XY_CTRL_SURF_MOCS_MASK, mocs); in emit_copy_ccs()
916 int mocs = rq->engine->gt->mocs.uc_index << 1; in emit_clear() local
937 *cs++ = FIELD_PREP(XY_FAST_COLOR_BLT_MOCS_MASK, mocs) | in emit_clear()
A Dintel_gt_types.h275 } mocs; member
A Dintel_workarounds.c871 u8 mocs; in gen12_ctx_gt_mocs_init() local
879 mocs = engine->gt->mocs.uc_index; in gen12_ctx_gt_mocs_init()
883 BLIT_CCTL_MOCS(mocs, mocs)); in gen12_ctx_gt_mocs_init()
2359 mocs_r = engine->gt->mocs.uc_index; in engine_fake_wa_init()
2360 mocs_w = engine->gt->mocs.uc_index; in engine_fake_wa_init()
2364 mocs_r = engine->gt->mocs.wb_index; in engine_fake_wa_init()
/linux-6.3-rc2/drivers/gpu/drm/i915/gem/selftests/
A Di915_gem_client_blt.c165 *cs++ = (BLIT_CCTL_SRC_MOCS(gt->mocs.uc_index) | in prepare_blit()
166 BLIT_CCTL_DST_MOCS(gt->mocs.uc_index)); in prepare_blit()

Completed in 37 milliseconds