intel-gem: Always build GEM execbuffer code.
authorEric Anholt <eric@anholt.net>
Thu, 31 Jul 2008 21:13:30 +0000 (14:13 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 31 Jul 2008 21:13:30 +0000 (14:13 -0700)
src/mesa/drivers/dri/intel/intel_ioctl.c

index c0a18fa225972262386e551d1208fc2b21664685..58c81766cdd9e406cae2a65aaa1549ff738e35a5 100644 (file)
@@ -150,7 +150,6 @@ intel_batch_ioctl(struct intel_context *intel,
    return 0;
 }
 
-#ifdef TTM_API
 int
 intel_exec_ioctl(struct intel_context *intel,
                 GLuint used,
@@ -184,13 +183,3 @@ intel_exec_ioctl(struct intel_context *intel,
 
    return 0;
 }
-#else
-int
-int intel_exec_ioctl(struct intel_context *intel,
-                    GLuint used,
-                    GLboolean ignore_cliprects, GLboolean allow_unlock,
-                    struct drm_i915_gem_execbuffer *execbuf);
-{
-    return -EINVAL;
-}
-#endif