[Mesa-dev] [PATCH 4/8] i965/drm: Make alignment parameter a uint64_t.

Chris Wilson chris at chris-wilson.co.uk
Tue Apr 11 16:40:29 UTC 2017


On Tue, Apr 11, 2017 at 09:02:47AM -0700, Kenneth Graunke wrote:
> 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.

It's one of those where you'll think of a use for it in a year or two
and be glad it just works :)

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