Skip to content

Apply Wa_16018031267 / Wa_16018063123

Jonathan Cavitt intel-gfx oe-kbuild oe-kbuild-all 15 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v13 Latest2 patches 1 replyIn review
  2. v124 patches 5 repliesSuperseded
  3. v113 patches 0 repliesSuperseded
Earlier versions · 12
VersionPostedPatchesRepliesStatus
v10 posting 2/23 patches0 repliesSuperseded
v10 posting 1/23 patches0 repliesSuperseded
v93 patches0 repliesSuperseded
v83 patches0 repliesSuperseded
v72 patches0 repliesSuperseded
v62 patches0 repliesSuperseded
v52 patches1 replySuperseded
v42 patches2 repliesSuperseded
v3 posting 2/22 patches0 repliesSuperseded
v3 posting 1/22 patches0 repliesSuperseded
v22 patches4 repliesSuperseded
v12 patches0 repliesSuperseded

Changes in v13 from the cover letter

- Revert changes the reserve vm space explicitly.
- Create dummy context.
- Use dummy context for workaround.

Patches in v13 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2drm/i915: Add WABB blit for Wa_16018031267 / Wa_16018063123drivers/gpu/drm/i915/gt/intel_context.h drivers/gpu/drm/i915/gt/intel_context_types.h drivers/gpu/drm/i915/gt/intel_engine.h +8 more+224 -241 reply
2/2drm/i915: Set copy engine arbitration for Wa_16018031267 / Wa_16018063123drivers/gpu/drm/i915/gt/intel_engine_regs.h drivers/gpu/drm/i915/gt/intel_workarounds.c+8 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v13 yet.

Read the v13 thread

Cover letter [Intel-gfx] [PATCH v13 0/2] Apply Wa_16018031267 / Wa_16018063123

Apply Wa_16018031267 / Wa_16018063123. This necessitates submitting a fastcolor blit as WABB and setting the copy engine arbitration to round-robin mode.

v2:
- Rename old platform check in second patch to match declaration in first patch.
- Refactor second patch name to match first patch.

v3:
- Move NEEDS_FASTCOLOR_BLT_WABB to intel_gt.h.
- Refactor NEEDS_FASTCOLOR_BLT_WABB to make it more streamlined to use.
- Stop dividing PAGE_SIZE by sizeof(u32) when computing ctx_bb_ggtt_addr for lrc_setup_bb_per_ctx.
- Reduce comment complexity.
- Fix several checkpatch warnings.

v4:
- Actually stop dividing PAGE_SIZE by sizeof(u32) when computing ctx_bb_ggtt_addr for lrc_setup_bb_per_ctx.

v5:
- Stop dividing PAGE_SIZE by sizeof(u32) in
check_ring_start during lrc live selftest.

v6:
- Append MI_BATCH_BUFFER_END to end of all PER_CTX_BB command streams.
- No longer skip on empty, as command stream will never be empty (always contains at least MI_BATCH_BUFFER_END).
- No longer append MI_NOOP until cachline aligned (was a fragment from INDIRECT_CTX setup).

v7:
- Use 0x6b instead of 0 for color to maintain functionality.

v8:
- Revert v7.
- Add some reserved kernel space per vm to run the workaround on.

v9:
- Hide reserved kernel space per vm from userspace.

v10:
- Revert v7 properly.
- Test on updated IGT.

v11:
- Remove Test-with tag.
- Reserve two pages per vm for workaround.

v12:
- Use Null page for scratch page.

v13:
- Revert changes the reserve vm space explicitly.
- Create dummy context.
- Use dummy context for workaround.

CC Joonas Lahtinen <[email protected]>
CC Rodrigo Vivi <[email protected]>
CC Tomasz Mistat <[email protected]>
CC Gregory F Germano <[email protected]>
CC Matt Roper <[email protected]>
CC James Ausmus <[email protected]>
CC Chris Wilson <[email protected]>
CC Andi Shyti <[email protected]>

Jonathan Cavitt (2):
drm/i915: Add WABB blit for Wa_16018031267 / Wa_16018063123 drm/i915: Set copy engine arbitration for Wa_16018031267 /

    Wa_16018063123
 drivers/gpu/drm/i915/gt/intel_context.h       |   9 ++
 drivers/gpu/drm/i915/gt/intel_context_types.h |   1 +
 drivers/gpu/drm/i915/gt/intel_engine.h        |   2 +
 drivers/gpu/drm/i915/gt/intel_engine_cs.c     |  48 +++++++++
 drivers/gpu/drm/i915/gt/intel_engine_regs.h   |   6 ++
 drivers/gpu/drm/i915/gt/intel_engine_types.h  |   1 +
 drivers/gpu/drm/i915/gt/intel_gt.h            |   4 +
 drivers/gpu/drm/i915/gt/intel_lrc.c           | 101 +++++++++++++++++-
 drivers/gpu/drm/i915/gt/intel_workarounds.c   |   5 +
 drivers/gpu/drm/i915/gt/selftest_lrc.c        |  65 +++++++----
 .../gpu/drm/i915/gt/uc/intel_guc_submission.c |  13 ++-
 .../gpu/drm/i915/gt/uc/intel_guc_submission.h |   1 +
 12 files changed, 232 insertions(+), 24 deletions(-)
Signature · 1 line
2.25.1