]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Add new vGPU cap info bit VGT_CAPS_HUGE_GTT
authorChangbin Du <changbin.du@intel.com>
Tue, 8 May 2018 09:07:05 +0000 (17:07 +0800)
committerJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
Tue, 5 Jun 2018 13:57:01 +0000 (16:57 +0300)
commit89794bb5afb33eb38efa60b5fe79edf31d60b24d
tree7cb2033bcadfeb82d0cdc1bb1b7b05d26946b03e
parentf14f1ebfb1d361cbf55a4d7a7b8ab5bdebaa4046
drm/i915: Add new vGPU cap info bit VGT_CAPS_HUGE_GTT

This adds a new vGPU cap info bit VGT_CAPS_HUGE_GTT, which is to detect
whether the host supports shadowing of huge gtt pages. If host does
support it, remove the page sizes restriction for vGPU.

Signed-off-by: Changbin Du <changbin.du@intel.com>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1525770425-5373-1-git-send-email-changbin.du@intel.com
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/i915_pvinfo.h
drivers/gpu/drm/i915/i915_vgpu.h