]> 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)
commit1764efe730100cfd50b0e8af0394338d079868d2
treebd1a0f66039c9cfa88857451917898c58f0a190b
parent6f8db4d9ee1113c546c3936d3275f00d23008f10
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