[Intel-xe] [PATCH v2 0/5] drm/xe: Add WA kunit support to MTL/LNL

Lucas De Marchi lucas.demarchi at intel.com
Wed Nov 29 23:28:02 UTC 2023


Previously we didn't have support to test the WA tables for MTL and LNL
since they use GMD_ID to connect the graphics and media descriptions.
Add some infrastructure to add that support by stubbing peek_gmdid().
Now the test provides its own version of that function, which allows the
versions and steppings to come from the test table.

First patch is a the series from Michał Winiarski
(https://patchwork.freedesktop.org/series/127083/) squashed into a
single patch as I expect that to land first.

Lucas De Marchi (4):
  drm/xe/kunit: Remove handling of XE_TEST_SUBPLATFORM_ANY
  drm/xe/kunit: Move fake pci data to test-priv
  drm/xe/kunit: Add stub to read_gmdid
  drm/xe/kunit: Test WAs for MTL and LNL

Michał Winiarski (1):
  20231129214509.1174116-1-michal.winiarski at intel.com

 drivers/gpu/drm/xe/tests/xe_pci.c             |  38 +++--
 drivers/gpu/drm/xe/tests/xe_pci_test.h        |  23 ++--
 drivers/gpu/drm/xe/tests/xe_rtp_test.c        |   4 +-
 drivers/gpu/drm/xe/tests/xe_wa_test.c         |  32 ++++-
 drivers/gpu/drm/xe/xe_device.c                |  72 ++++++++--
 drivers/gpu/drm/xe/xe_device.h                |   5 +
 drivers/gpu/drm/xe/xe_ggtt.c                  |  20 ++-
 drivers/gpu/drm/xe/xe_ggtt.h                  |   2 +-
 drivers/gpu/drm/xe/xe_gt.c                    |   2 -
 drivers/gpu/drm/xe/xe_hw_engine_class_sysfs.h |   2 +-
 drivers/gpu/drm/xe/xe_irq.c                   |   5 +-
 drivers/gpu/drm/xe/xe_mmio.c                  |  58 ++------
 drivers/gpu/drm/xe/xe_mmio.h                  |   2 +
 drivers/gpu/drm/xe/xe_pci.c                   | 130 +++++++++++-------
 drivers/gpu/drm/xe/xe_step.h                  |   2 +
 drivers/gpu/drm/xe/xe_tile.c                  |  36 ++++-
 drivers/gpu/drm/xe/xe_tile.h                  |   2 +-
 17 files changed, 283 insertions(+), 152 deletions(-)

-- 
2.40.1



More information about the Intel-xe mailing list