aboutsummaryrefslogtreecommitdiff
path: root/shared-core/i915_dma.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2005-12-28 23:49:59 +0000
committerDave Airlie <airlied@linux.ie>2005-12-28 23:49:59 +0000
commitb14d15ac41c0af5093e37a47124f0995e10c3016 (patch)
tree182ae8bec302408b70fa4631805d894b6d1f6f11 /shared-core/i915_dma.c
parent4c988520a851ed42c1dd9e9f7cda2e79f5a23fc7 (diff)
Add vblank support to i915 DRM..
Diffstat (limited to 'shared-core/i915_dma.c')
-rw-r--r--shared-core/i915_dma.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/shared-core/i915_dma.c b/shared-core/i915_dma.c
index ee8dbcd7..3d2eae2b 100644
--- a/shared-core/i915_dma.c
+++ b/shared-core/i915_dma.c
@@ -664,6 +664,9 @@ static int i915_getparam(DRM_IOCTL_ARGS)
case I915_PARAM_ALLOW_BATCHBUFFER:
value = dev_priv->allow_batchbuffer ? 1 : 0;
break;
+ case I915_PARAM_LAST_DISPATCH:
+ value = READ_BREADCRUMB(dev_priv);
+ break;
default:
DRM_ERROR("Unkown parameter %d\n", param.param);
return DRM_ERR(EINVAL);