diff options
author | Marek Olšák <[email protected]> | 2011-08-03 02:24:15 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2011-08-16 09:15:10 +0200 |
commit | 9865b1ec8c88154d8ceb982c42844b68e9224217 (patch) | |
tree | e78cccef3e79320f08c6603bd1c2059a2f9d06d8 /src/gallium | |
parent | 591d8c33502463b816428d18ca779faa282a5a25 (diff) |
r600g: remove now-unused r600_context::fenced_bo
Reviewed-by: Alex Deucher <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/r600/r600.h | 2 | ||||
-rw-r--r-- | src/gallium/winsys/r600/drm/evergreen_hw_context.c | 4 | ||||
-rw-r--r-- | src/gallium/winsys/r600/drm/r600_hw_context.c | 4 |
3 files changed, 1 insertions, 9 deletions
diff --git a/src/gallium/drivers/r600/r600.h b/src/gallium/drivers/r600/r600.h index 7e704730122..043215b3ec7 100644 --- a/src/gallium/drivers/r600/r600.h +++ b/src/gallium/drivers/r600/r600.h @@ -254,11 +254,11 @@ struct r600_context { unsigned creloc; struct r600_reloc *reloc; struct radeon_bo **bo; + u32 *pm4; struct list_head query_list; unsigned num_query_running; unsigned backend_mask; - struct list_head fenced_bo; unsigned max_db; /* for OQ */ unsigned num_dest_buffers; unsigned flags; diff --git a/src/gallium/winsys/r600/drm/evergreen_hw_context.c b/src/gallium/winsys/r600/drm/evergreen_hw_context.c index 94206d5568b..df89047ebc5 100644 --- a/src/gallium/winsys/r600/drm/evergreen_hw_context.c +++ b/src/gallium/winsys/r600/drm/evergreen_hw_context.c @@ -1008,13 +1008,9 @@ int evergreen_context_init(struct r600_context *ctx, struct radeon *radeon) r600_init_cs(ctx); /* save 16dwords space for fence mecanism */ ctx->pm4_ndwords -= 16; - ctx->max_db = 8; - LIST_INITHEAD(&ctx->fenced_bo); - r600_get_backend_mask(ctx); - return 0; out_err: r600_context_fini(ctx); diff --git a/src/gallium/winsys/r600/drm/r600_hw_context.c b/src/gallium/winsys/r600/drm/r600_hw_context.c index e125fc82e3c..4d8bb184cbd 100644 --- a/src/gallium/winsys/r600/drm/r600_hw_context.c +++ b/src/gallium/winsys/r600/drm/r600_hw_context.c @@ -934,13 +934,9 @@ int r600_context_init(struct r600_context *ctx, struct radeon *radeon) r600_init_cs(ctx); /* save 16dwords space for fence mecanism */ ctx->pm4_ndwords -= 16; - - LIST_INITHEAD(&ctx->fenced_bo); - ctx->max_db = 4; r600_get_backend_mask(ctx); - return 0; out_err: r600_context_fini(ctx); |