From 788750fc8cb2647d616aad75b3255d497b356f36 Mon Sep 17 00:00:00 2001 From: Alan Hourihane Date: Tue, 24 Jan 2006 21:16:54 +0000 Subject: put back some of Dave's code related to vblank support - accidentally reverted. --- shared-core/i915_dma.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'shared-core') diff --git a/shared-core/i915_dma.c b/shared-core/i915_dma.c index 5418819a..1de8cac1 100644 --- a/shared-core/i915_dma.c +++ b/shared-core/i915_dma.c @@ -679,6 +679,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); -- cgit v1.2.3