intel: Remove dead allow_batchbuffer param.
authorEric Anholt <eric@anholt.net>
Thu, 11 Sep 2008 16:50:47 +0000 (09:50 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 12 Sep 2008 20:49:23 +0000 (13:49 -0700)
src/mesa/drivers/dri/intel/intel_screen.c
src/mesa/drivers/dri/intel/intel_screen.h

index 1de1ac49ea568fa870db6db0131c668e809ed607..de098e5b723f2c05fd46bd826b7f7de225372b9a 100644 (file)
@@ -298,11 +298,6 @@ static GLboolean intelInitDriver(__DRIscreenPrivate *sPriv)
                        &intelScreen->irq_active))
       return GL_FALSE;
 
-   /* Determine if batchbuffers are allowed */
-   if (!intel_get_param(sPriv, I915_PARAM_ALLOW_BATCHBUFFER,
-                       &intelScreen->allow_batchbuffer))
-      return GL_FALSE;
-
    sPriv->extensions = intelScreenExtensions;
 
    return GL_TRUE;
index daf2ab4c5826b910cc6ce6d5ad4f9224ee1abd53..fc913da5bfe2f6ee3b43ace41987b89364e581a2 100644 (file)
@@ -74,7 +74,6 @@ typedef struct
    int drmMinor;
 
    int irq_active;
-   int allow_batchbuffer;
 
    GLboolean no_hw;