[Intel-xe] [PATCH v2 0/3] Add rtp unit tests + arch=UM build fix

Lucas De Marchi lucas.demarchi at intel.com
Thu Mar 16 21:03:38 UTC 2023


First two commits are fixups needed after the rebase on 6.2.
I didn't need the one for UML, but I'm guessing this is why CI is
failing since it depends on the linker version.

Third patch is the important one, adding unit tests for the rtp
infrastructure.  Previous tentative version had a hack that is not
needed anymore: the issue was passing the sr from the stack of the test
cases and then trying to make them drm-managed.  In this versions the
tests also cover more ground, checking for incompatible register type
entries: this was the reason that led to the wrong fix in
commit 3b9b18b4aee5 ("drm/xe: Fix duplicated setting for register 0x6604")

Lucas De Marchi (2):
  fixup! drm/xe: Introduce a new DRM driver for Intel GPUs
  drm/xe: Add basic unit tests for rtp

Masahiro Yamada (1):
  UML: define RUNTIME_DISCARD_EXIT

 arch/um/kernel/vmlinux.lds.S           |   2 +-
 drivers/gpu/drm/xe/Kconfig             |   2 +
 drivers/gpu/drm/xe/Kconfig.debug       |   1 +
 drivers/gpu/drm/xe/tests/Makefile      |   7 +-
 drivers/gpu/drm/xe/tests/xe_rtp.c      | 201 +++++++++++++++++++++++++
 drivers/gpu/drm/xe/tests/xe_rtp_test.c |  71 +++++++++
 drivers/gpu/drm/xe/tests/xe_rtp_test.h |  15 ++
 drivers/gpu/drm/xe/xe_rtp.c            |   4 +
 8 files changed, 300 insertions(+), 3 deletions(-)
 create mode 100644 drivers/gpu/drm/xe/tests/xe_rtp.c
 create mode 100644 drivers/gpu/drm/xe/tests/xe_rtp_test.c
 create mode 100644 drivers/gpu/drm/xe/tests/xe_rtp_test.h

-- 
2.39.0



More information about the Intel-xe mailing list