[Intel-gfx] [PATCH 15/19] drm/i915/selftests: basic huge page tests

Chris Wilson chris at chris-wilson.co.uk
Thu Jun 22 14:17:04 UTC 2017


Quoting Matthew Auld (2017-06-21 21:33:41)
> Signed-off-by: Matthew Auld <matthew.auld at intel.com>
> Cc: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>
> Cc: Chris Wilson <chris at chris-wilson.co.uk>

From my read through, we are only doing ppgtt operations. I think will
be useful to try this as a mock test (as well) so that we can exercise
unlikely combinations of device support for page sizes.

> diff --git a/drivers/gpu/drm/i915/selftests/i915_live_selftests.h b/drivers/gpu/drm/i915/selftests/i915_live_selftests.h
> index 18b174d855ca..6b49cbb49535 100644
> --- a/drivers/gpu/drm/i915/selftests/i915_live_selftests.h
> +++ b/drivers/gpu/drm/i915/selftests/i915_live_selftests.h
> @@ -15,5 +15,6 @@ selftest(objects, i915_gem_object_live_selftests)
>  selftest(dmabuf, i915_gem_dmabuf_live_selftests)
>  selftest(coherency, i915_gem_coherency_live_selftests)
>  selftest(gtt, i915_gem_gtt_live_selftests)
> +selftest(huge, i915_gem_huge_page_live_selftests)

Call it hugepages. huge is a little to vague.
s/fake_huge_paged_object/fake_huge_pages_object/
-Chris


More information about the Intel-gfx mailing list