[PATCH] gvt-ro

Chris Wilson chris at chris-wilson.co.uk
Thu Oct 25 10:21:39 UTC 2018


---
 drivers/gpu/drm/i915/i915_gem_gtt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/i915_gem_gtt.c b/drivers/gpu/drm/i915/i915_gem_gtt.c
index 98d9a1eb1ed2..9b6149eef8a7 100644
--- a/drivers/gpu/drm/i915/i915_gem_gtt.c
+++ b/drivers/gpu/drm/i915/i915_gem_gtt.c
@@ -1607,7 +1607,7 @@ static struct i915_hw_ppgtt *gen8_ppgtt_create(struct drm_i915_private *i915)
 	 *
 	 * XXX GVT is not honouring the lack of RW in the PTE bits.
 	 */
-	ppgtt->vm.has_read_only = !intel_vgpu_active(i915);
+	ppgtt->vm.has_read_only = true;
 
 	i915_address_space_init(&ppgtt->vm, i915);
 
-- 
2.19.1



More information about the Intel-gfx-trybot mailing list