[PATCH 0/2] Define generic helpers for manipulating macro arguments

Andy Shevchenko andriy.shevchenko at intel.com
Thu May 2 07:24:44 UTC 2024


On Thu, May 02, 2024 at 12:32:19AM +0200, Michal Wajdeczko wrote:
> Michal Wajdeczko (2):
>   args.h: add more helpers for manipulating macro arguments
>   drm/xe/rtp: Prefer helper macros from args.h
> 
>  drivers/gpu/drm/xe/xe_rtp.h         |   4 +-
>  drivers/gpu/drm/xe/xe_rtp_helpers.h |  26 +++----
>  include/linux/args.h                | 103 ++++++++++++++++++++++++++++
>  3 files changed, 115 insertions(+), 18 deletions(-)

It's good in general to have the code being deduplicated, but the above
statistics is a bit scary. Do we have more users where we indeed make code much
nicer? If not, let's keep these where it belongs to for now.

-- 
With Best Regards,
Andy Shevchenko




More information about the Intel-xe mailing list