Skip to contentSkip to conversation

drm/i915: Enable full ppgtt for vgpu

PATCH In review Zhiyuan Lv 1 participant 1 message Aug 20, 2015

Subsystems (2)
lore
Share & tools
lore

Zhiyuan Lv

author
#0 lore raw

PATCH 2/7 drm/i915: Enable full ppgtt for vgpu

The full ppgtt is supported in Intel GVT-g device model. So the restriction can be removed.

---
 drivers/gpu/drm/i915/i915_gem_gtt.c | 3 ---
 1 file changed, 3 deletions(-)
drivers/gpu/drm/i915/i915_gem_gtt.c +0 -3
index ed10e77..823005c 100644
@@ -108,9 +108,6 @@ static int sanitize_enable_ppgtt(struct drm_device *dev, int enable_ppgtt)
 	has_aliasing_ppgtt = INTEL_INFO(dev)->gen >= 6;
 	has_full_ppgtt = INTEL_INFO(dev)->gen >= 7;
 
-	if (intel_vgpu_active(dev))
-		has_full_ppgtt = false; /* emulation is too hard */
-
 	/*
 	 * We don't allow disabling PPGTT for gen9+ as it's a requirement for
 	 * execlists, the sole mechanism available to submit work.
Signature · 6 lines
1.9.1

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx