]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8d0a3d34ad55c0d841ae794b585ec691f6d4a630
treebd1a0f66039c9cfa88857451917898c58f0a190b
parentc46c9d0b01f266c81ef652e2717f0f6ac10d664b
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