[PATCH v1 2/2] drm/i915: enable vGPU 48bit full PPGTT support

Tina Zhang tina.zhang at intel.com
Thu May 4 09:35:10 UTC 2017


This patch is to enable the vGPU 48bit full ppgtt support.

Signed-off-by: Tina Zhang <tina.zhang at intel.com>

diff --git a/drivers/gpu/drm/i915/i915_gem_gtt.c b/drivers/gpu/drm/i915/i915_gem_gtt.c
index 8bab4ae..92df4c4 100644
--- a/drivers/gpu/drm/i915/i915_gem_gtt.c
+++ b/drivers/gpu/drm/i915/i915_gem_gtt.c
@@ -141,12 +141,6 @@ int intel_sanitize_enable_ppgtt(struct drm_i915_private *dev_priv,
 	has_full_ppgtt = dev_priv->info.has_full_ppgtt;
 	has_full_48bit_ppgtt = dev_priv->info.has_full_48bit_ppgtt;
 
-	if (intel_vgpu_active(dev_priv)) {
-		/* emulation is too hard */
-		has_full_ppgtt = false;
-		has_full_48bit_ppgtt = false;
-	}
-
 	if (!has_aliasing_ppgtt)
 		return 0;
 
-- 
2.7.4



More information about the intel-gvt-dev mailing list