]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/selftests: Query the vm under test for hugepage support
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 17 Jan 2019 23:05:12 +0000 (23:05 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 18 Jan 2019 09:07:06 +0000 (09:07 +0000)
commit691d59a1eb1715c4b5f20916895152f7e4ec006f
tree7157f8a642313ba5b039f40260be980ecee46402
parenta9a55aad3e28fce69388d747d7f7d3140b4ac81c
drm/i915/selftests: Query the vm under test for hugepage support

Since we have the ppgtt we want to test, we can ask it directly if it is
suitable for the hugepage test we intend to undertake.

v2: Not everyone has full-ppgtt

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