[Intel-gfx] [PATCH i-g-t 5/8] lib/igt_draw: Use igt_bitops

Joonas Lahtinen joonas.lahtinen at linux.intel.com
Thu Feb 9 07:38:06 UTC 2017


On ke, 2017-02-08 at 18:18 -0800, Michel Thierry wrote:
> Moving bit operations to the new header file.
> 
> Signed-off-by: Michel Thierry <michel.thierry at intel.com>

> #define BIT_GET(num, bit)      (((num) >> (bit)) & 1)

Maybe name the args (val, nr) for consistency with BIT()

Reviewed-by: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>

Regards, Joonas
-- 
Joonas Lahtinen
Open Source Technology Center
Intel Corporation


More information about the Intel-gfx mailing list