[PATCH 0/5] Fix rtp when processing OOB workarounds

Lucas De Marchi lucas.demarchi at intel.com
Thu Jul 25 22:09:51 UTC 2024


First patch is a quick fix for processing rtp entries that is used by
the OOB WAs, i.e. WAs without an action associated. Thanks Gustavo for
spotting the issue while browsing the code.

Second patch refactor it a little so it's more obvious what it's doing.
Last patch enabling kunit test to check the active entries. This still
doesn't cover what caused this bug since it's only using
xe_rtp_process_to_sr(), not xe_rtp_process(). We should either join both
into a single interface or add more tests later.

Lucas De Marchi (5):
  drm/xe/rtp: Fix off-by-one when processing rules
  drm/xe/rtp: Simplify marking active workarounds
  drm/xe/kunit: Test WAs for BMG
  drm/xe/kunit: Rename count to sr_entries
  drm/xe/kunit: Test active rtp entries

 drivers/gpu/drm/xe/tests/xe_rtp_test.c | 53 ++++++++++++++++++--------
 drivers/gpu/drm/xe/tests/xe_wa_test.c  |  1 +
 drivers/gpu/drm/xe/xe_rtp.c            | 14 +++----
 3 files changed, 43 insertions(+), 25 deletions(-)

-- 
2.43.0



More information about the Intel-xe mailing list