[Mesa-dev] [PATCH 15/53] i965/drm: Use ALIGN, not ROUND_UP_TO.
Chris Wilson
chris at chris-wilson.co.uk
Wed Apr 5 10:13:41 UTC 2017
On Tue, Apr 04, 2017 at 05:10:05PM -0700, Kenneth Graunke wrote:
> ROUND_UP_TO handles a NPOT alignment, but all the alignments we use
> are power of two anyway, so there's no need.
Slightly better than the kernel's roundup and round_up!
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
More information about the mesa-dev
mailing list