diff options
author | Michel Dänzer <[email protected]> | 2015-05-26 16:27:15 +0900 |
---|---|---|
committer | Michel Dänzer <[email protected]> | 2015-06-08 18:13:22 +0900 |
commit | 56e38edc960bf08213cdb0282838ccec3e5ea10e (patch) | |
tree | cc8c752c12a518d6c202f3352ef04ac065132a60 /src/gallium/drivers/radeonsi/si_pipe.h | |
parent | 79f2acb8f89704c609dd87d969353a506e03b05e (diff) |
radeonsi: Add CIK SDMA support
Based on the corresponding SI support. Same as that, this is currently
only enabled for one-dimensional buffer copies due to issues with
multi-dimensional SDMA copies.
Reviewed-by: Marek Olšák <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_pipe.h')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_pipe.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_pipe.h b/src/gallium/drivers/radeonsi/si_pipe.h index f98c7a83744..2d67342f160 100644 --- a/src/gallium/drivers/radeonsi/si_pipe.h +++ b/src/gallium/drivers/radeonsi/si_pipe.h @@ -237,6 +237,15 @@ struct si_context { unsigned spi_tmpring_size; }; +/* cik_sdma.c */ +void cik_sdma_copy(struct pipe_context *ctx, + struct pipe_resource *dst, + unsigned dst_level, + unsigned dstx, unsigned dsty, unsigned dstz, + struct pipe_resource *src, + unsigned src_level, + const struct pipe_box *src_box); + /* si_blit.c */ void si_init_blit_functions(struct si_context *sctx); void si_flush_depth_textures(struct si_context *sctx, |