ea54a5
From: Dave Airlie <airlied@redhat.com>
ea54a5
Date: Thu, 4 Jun 2015 07:12:20 -0400
ea54a5
Subject: [PATCH] drm: i915: turn off wc mmaps
ea54a5
ea54a5
---
ea54a5
 drivers/gpu/drm/i915/i915_dma.c | 2 +-
ea54a5
 1 file changed, 1 insertion(+), 1 deletion(-)
ea54a5
ea54a5
diff --git a/drivers/gpu/drm/i915/i915_dma.c b/drivers/gpu/drm/i915/i915_dma.c
76c11d
index d2df321ba634..775a5b11a366 100644
ea54a5
--- a/drivers/gpu/drm/i915/i915_dma.c
ea54a5
+++ b/drivers/gpu/drm/i915/i915_dma.c
ea54a5
@@ -151,7 +151,7 @@ static int i915_getparam(struct drm_device *dev, void *data,
ea54a5
 		value = 1;
ea54a5
 		break;
ea54a5
 	case I915_PARAM_MMAP_VERSION:
ea54a5
-		value = 1;
ea54a5
+		value = 0;
ea54a5
 		break;
ea54a5
 	case I915_PARAM_SUBSLICE_TOTAL:
ea54a5
 		value = INTEL_INFO(dev)->subslice_total;