Re: [PATCH 3/3] drm/i915: Temporary conversion to new GENMASK/BIT macros

2023-05-09 Thread Lucas De Marchi
On Tue, May 09, 2023 at 10:57:19AM +0300, Jani Nikula wrote: On Mon, 08 May 2023, Lucas De Marchi wrote: Convert the REG_* macros from i915_reg_defs.h to use the new macros defined in linux/bits.h. This is just to help on the implementation of the new macros and not intended to be applied.

Re: [PATCH 3/3] drm/i915: Temporary conversion to new GENMASK/BIT macros

2023-05-09 Thread Jani Nikula
On Mon, 08 May 2023, Lucas De Marchi wrote: > Convert the REG_* macros from i915_reg_defs.h to use the new macros > defined in linux/bits.h. This is just to help on the implementation > of the new macros and not intended to be applied. This drops a number of build time input checks as well as

[PATCH 3/3] drm/i915: Temporary conversion to new GENMASK/BIT macros

2023-05-08 Thread Lucas De Marchi
Convert the REG_* macros from i915_reg_defs.h to use the new macros defined in linux/bits.h. This is just to help on the implementation of the new macros and not intended to be applied. Signed-off-by: Lucas De Marchi --- drivers/gpu/drm/i915/i915_reg_defs.h | 28 +--- 1