From ca47fa90b73d0eac73fb7d1ba712d81e180eae7d Mon Sep 17 00:00:00 2001 From: Jesse Barnes Date: Tue, 12 Jun 2007 13:35:41 -0700 Subject: Update vblank code: - move pre/post modeset ioctl to core - fixup i915 buffer swap - fix outstanding signal count code - create new core vblank init routine - test (works with glxgears) - simplify i915 interrupt handler --- shared-core/i915_dma.c | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'shared-core/i915_dma.c') diff --git a/shared-core/i915_dma.c b/shared-core/i915_dma.c index 73972d56..ebb184cc 100644 --- a/shared-core/i915_dma.c +++ b/shared-core/i915_dma.c @@ -833,20 +833,6 @@ static int i915_setparam(DRM_IOCTL_ARGS) case I915_SETPARAM_ALLOW_BATCHBUFFER: dev_priv->allow_batchbuffer = param.value; break; - case I915_SETPARAM_PREMODESET: - if (param.value > 1) { - DRM_ERROR("bad crtc\n"); - return -EINVAL; - } - i915_premodeset(dev, param.value); - break; - case I915_SETPARAM_POSTMODESET: - if (param.value > 1) { - DRM_ERROR("bad crtc\n"); - return -EINVAL; - } - i915_postmodeset(dev, param.value); - break; default: DRM_ERROR("unknown parameter %d\n", param.param); return DRM_ERR(EINVAL); -- cgit v1.2.3