summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/radeonsi_pipe.c
diff options
context:
space:
mode:
authorChristian Koenig <[email protected]>2012-09-20 12:00:30 +0200
committerChristian König <[email protected]>2012-09-26 11:05:27 +0200
commit3c51c60ed00b5777cb5c55664c2da8e010a4f385 (patch)
treebeded94d1a55e2832dc129cfa0ec0d92bed2edc9 /src/gallium/drivers/radeonsi/radeonsi_pipe.c
parentfcc9c125f45df941dbd7e82c56d99c127255bc4d (diff)
radeonsi: get rid of evergreen_hw_context.c
Signed-off-by: Christian Koenig <[email protected]> Reviewed-by: Michel Dänzer <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/radeonsi_pipe.c')
-rw-r--r--src/gallium/drivers/radeonsi/radeonsi_pipe.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/gallium/drivers/radeonsi/radeonsi_pipe.c b/src/gallium/drivers/radeonsi/radeonsi_pipe.c
index 03fe88dad2c..7c48db7ec97 100644
--- a/src/gallium/drivers/radeonsi/radeonsi_pipe.c
+++ b/src/gallium/drivers/radeonsi/radeonsi_pipe.c
@@ -219,10 +219,9 @@ static struct pipe_context *r600_create_context(struct pipe_screen *screen, void
switch (rctx->chip_class) {
case TAHITI:
si_init_state_functions(rctx);
- if (si_context_init(rctx)) {
- r600_destroy_context(&rctx->context);
- return NULL;
- }
+ LIST_INITHEAD(&rctx->active_query_list);
+ rctx->cs = rctx->ws->cs_create(rctx->ws);
+ rctx->max_db = 8;
si_init_config(rctx);
break;
default: