drm/i915/selftests: add sanity selftest for huge-GTT-pages
authorMatthew Auld <matthew.auld@intel.com>
Fri, 25 Oct 2019 15:37:28 +0000 (16:37 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 25 Oct 2019 21:56:05 +0000 (22:56 +0100)
commitdd158d71a08510e9a39fd1fd5e1f8e9d404bcb7f
treebd1a0f66039c9cfa88857451917898c58f0a190b
parent11d723ceb2979953711e8a6c74e4786018e0b108
drm/i915/selftests: add sanity selftest for huge-GTT-pages

Now that for all the relevant backends we do randomised testing, we need
to make sure we still sanity check the obvious cases that might blow up,
such that introducing a temporary regression is less likely.  Also
rather than do this for every backend, just limit to our two memory
types: system and local.

Suggested-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20191025153728.23689-7-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gem/selftests/huge_pages.c