summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-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 20876a2c2ea..13c881dc7dc 100644
--- a/sys/dev/pci/drm/i915_dma.c
+++ b/sys/dev/pci/drm/i915_dma.c
@@ -546,6 +546,9 @@ int i915_getparam(struct drm_device *dev, void *data,
case I915_PARAM_HAS_GEM:
value = 0;
break;
+ case I915_PARAM_NUM_FENCES_AVAIL:
+ value = 0;
+ break;
default:
DRM_ERROR("Unknown parameter %d\n", param->param);
return EINVAL;