diff options
author | Marek Olšák <[email protected]> | 2012-01-30 06:21:07 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2012-01-31 23:12:30 +0100 |
commit | 0813e58a3e41faf6f2072d034dfdc6198a3a1fee (patch) | |
tree | 5cfa9a22c9949ab6acc4fefe02c8dc5449961b95 /src/gallium/drivers/r600/r600_pipe.c | |
parent | 2fe521fa419ee153afb6295289dc5e95d3229858 (diff) |
r600g: rework cache flushing
This also significantly improves the RV670 flush by using the CB1 flush
*always* and also DEST_BASE_0_ENA, which appears to magically fix some tests.
I am not entirely sure, but it's possible that RV670 flushing is fixed
completely.
v2: fix cayman by flushing texture cache instead of vertex cache
Thanks to Dave Airlie for testing Cayman.
Diffstat (limited to 'src/gallium/drivers/r600/r600_pipe.c')
-rw-r--r-- | src/gallium/drivers/r600/r600_pipe.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_pipe.c b/src/gallium/drivers/r600/r600_pipe.c index b92762526cd..351ecfe8437 100644 --- a/src/gallium/drivers/r600/r600_pipe.c +++ b/src/gallium/drivers/r600/r600_pipe.c @@ -232,6 +232,8 @@ static struct pipe_context *r600_create_context(struct pipe_screen *screen, void rctx->context.create_video_decoder = vl_create_decoder; rctx->context.create_video_buffer = vl_video_buffer_create; + r600_init_common_atoms(rctx); + switch (rctx->chip_class) { case R600: case R700: |