[PATCH v3 0/3] Define generic helpers for manipulating macro arguments
Michal Wajdeczko
michal.wajdeczko at intel.com
Thu May 2 22:33:10 UTC 2024
v1: https://patchwork.freedesktop.org/series/133123/#rev1
v2: don't pollute linux/args.h yet (Andy, Lucas)
v3: add explicit comment on future use inside the code (Lucas)
add xe_args kunit tests (Michal)
Michal Wajdeczko (3):
drm/xe: Add helpers for manipulating macro arguments
drm/xe/kunit: Add simple tests for new xe_args macros
drm/xe/rtp: Prefer helper macros from xe_args.h
drivers/gpu/drm/xe/tests/Makefile | 1 +
drivers/gpu/drm/xe/tests/xe_args_test.c | 190 ++++++++++++++++++++++++
drivers/gpu/drm/xe/xe_args.h | 121 +++++++++++++++
drivers/gpu/drm/xe/xe_rtp.h | 4 +-
drivers/gpu/drm/xe/xe_rtp_helpers.h | 26 ++--
5 files changed, 324 insertions(+), 18 deletions(-)
create mode 100644 drivers/gpu/drm/xe/tests/xe_args_test.c
create mode 100644 drivers/gpu/drm/xe/xe_args.h
--
2.43.0
More information about the Intel-xe
mailing list