[Mesa-dev] [PATCH v2] intel/ppgtt: memory address alignment
Chris Wilson
chris at chris-wilson.co.uk
Tue Jul 24 12:42:04 UTC 2018
Quoting Lionel Landwerlin (2018-07-24 13:34:57)
> That looks correct to me (and we do the same in Anv).
> Also a bit baffled that we haven't run into issues earlier :(
All the allocations should be in multiples of page size, alignment less
than a page size should be a no-op. Tracking down who doesn't think
IS_ALIGNED(bo->size, PAGE_SIZE) would be interesting.
-Chris
More information about the mesa-dev
mailing list