On Mon, Apr 03, 2017 at 11:49:16AM +0300, Joonas Lahtinen wrote: > On pe, 2017-03-31 at 15:10 +0100, Chris Wilson wrote: > > Rebrand the current (pointer | bits) pack/unpack utility macros as > > explicit bit twiddling for PAGE_SIZE so that we can use the more > > flexible underlying macros for different bits. > > > > Signed-off-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> > > Pass by pointer when the values get written to. Also, I'm rather unsure > how intuitive ptr_unpack_bits is, could be worth splitting to two > lines. I'm comfortable with it being a function-like macro returning two outs, the users look reasonable. So I'll stick with that for the moment. -Chris -- Chris Wilson, Intel Open Source Technology Centre _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx