[PATCH v6 4/7] drm/i915: Convert REG_GENMASK*() to fixed-width GENMASK_U*()
Andy Shevchenko
andriy.shevchenko at linux.intel.com
Fri Mar 7 17:54:11 UTC 2025
On Sat, Mar 08, 2025 at 01:48:51AM +0900, Vincent Mailhol via B4 Relay wrote:
> From: Lucas De Marchi <lucas.demarchi at intel.com>
>
> Now that include/linux/bits.h implements fixed-width GENMASK_U*(), use
> them to implement the i915/xe specific macros. Converting each driver
> to use the generic macros are left for later, when/if other
> driver-specific macros are also generalized.
...
> +/*
> + * Wrappers over the generic BIT_* and GENMASK_* implementations,
BIT_U*(), GENMASK_U*() as far as I can see.
Also "...generic fixed-width...".
> + * for compatibility reasons with previous implementation
> */
--
With Best Regards,
Andy Shevchenko
More information about the dri-devel
mailing list