r600g: remove now-unused r600_context::fenced_bo

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Marek Olšák
2011-08-03 02:24:15 +02:00
parent 591d8c3350
commit 9865b1ec8c
3 changed files with 1 additions and 9 deletions
+1 -1
View File
@@ -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;
@@ -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);
@@ -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);