]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: enable platform support for 2M pages
authorMatthew Auld <matthew.auld@intel.com>
Fri, 6 Oct 2017 22:18:33 +0000 (23:18 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Sat, 7 Oct 2017 09:12:05 +0000 (10:12 +0100)
commita883241c3922000b21b58b5740c55badfe09940f
treea5d192df0631b4552d7dc0a8a55ca9686fa79963
parentf1f3f98272b9bb1ba87c2ccbc811b038574cec43
drm/i915: enable platform support for 2M pages

For gen8+ platforms which support the 48b PPGTT, enable platform level
support for 2M pages. Also enable for mock testing.

Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20171006145041.21673-22-matthew.auld@intel.com
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20171006221833.32439-21-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_pci.c
drivers/gpu/drm/i915/selftests/mock_gem_device.c