Revert "gallium/radeon: count contexts"
This reverts commit b403eb3385.
Not needed.
This commit is contained in:
@@ -471,7 +471,6 @@ bool r600_common_context_init(struct r600_common_context *rctx,
|
||||
rctx->dma.flush = r600_flush_dma_ring;
|
||||
}
|
||||
|
||||
p_atomic_inc(&rscreen->num_contexts);
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -479,8 +478,6 @@ void r600_common_context_cleanup(struct r600_common_context *rctx)
|
||||
{
|
||||
unsigned i,j;
|
||||
|
||||
p_atomic_dec(&rctx->screen->num_contexts);
|
||||
|
||||
/* Release DCC stats. */
|
||||
for (i = 0; i < ARRAY_SIZE(rctx->dcc_stats); i++) {
|
||||
assert(!rctx->dcc_stats[i].query_active);
|
||||
|
||||
@@ -363,7 +363,6 @@ struct r600_common_screen {
|
||||
uint64_t debug_flags;
|
||||
bool has_cp_dma;
|
||||
bool has_streamout;
|
||||
int num_contexts;
|
||||
|
||||
/* Texture filter settings. */
|
||||
int force_aniso; /* -1 = disabled */
|
||||
|
||||
Reference in New Issue
Block a user