[PATCH v3 3/3] drm/i915: Convert REG_GENMASK* to fixed-width GENMASK_*

Lucas De Marchi lucas.demarchi at intel.com
Thu Feb 8 21:21:37 UTC 2024


On Thu, Feb 08, 2024 at 09:07:32PM +0100, Andi Shyti wrote:
>Hi Lucas,
>
>...
>
>> +#define REG_GENMASK(__high, __low)	GENMASK_U32(__high, __low)
>> +#define REG_GENMASK64(__high, __low)	GENMASK_U64(__high, __low)
>> +#define REG_GENMASK16(__high, __low)	GENMASK_U16(__high, __low)
>> +#define REG_GENMASK8(__high, __low)	GENMASK_U8(__high, __low)
>
>I was hoping to use directly GENMASK_U*() functions.

this would be something to be done on top on each drivers' trees, not
something to apply here.

Lucas De Marchi

>
>Andi


More information about the dri-devel mailing list