[Intel-gfx] [PATCH] drm/i915/selftest: fix 64K alignment in igt_write_huge
Matthew Auld
matthew.william.auld at gmail.com
Mon Oct 29 19:50:52 UTC 2018
On Mon, 29 Oct 2018 at 19:40, Chris Wilson <chris at chris-wilson.co.uk> wrote:
>
> Quoting Matthew Auld (2018-10-29 19:36:37)
> > When using softpin it's not enough to just pad the vma size, we also
> > need to ensure the vma offset is at the start of the pt boundary, if we
> > plan to utilize 64K pages.
>
> For testing purposes, we have to assume the worst as well as best cases.
> Looks like we could extend this to cover both aligned and unaligned
> offsets. Or have I missed the purpose of the test?
Yup, even better.
> -Chris
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/intel-gfx
More information about the Intel-gfx
mailing list