put back some of Dave's code related to vblank support - accidentally
authorAlan Hourihane <alanh@fairlite.demon.co.uk>
Tue, 24 Jan 2006 21:16:54 +0000 (21:16 +0000)
committerAlan Hourihane <alanh@fairlite.demon.co.uk>
Tue, 24 Jan 2006 21:16:54 +0000 (21:16 +0000)
    reverted.

shared-core/i915_dma.c

index 5418819..1de8cac 100644 (file)
@@ -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);