summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/dev/pci/drm/i915/i915_dma.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/i915/i915_dma.c b/sys/dev/pci/drm/i915/i915_dma.c
index 89bb3920210..117defd19b3 100644
--- a/sys/dev/pci/drm/i915/i915_dma.c
+++ b/sys/dev/pci/drm/i915/i915_dma.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: i915_dma.c,v 1.2 2013/03/20 12:37:41 jsg Exp $ */
+/* $OpenBSD: i915_dma.c,v 1.3 2013/03/27 09:26:45 jsg Exp $ */
/* i915_dma.c -- DMA support for the I915 -*- linux-c -*-
*/
/*
@@ -106,6 +106,9 @@ i915_getparam(struct inteldrm_softc *dev_priv, void *data)
return EINVAL;
#endif
break;
+ case I915_PARAM_HAS_COHERENT_RINGS:
+ value = 1;
+ break;
case I915_PARAM_HAS_EXEC_CONSTANTS:
value = INTEL_INFO(dev)->gen >= 4;
break;