Searched refs:CS_GPR (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/gpu/drm/i915/gt/ |
H A D | selftest_rps.c | 68 #define CS_GPR(x) GEN8_RING_CS_GPR(engine->mmio_base, x) in create_spin_counter() macro 103 *cs++ = i915_mmio_reg_offset(CS_GPR(i)); in create_spin_counter() 105 *cs++ = i915_mmio_reg_offset(CS_GPR(i)) + 4; in create_spin_counter() 110 *cs++ = i915_mmio_reg_offset(CS_GPR(INC)); in create_spin_counter() 125 *cs++ = i915_mmio_reg_offset(CS_GPR(COUNT)); in create_spin_counter() 572 dc = intel_uncore_read_fw(engine->uncore, CS_GPR(0)); in __measure_cs_frequency() 575 dc = intel_uncore_read_fw(engine->uncore, CS_GPR(0)) - dc; in __measure_cs_frequency() 667 if (wait_for(intel_uncore_read(engine->uncore, CS_GPR(0)), in live_rps_frequency_cs()
|
H A D | selftest_lrc.c | 26 #define CS_GPR(engine, n) ((engine)->mmio_base + 0x600 + (n) * 4) macro 550 *cs++ = CS_GPR(ce->engine, n); in gpr_make_dirty() 597 *cs++ = CS_GPR(ce->engine, n); in __gpr_read()
|
H A D | selftest_execlists.c | 24 #define CS_GPR(engine, n) ((engine)->mmio_base + 0x600 + (n) * 4) macro 3081 *cs++ = CS_GPR(engine, 0); in create_gpr_user() 3102 *cs++ = CS_GPR(engine, 2 * i); in create_gpr_user() 4245 *cs++ = CS_GPR(engine, n); in preserved_virtual_engine() 4250 *cs++ = CS_GPR(engine, (n + 1) % NUM_GPR_DW); in preserved_virtual_engine()
|