Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t v2 00/11] Implement Wa_14026539277
@ 2026-09-23 21:41 Gustavo Sousa
  2026-09-23 21:41 ` [PATCH i-g-t v2 01/11] lib/xe: Move lib/intel_wa to lib/xe/xe_wa Gustavo Sousa
                   ` (14 more replies)
  0 siblings, 15 replies; 23+ messages in thread
From: Gustavo Sousa @ 2026-09-23 21:41 UTC (permalink / raw)
  To: igt-dev; +Cc: Gustavo Sousa, Matt Roper, Matt Atwood

Wa_14026539277 requires handling from both KMD and userspace (which
includes IGT).  Do the required changes in IGT for Wa_14026539277.

Since we need to check for Wa_14026539277 as early as during IGT's
xe_device initialization (i.e. xe_device_get()), some preparatory
steps are required before the changes specific to the workaround.

So this series does that preliminary work with the initial set of
patches and then adds the workaround implementation as the final
patch.

Signed-off-by: Gustavo Sousa <gustavo.sousa@intel.com>
---
Changes in v2:
- The approach remains basically the same, but there were some changes
  on how the debugfs dumps are cached: now a new struct called
  xe_wa_cache is used.
- Besides that, feedback from v1 was incorportated. See the changelogs
  in individual patches for details.
- Link to v1: https://patch.msgid.link/20260721-wa_14026539277-v1-0-0c147eeefefa@intel.com

---
Gustavo Sousa (11):
      lib/xe: Move lib/intel_wa to lib/xe/xe_wa
      lib/xe: Make debugfs_file_has_wa() aware of the debugfs file layout
      lib/xe: Gather workarounds debugfs dumps in a cache struct
      lib/xe: Cache workaround information in xe_device
      lib/xe: Return boolean from xe_wa()
      lib/xe: Assert that cache is available for xe_wa()
      tests/intel/xe_pat: Adapt pat_entry_is_wb() to Xe3p
      lib/xe: Add xe_wa_from_cache()
      lib/intel_pat: Encapsulate management of xe_device's pat_cache
      lib/intel_pat: Pass xe_device to xe_get_pat_config()
      intel: Implement Wa_14026539277

 lib/intel_pat.c       |  43 ++++++++--
 lib/intel_pat.h       |   5 ++
 lib/intel_wa.c        |  66 --------------
 lib/intel_wa.h        |  11 ---
 lib/meson.build       |   2 +-
 lib/tests/meson.build |   1 +
 lib/tests/xe_wa.c     |  42 +++++++++
 lib/tests/xe_wa.h     |  12 +++
 lib/xe/xe_query.c     |  15 ++--
 lib/xe/xe_query.h     |  10 ++-
 lib/xe/xe_wa.c        | 233 ++++++++++++++++++++++++++++++++++++++++++++++++++
 lib/xe/xe_wa.h        |  19 ++++
 tests/intel/xe_oa.c   |   4 +-
 tests/intel/xe_pat.c  |  35 ++++++--
 14 files changed, 396 insertions(+), 102 deletions(-)
---
base-commit: 65f84b280be2caf8ce376295d97987a808affdee
change-id: 20260714-wa_14026539277-c79e97449287

Best regards,
--  
Gustavo Sousa <gustavo.sousa@intel.com>


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

end of thread, other threads:[~2026-10-20 22:50 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-23 21:41 [PATCH i-g-t v2 00/11] Implement Wa_14026539277 Gustavo Sousa
2026-09-23 21:41 ` [PATCH i-g-t v2 01/11] lib/xe: Move lib/intel_wa to lib/xe/xe_wa Gustavo Sousa
2026-09-23 21:41 ` [PATCH i-g-t v2 02/11] lib/xe: Make debugfs_file_has_wa() aware of the debugfs file layout Gustavo Sousa
2026-10-20 21:15   ` Matt Atwood
2026-09-23 21:41 ` [PATCH i-g-t v2 03/11] lib/xe: Gather workarounds debugfs dumps in a cache struct Gustavo Sousa
2026-10-20 21:24   ` Matt Atwood
2026-10-20 22:49     ` Gustavo Sousa
2026-09-23 21:41 ` [PATCH i-g-t v2 04/11] lib/xe: Cache workaround information in xe_device Gustavo Sousa
2026-10-20 21:30   ` Matt Atwood
2026-09-23 21:41 ` [PATCH i-g-t v2 05/11] lib/xe: Return boolean from xe_wa() Gustavo Sousa
2026-10-20 21:32   ` Matt Atwood
2026-09-23 21:41 ` [PATCH i-g-t v2 06/11] lib/xe: Assert that cache is available for xe_wa() Gustavo Sousa
2026-10-20 21:33   ` Matt Atwood
2026-09-23 21:41 ` [PATCH i-g-t v2 07/11] tests/intel/xe_pat: Adapt pat_entry_is_wb() to Xe3p Gustavo Sousa
2026-09-23 21:41 ` [PATCH i-g-t v2 08/11] lib/xe: Add xe_wa_from_cache() Gustavo Sousa
2026-09-23 21:41 ` [PATCH i-g-t v2 09/11] lib/intel_pat: Encapsulate management of xe_device's pat_cache Gustavo Sousa
2026-10-20 21:35   ` Matt Atwood
2026-09-23 21:41 ` [PATCH i-g-t v2 10/11] lib/intel_pat: Pass xe_device to xe_get_pat_config() Gustavo Sousa
2026-09-23 21:41 ` [PATCH i-g-t v2 11/11] intel: Implement Wa_14026539277 Gustavo Sousa
2026-09-24  1:52 ` ✓ i915.CI.BAT: success for Implement Wa_14026539277 (rev2) Patchwork
2026-09-24  2:18 ` ✓ Xe.CI.BAT: " Patchwork
2026-09-24 16:04 ` ✗ Xe.CI.FULL: failure " Patchwork
2026-09-25  0:41 ` ✗ i915.CI.Full: " Patchwork

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