summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2009-12-14 22:29:36 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2009-12-14 22:29:36 +0000
commit3fca349cd41b3a4efc1a1adfac9baafce44d7e2a (patch)
treef502abd74b15c79b702ca0701bdc8ab86f87f58d /sys/dev
parent44ac231887907592b7627ceab5569a53e94061b8 (diff)
Add a dummy I915_PARAM_NUM_FENCES_AVAIL parameter for Mesa 7.5.
ok oga@ during h2k9.
Diffstat (limited to 'sys/dev')
-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;