Searched refs:CS_GPR (Results 1 - 7 of 7) sorted by relevance
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/ |
H A 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()
|
H A 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() 4272 * from one engine to the next. For this we check that the CS_GPR in live_virtual_preserved() 4279 /* As we use CS_GPR we cannot run before they existed on all engines. */ in live_virtual_preserved() 5144 *cs++ = CS_GPR(ce->engine, n); in gpr_make_dirty() 5191 *cs++ = CS_GPR(ce->engine, n); in __gpr_read()
|
/kernel/linux/linux-6.6/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() 570 dc = intel_uncore_read_fw(engine->uncore, CS_GPR(0)); in __measure_cs_frequency() 573 dc = intel_uncore_read_fw(engine->uncore, CS_GPR(0)) - dc; in __measure_cs_frequency() 665 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() 4304 * from one engine to the next. For this we check that the CS_GPR in live_virtual_preserved() 4311 /* As we use CS_GPR we cannot run before they existed on all engines. */ in live_virtual_preserved()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/ |
H A 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() 1703 * up the top 32bits of CS_GPR(1) as we're using it for other 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() 1715 * CS_GPR(1). 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_TARGE in alloc_noa_wait() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/ |
H A D | i915_perf.c | 1975 #define CS_GPR(x) GEN8_RING_CS_GPR(base, x) in alloc_noa_wait() macro 2039 stream, cs, true /* save */, CS_GPR(i), in alloc_noa_wait() 2054 *cs++ = i915_mmio_reg_offset(CS_GPR(START_TS)) + 4; in alloc_noa_wait() 2058 *cs++ = i915_mmio_reg_offset(CS_GPR(START_TS)); in alloc_noa_wait() 2068 * up the top 32bits of CS_GPR(1) as we're using it for other in alloc_noa_wait() 2072 *cs++ = i915_mmio_reg_offset(CS_GPR(NOW_TS)) + 4; in alloc_noa_wait() 2076 *cs++ = i915_mmio_reg_offset(CS_GPR(NOW_TS)); in alloc_noa_wait() 2080 * CS_GPR(1). in alloc_noa_wait() 2095 *cs++ = i915_mmio_reg_offset(CS_GPR(JUMP_PREDICATE)); in alloc_noa_wait() 2120 *cs++ = i915_mmio_reg_offset(CS_GPR(DELTA_TARGE in alloc_noa_wait() [all...] |
Completed in 22 milliseconds