diff options
author | Marek Olšák <[email protected]> | 2013-06-30 19:57:59 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2013-07-08 20:25:18 +0200 |
commit | 7948ed1250cae78ae1b22dbce4ab23aceacc6159 (patch) | |
tree | c704c3ec79ddc8e80e8db5c103521c24cfe189c5 /src/gallium/drivers/r600/r600_pipe.h | |
parent | 1b40398d024d2ac5c8e8b78d0f4941e2a007de2c (diff) |
r600g: only flush the caches that need to be flushed during CP DMA operations
This should increase performance if constant uploads are done with the CP DMA,
because only the cache that needs to be flushed is flushed.
Reviewed-by: Alex Deucher <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/r600_pipe.h')
-rw-r--r-- | src/gallium/drivers/r600/r600_pipe.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_pipe.h b/src/gallium/drivers/r600/r600_pipe.h index 66ea258647d..d5f54c4482e 100644 --- a/src/gallium/drivers/r600/r600_pipe.h +++ b/src/gallium/drivers/r600/r600_pipe.h @@ -834,6 +834,8 @@ boolean r600_dma_blit(struct pipe_context *ctx, const struct pipe_box *src_box); void r600_emit_streamout_begin(struct r600_context *ctx, struct r600_atom *atom); void r600_emit_streamout_end(struct r600_context *ctx); +void r600_flag_resource_cache_flush(struct r600_context *rctx, + struct pipe_resource *res); /* * evergreen_hw_context.c |