drm/xe/rtp: WA table context testing
Status from this message: Applied to drm-xe-next. Thanks for the patches and reviews.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v6 Latest4 patches 1 replyApplied
- v54 patches 5 repliesSuperseded
- v44 patches 3 repliesSuperseded
Earlier versions · 3
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v3 | 4 patches | 0 replies | Superseded | |
| v2 | 4 patches | 5 replies | Superseded | |
| v1 | 4 patches | 5 replies | Superseded |
Changes in v6 from the cover letter
- Removed sentinels that persisted after changes
- Link to v5: https://lore.kernel.org/intel-xe/[email protected]/
Patches in v6 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | drm/xe/rtp: Add struct types for RTP tablesdrivers/ drivers/ drivers/ +5 more | +156 | 0 replies | |
| 2/4 | drm/xe/rtp: Ensure gt_was doesn't evaluate rules with engine typesdrivers/ drivers/ drivers/ +3 more | +69 | 0 replies | |
| 3/4 | drm/xe/rtp: Ensure oob_was does not evaluate engine type rulesdrivers/ drivers/ drivers/ | +18 | 0 replies | |
| 4/4 | drm/xe/rtp: Ensure device_oob_was only evaluates correct rulesdrivers/ drivers/ drivers/ | +26 | 0 replies |
Reviews trailers per patch
All 4 patches have a Reviewed-by or Acked-by.
| Patch | Gustavo Sousa | Matt Roper |
|---|---|---|
| 1/4 | R-b | |
| 2/4 | R-b | |
| 3/4 | R-b | |
| 4/4 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v6 0/4] drm/xe/rtp: WA table context testing
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
---
Changes in v6:
- Removed sentinels that persisted after changes
- Link to v5: https://lore.kernel.org/intel-xe/[email protected]/
Changes in v5:
- Removed code accidentally added with conflict resolution
- Removed unnecessary headers
- Link to v4: https://lore.kernel.org/intel-xe/[email protected]/
Changes in v4:
- Fix conflicts with main branch
- Link to v3: https://lore.kernel.org/intel-xe/[email protected]/
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/[email protected]/
Changes in v2:
- Cleaned up and refined code logic as per review suggestions.
- Link to v1: https://lore.kernel.org/intel-xe/[email protected]/
---
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 | 103 +++++++----------- 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(+), 159 deletions(-) create mode 100644 drivers/gpu/drm/xe/tests/xe_rtp_tables_test.c
Signature · 1 line
2.43.0