i965/drm: Make alignment parameter a uint64_t.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 11 Apr 2017 06:55:21 +0000 (23:55 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 12 Apr 2017 04:07:45 +0000 (21:07 -0700)
commitc85d6832fda15f59df786c5843e544ba0bb47b10
tree351d7af16c28a6727b043405433f532e980f7a82
parent444ab8126d38bfb236b272226f0a57dafd0ac6de
i965/drm: Make alignment parameter a uint64_t.

Theoretically, with a 48-bit address space, we could have buffers
with an alignment of >= 4GB.  It's a bit silly, but the exec_object
structs (drm_i915_gem_exec_object2) use a __u64 for this, so we may
as well use the same type as the kernel API.

Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
src/mesa/drivers/dri/i965/brw_bufmgr.c
src/mesa/drivers/dri/i965/brw_bufmgr.h