diff options
author | Alan Hourihane <alanh@fairlite.demon.co.uk> | 2006-01-24 21:16:54 +0000 |
---|---|---|
committer | Alan Hourihane <alanh@fairlite.demon.co.uk> | 2006-01-24 21:16:54 +0000 |
commit | 788750fc8cb2647d616aad75b3255d497b356f36 (patch) | |
tree | dd219366b12247330ce3abf912f144381138309b | |
parent | 3e8918adc8ba9405e9f496d50a3f4060b31d1dfb (diff) |
put back some of Dave's code related to vblank support - accidentally
reverted.
-rw-r--r-- | shared-core/i915_dma.c | 3 |
1 files changed, 3 insertions, 0 deletions
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); |