summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/dev/drm/i915_dma.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/drm/i915_dma.c b/sys/dev/drm/i915_dma.c
index fb2bda5..3cf2aef 100644
--- a/sys/dev/drm/i915_dma.c
+++ b/sys/dev/drm/i915_dma.c
@@ -914,7 +914,8 @@ static int i915_getparam(struct drm_device *dev, void *data,
value = dev->pci_device;
break;
case I915_PARAM_HAS_GEM:
- value = 1;
+ /* We need to reset this to 1 once we have GEM */
+ value = 0;
break;
default:
DRM_ERROR("Unknown parameter %d\n", param->param);
OpenPOWER on IntegriCloud