All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v5 0/4] drm/xe/rtp: WA table context testing
@ 2026-05-28 16:35 Violet Monti
  2026-05-28 16:35 ` [PATCH v5 1/4] drm/xe/rtp: Add struct types for RTP tables Violet Monti
                   ` (7 more replies)
  0 siblings, 8 replies; 14+ messages in thread
From: Violet Monti @ 2026-05-28 16:35 UTC (permalink / raw)
  To: intel-xe; +Cc: Violet Monti

This series adds testing for existing WA lists within
drm/xe/xe_wa.c, which previously were allowed to match
rules for contexts that were not valid at their initialization
time.

These tests function by parsing each target RTP table,
checking for invalid contexts rules determined by an
enumeration of match types, and raises an expectation fail
if an improper match is found

Signed-off-by: Violet Monti <violet.monti@intel.com>
---

Changes in v5:
- Removed code accidentally added with conflict resolution
- Removed unnecessary headers
- Link to v4: https://lore.kernel.org/intel-xe/20260526173056.967215-6-violet.monti@intel.com/

Changes in v4:
- Fix conflicts with main branch
- Link to v3: https://lore.kernel.org/intel-xe/20260522185609.2252126-6-violet.monti@intel.com/

Changes in v3:
- Removed unnecessary keywords
- Added gt_tunings[] to test cases
- Reworked tests to more easily identify an error
- Link to v2: https://lore.kernel.org/intel-xe/20260519193216.546048-6-violet.monti@intel.com/

Changes in v2:
- Cleaned up and refined code logic as per review suggestions.
- Link to v1: https://lore.kernel.org/intel-xe/20260513212129.691628-6-violet.monti@intel.com/

---

Gustavo Sousa (1):
  drm/xe/rtp: Add struct types for RTP tables

Violet Monti (3):
  drm/xe/rtp: Ensure gt_was doesn't evaluate rules with engine types
  drm/xe/rtp: Ensure oob_was does not evaluate engine type rules
  drm/xe/rtp: Ensure device_oob_was only evaluates correct rules

 drivers/gpu/drm/xe/tests/Makefile             |   1 +
 drivers/gpu/drm/xe/tests/xe_rtp_tables_test.c |  91 ++++++++++++++++
 drivers/gpu/drm/xe/tests/xe_rtp_test.c        | 101 +++++++-----------
 drivers/gpu/drm/xe/xe_hw_engine.c             |  14 ++-
 drivers/gpu/drm/xe/xe_reg_whitelist.c         |   7 +-
 drivers/gpu/drm/xe/xe_rtp.c                   |  31 +++---
 drivers/gpu/drm/xe/xe_rtp.h                   |  16 ++-
 drivers/gpu/drm/xe/xe_rtp_types.h             |  10 ++
 drivers/gpu/drm/xe/xe_tuning.c                |  46 ++++----
 drivers/gpu/drm/xe/xe_tuning.h                |   6 ++
 drivers/gpu/drm/xe/xe_wa.c                    |  92 ++++++++--------
 drivers/gpu/drm/xe/xe_wa.h                    |   7 ++
 12 files changed, 265 insertions(+), 157 deletions(-)
 create mode 100644 drivers/gpu/drm/xe/tests/xe_rtp_tables_test.c

-- 
2.43.0


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

end of thread, other threads:[~2026-06-01 16:34 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-28 16:35 [PATCH v5 0/4] drm/xe/rtp: WA table context testing Violet Monti
2026-05-28 16:35 ` [PATCH v5 1/4] drm/xe/rtp: Add struct types for RTP tables Violet Monti
2026-05-28 17:12   ` Gustavo Sousa
2026-05-28 20:46     ` Gustavo Sousa
2026-06-01 16:29   ` Matt Roper
2026-06-01 16:34   ` Matt Roper
2026-05-28 16:35 ` [PATCH v5 2/4] drm/xe/rtp: Ensure gt_was doesn't evaluate rules with engine types Violet Monti
2026-05-28 20:52   ` Gustavo Sousa
2026-05-28 16:35 ` [PATCH v5 3/4] drm/xe/rtp: Ensure oob_was does not evaluate engine type rules Violet Monti
2026-05-28 16:35 ` [PATCH v5 4/4] drm/xe/rtp: Ensure device_oob_was only evaluates correct rules Violet Monti
2026-05-28 16:44 ` ✗ CI.checkpatch: warning for drm/xe/rtp: WA table context testing Patchwork
2026-05-28 16:45 ` ✓ CI.KUnit: success " Patchwork
2026-05-28 17:23 ` ✓ Xe.CI.BAT: " Patchwork
2026-05-28 23:26 ` ✓ Xe.CI.FULL: " Patchwork

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.