ws/i965: rename and change sense of I965_SEND_CMD to BRW_NO_HW
authorKeith Whitwell <keithw@vmware.com>
Mon, 30 Nov 2009 14:20:33 +0000 (14:20 +0000)
committerKeith Whitwell <keithw@vmware.com>
Mon, 30 Nov 2009 15:37:27 +0000 (15:37 +0000)
src/gallium/winsys/drm/i965/gem/i965_drm_api.c
src/gallium/winsys/drm/i965/gem/i965_drm_winsys.h

index 5d5dfdae464dbee8c64fd10173a0de37c14d4a62..6279422067e38940ebbfb545c92eb4d8cf5b7ea7 100644 (file)
@@ -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);
 }
index 5b556b18f0ffbce812f50b204c3ea50430fc8846..235eaf68fa2eafe9bd29daac1fb0444e206ff2ed 100644 (file)
@@ -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 */