Searched refs:CS_GPR (Results 1 – 3 of 3) sorted by relevance
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/ |
D | selftest_rps.c | 64 #define CS_GPR(x) GEN8_RING_CS_GPR(engine->mmio_base, x) in create_spin_counter() macro 99 *cs++ = i915_mmio_reg_offset(CS_GPR(i)); in create_spin_counter() 101 *cs++ = i915_mmio_reg_offset(CS_GPR(i)) + 4; in create_spin_counter() 106 *cs++ = i915_mmio_reg_offset(CS_GPR(INC)); in create_spin_counter() 121 *cs++ = i915_mmio_reg_offset(CS_GPR(COUNT)); in create_spin_counter() 565 dc = intel_uncore_read_fw(engine->uncore, CS_GPR(0)); in __measure_cs_frequency() 567 dc = intel_uncore_read_fw(engine->uncore, CS_GPR(0)) - dc; in __measure_cs_frequency() 661 if (wait_for(intel_uncore_read(engine->uncore, CS_GPR(0)), in live_rps_frequency_cs()
|
D | selftest_lrc.c | 24 #define CS_GPR(engine, n) ((engine)->mmio_base + 0x600 + (n) * 4) macro 3036 *cs++ = CS_GPR(engine, 0); in create_gpr_user() 3057 *cs++ = CS_GPR(engine, 2 * i); in create_gpr_user() 4213 *cs++ = CS_GPR(engine, n); in preserved_virtual_engine() 4218 *cs++ = CS_GPR(engine, (n + 1) % NUM_GPR_DW); in preserved_virtual_engine() 5144 *cs++ = CS_GPR(ce->engine, n); in gpr_make_dirty() 5191 *cs++ = CS_GPR(ce->engine, n); in __gpr_read()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/ |
D | i915_perf.c | 1635 #define CS_GPR(x) GEN8_RING_CS_GPR(base, x) in alloc_noa_wait() macro 1674 stream, cs, true /* save */, CS_GPR(i), in alloc_noa_wait() 1689 *cs++ = i915_mmio_reg_offset(CS_GPR(START_TS)) + 4; in alloc_noa_wait() 1693 *cs++ = i915_mmio_reg_offset(CS_GPR(START_TS)); in alloc_noa_wait() 1707 *cs++ = i915_mmio_reg_offset(CS_GPR(NOW_TS)) + 4; in alloc_noa_wait() 1711 *cs++ = i915_mmio_reg_offset(CS_GPR(NOW_TS)); in alloc_noa_wait() 1730 *cs++ = i915_mmio_reg_offset(CS_GPR(JUMP_PREDICATE)); in alloc_noa_wait() 1749 *cs++ = i915_mmio_reg_offset(CS_GPR(DELTA_TARGET)); in alloc_noa_wait() 1751 *cs++ = i915_mmio_reg_offset(CS_GPR(DELTA_TARGET)) + 4; in alloc_noa_wait() 1767 *cs++ = i915_mmio_reg_offset(CS_GPR(JUMP_PREDICATE)); in alloc_noa_wait() [all …]
|