summaryrefslogtreecommitdiff
path: root/sys/dev/pci/drm/i915_dma.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pci/drm/i915_dma.c')
-rw-r--r--sys/dev/pci/drm/i915_dma.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/pci/drm/i915_dma.c b/sys/dev/pci/drm/i915_dma.c
index 4b88d860158..0d59273649a 100644
--- a/sys/dev/pci/drm/i915_dma.c
+++ b/sys/dev/pci/drm/i915_dma.c
@@ -714,6 +714,9 @@ int i915_getparam(struct drm_device *dev, void *data,
case I915_PARAM_CHIPSET_ID:
value = dev_priv->pci_device;
break;
+ case I915_PARAM_HAS_GEM:
+ value = 0;
+ break;
default:
DRM_ERROR("Unknown parameter %d\n", param->param);
return EINVAL;