i965: initialize bo_reuse when creating brw_bufmgr
[mesa.git] / src / mesa / drivers / dri / i965 / brw_context.c
index 571618a9cab86bc8ec9df65276e6de79441e2822..cc53f403bf2ad9c9a89f5449ad3a8842a302ae1d 100644 (file)
@@ -846,15 +846,6 @@ brw_process_driconf_options(struct brw_context *brw)
                        brw->driContext->driScreenPriv->myNum,
                        "i965", NULL);
 
-   int bo_reuse_mode = driQueryOptioni(options, "bo_reuse");
-   switch (bo_reuse_mode) {
-   case DRI_CONF_BO_REUSE_DISABLED:
-      break;
-   case DRI_CONF_BO_REUSE_ALL:
-      brw_bufmgr_enable_reuse(brw->bufmgr);
-      break;
-   }
-
    if (INTEL_DEBUG & DEBUG_NO_HIZ) {
        brw->has_hiz = false;
        /* On gen6, you can only do separate stencil with HIZ. */