-
- Downloads
igt: Use COND_BBEND for busy spinning on gen9
gen9+ introduces a cmdparser for the BLT engine which copies the incoming BB to a kmd owned buffer for submission (to prevent changes being made after the bb has been safely scanned). This breaks the spin functionality because it relies on changing the submitted spin buffers in order to terminate them. Instead, for gen9+, we change the semantics by introducing a COND_BB_END into the infinite loop, to wait until a memory flag (in anothe bo) is cleared. v2: Correct nop length to avoid overwriting bb_end instr when using a dependency bo (cork) v3: fix conflicts on igt_dummyload (Mika) v4: s/bool running/uint32_t running, fix r->delta (Mika) v5: remove overzealous assert (Mika) v6: rebase on top of lib changes (Mika) v7: rework on top of public igt lib changes (Mika) v8: rebase v9: simplify by using bb end as conditional (Chris) Signed-off-by: Jon Bloomfield <jon.bloomfield@intel.com> (v2) Cc: Joonas Lahtinen <joonas.lahtinen@intel.com> Cc: Rodrigo Vivi <rodrigo.vivi@intel.com> Cc: Mika Kuoppala <mika.kuoppala@intel.com> Signed-off-by:Mika Kuoppala <mika.kuoppala@linux.intel.com> Reviewed-by:
Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by:
Chris Wilson <chris@chris-wilson.co.uk>
parent
d0893f76
No related branches found
No related tags found
Checking pipeline status
Showing
- lib/i830_reg.h 0 additions, 3 deletionslib/i830_reg.h
- lib/igt_dummyload.c 37 additions, 2 deletionslib/igt_dummyload.c
- lib/intel_reg.h 3 additions, 0 deletionslib/intel_reg.h
- tests/i915/gem_double_irq_loop.c 0 additions, 2 deletionstests/i915/gem_double_irq_loop.c
- tests/i915/gem_write_read_ring_switch.c 1 addition, 1 deletiontests/i915/gem_write_read_ring_switch.c
Loading
Please register or sign in to comment