[Intel-gfx] [PATCH] drm/i915: Eliminate use of PAGE_SIZE as a virtual alignment

Matthew Auld matthew.william.auld at gmail.com
Fri Jul 27 09:30:34 UTC 2018


On 27 July 2018 at 10:18, Chris Wilson <chris at chris-wilson.co.uk> wrote:
> Using PAGE_SIZE for virtual offset alignment is superfluous as it is
> equal to the minimum gtt alignment and so equivalent to 0. It is also
> the wrong value to use as we stopped using physical page constructs for
> the virtual GTT, i.e. it would be preferrable to use I915_GTT_PAGE_SIZE
> and in these cases merely imply I915_GTT_MIN_ALIGNMENT.
>
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
Reviewed-by: Matthew Auld <matthew.auld at intel.com>


More information about the Intel-gfx mailing list