]> 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)
commit76d51619d6fc62fbf40fe551ce7873b75447e192
tree7157f8a642313ba5b039f40260be980ecee46402
parent07fdcff4b590b8f4f3157ec37121e2ad86025441
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