summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gallium/winsys/drm/i965/gem/i965_drm_api.c3
-rw-r--r--src/gallium/winsys/drm/i965/gem/i965_drm_winsys.h1
2 files changed, 1 insertions, 3 deletions
diff --git a/src/gallium/winsys/drm/i965/gem/i965_drm_api.c b/src/gallium/winsys/drm/i965/gem/i965_drm_api.c
index 5d5dfdae46..6279422067 100644
--- a/src/gallium/winsys/drm/i965/gem/i965_drm_api.c
+++ b/src/gallium/winsys/drm/i965/gem/i965_drm_api.c
@@ -198,8 +198,7 @@ i965_libdrm_create_screen(struct drm_api *api, int drmFD,
idws->gem = drm_intel_bufmgr_gem_init(idws->fd, BRW_BATCH_SIZE);
drm_intel_bufmgr_gem_enable_reuse(idws->gem);
- idws->dump_cmd = debug_get_bool_option("I965_DUMP_CMD", FALSE);
- idws->send_cmd = debug_get_bool_option("I965_SEND_CMD", FALSE);
+ idws->send_cmd = !debug_get_bool_option("BRW_NO_HW", FALSE);
return brw_create_screen(&idws->base, deviceID);
}
diff --git a/src/gallium/winsys/drm/i965/gem/i965_drm_winsys.h b/src/gallium/winsys/drm/i965/gem/i965_drm_winsys.h
index 5b556b18f0..235eaf68fa 100644
--- a/src/gallium/winsys/drm/i965/gem/i965_drm_winsys.h
+++ b/src/gallium/winsys/drm/i965/gem/i965_drm_winsys.h
@@ -19,7 +19,6 @@ struct i965_libdrm_winsys
struct brw_winsys_screen base;
drm_intel_bufmgr *gem;
- boolean dump_cmd;
boolean send_cmd;
int fd; /**< Drm file discriptor */