]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/xe: Add helpers for manipulating macro arguments
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Thu, 2 May 2024 22:33:11 +0000 (00:33 +0200)
committerMichal Wajdeczko <michal.wajdeczko@intel.com>
Fri, 3 May 2024 09:40:12 +0000 (11:40 +0200)
commit87ea92a19216a454a6eb5710501a470dcdb8577d
treeedef4a696b29b51f1ed2d0aff2813e114ec7b90b
parent75521e8b56e8f9dc673b782df7bc3660f51f329a
drm/xe: Add helpers for manipulating macro arguments

Define generic helpers that will replace private definitions used
by the RTP code and will allow reuse by the new code.

Put them in new xe_args.h file (instead of infamous xe_macros.h)
as once we find more potential users outside of the Xe driver we
may want to move all of these macros as-is to linux/args.h.

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240502223313.2527-2-michal.wajdeczko@intel.com
drivers/gpu/drm/xe/xe_args.h [new file with mode: 0644]