diff options
author | Keith Whitwell <[email protected]> | 2009-11-30 14:20:33 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2009-11-30 15:37:27 +0000 |
commit | 1dfdc0a615f378cb92e45d878d778bf01dffaa66 (patch) | |
tree | 98402c36ac0b6cb30b00ddf42b8cf598cd259000 /src/gallium | |
parent | cddc7e3a9cd321247c2298ef1b94cced1122a8e5 (diff) |
ws/i965: rename and change sense of I965_SEND_CMD to BRW_NO_HW
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/winsys/drm/i965/gem/i965_drm_api.c | 3 | ||||
-rw-r--r-- | src/gallium/winsys/drm/i965/gem/i965_drm_winsys.h | 1 |
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 5d5dfdae464..6279422067e 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 5b556b18f0f..235eaf68fa2 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 */ |