[Intel-gfx] [PATCH] drm/i915/selftest: fix 64K alignment in igt_write_huge

Chris Wilson chris at chris-wilson.co.uk
Mon Oct 29 19:39:53 UTC 2018


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?
-Chris


More information about the Intel-gfx mailing list