[Intel-xe] [PATCH 0/3] drm/xe: Add WA kunit support to MTL/LNL
Lucas De Marchi
lucas.demarchi at intel.com
Fri Nov 17 23:14:08 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.
Lucas De Marchi (3):
drm/xe/kunit: Move fake pci data to test-priv
drm/xe/kunit: Add stub to peek_gmdid
drm/xe/kunit: Test WAs for MTL and LNL
drivers/gpu/drm/xe/tests/xe_pci.c | 35 +++++++++++++++++-----
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 | 41 ++++++++++++++++++++++++--
drivers/gpu/drm/xe/xe_pci.c | 2 ++
drivers/gpu/drm/xe/xe_step.h | 2 ++
6 files changed, 85 insertions(+), 22 deletions(-)
--
2.40.1
More information about the Intel-xe
mailing list