Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] tests/intel/xe_pat: dynamic PAT index selection for pat-index-auto
@ 2026-05-11 23:36 Zongyao Bai
  2026-05-11 23:36 ` [PATCH 1/3] tests/intel/xe_pat: fix typo in r2 wc debug print Zongyao Bai
                   ` (6 more replies)
  0 siblings, 7 replies; 9+ messages in thread
From: Zongyao Bai @ 2026-05-11 23:36 UTC (permalink / raw)
  To: igt-dev; +Cc: jia.yao, x.wang, Zongyao Bai

From Xe2 onwards, the PAT table has grown large enough that exhaustive
testing of all index combinations is impractical. This series introduces
a new pat-index-auto dynamic subtest that selects PAT indices from the
hardware PAT software configuration at runtime, improving coverage across
runs without hard-coding platform-specific tables.

The main patch adds pat-index-auto, which builds a test mode set in two
stages:
  Mandatory entries: one representative WT, coherent, and non-coherent
    entry, always included for baseline coverage.
  Random entries: remaining valid PAT entries shuffled with Fisher-Yates
    and appended up to the configured test count (12 by default, 6 in
    simulation mode).

Zongyao Bai (3):
  tests/intel/xe_pat: fix typo in r2 wc debug print
  tests/intel/xe_pat: drop redundant manual srand initialization
  tests/intel/xe_pat: Add dynamic PAT index selection for pat-index-auto

 tests/intel-ci/xe.fast-feedback.testlist |   1 +
 tests/intel/xe_pat.c                     | 167 +++++++++++++++++++++--
 2 files changed, 160 insertions(+), 8 deletions(-)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2026-05-12 22:45 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-11 23:36 [PATCH 0/3] tests/intel/xe_pat: dynamic PAT index selection for pat-index-auto Zongyao Bai
2026-05-11 23:36 ` [PATCH 1/3] tests/intel/xe_pat: fix typo in r2 wc debug print Zongyao Bai
2026-05-11 23:36 ` [PATCH 2/3] tests/intel/xe_pat: drop redundant manual srand initialization Zongyao Bai
2026-05-11 23:36 ` [PATCH 3/3] tests/intel/xe_pat: Add dynamic PAT index selection for pat-index-auto Zongyao Bai
2026-05-12 22:44   ` Wang, X
2026-05-12  5:04 ` ✓ i915.CI.BAT: success for tests/intel/xe_pat: " Patchwork
2026-05-12  6:41 ` ✓ Xe.CI.BAT: " Patchwork
2026-05-12 13:47 ` ✗ Xe.CI.FULL: failure " Patchwork
2026-05-12 19:06 ` ✓ i915.CI.Full: success " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox