i965/drm: Use ALIGN, not ROUND_UP_TO.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 22 Mar 2017 18:12:27 +0000 (11:12 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 10 Apr 2017 21:31:23 +0000 (14:31 -0700)
commitc5cdb0f40574344f1b606fb6978b3714ac82d52a
tree2da3b1ce3f25f45bf95f7dccd3df25ab02c88608
parent1d476e64e5e592d0bb85012e408829d54ad36fa7
i965/drm: Use ALIGN, not ROUND_UP_TO.

ROUND_UP_TO handles a NPOT alignment, but all the alignments we use
are power of two anyway, so there's no need.

Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Acked-by: Jason Ekstrand <jason@jlekstrand.net>
src/mesa/drivers/dri/i965/intel_bufmgr_gem.c