[Intel-gfx] [PATCH v3 1/3] drm/i915: introduce REG_BIT() and REG_GENMASK() to define register contents

Michal Wajdeczko michal.wajdeczko at intel.com
Thu Feb 28 11:12:06 UTC 2019


On Thu, 28 Feb 2019 11:12:43 +0100, Chris Wilson  
<chris at chris-wilson.co.uk> wrote:

> But I think the central tenant is that we want to use the common naming
> scheme so that we can trivially go from GENMASK to REG_GENMASK/GENMASK32
> and that other people reading our code already know the language (plus
> we want these to be part of include/linux and out of our hair!)

That's valid point.

Thanks,
Michal


More information about the Intel-gfx mailing list