summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_state.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2016-04-22 22:03:24 +0200
committerMarek Olšák <[email protected]>2016-05-10 17:20:09 +0200
commit498a40cae8023a8461e7cfe95cb837a0aa459337 (patch)
tree6606e6dd71e33ed35c7ff0eddd627dc4b710fd64 /src/gallium/drivers/radeonsi/si_state.c
parent3af28e558fb9cf71edd83e8cc9c3ddc33373cc93 (diff)
radeonsi: only expose *_init_*dma_functions from (S)DMA files
just normalizing the interfaces Reviewed-by: Alex Deucher <[email protected]> Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_state.c')
-rw-r--r--src/gallium/drivers/radeonsi/si_state.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/gallium/drivers/radeonsi/si_state.c b/src/gallium/drivers/radeonsi/si_state.c
index c4af77e149c..8eb2b3dd6b0 100644
--- a/src/gallium/drivers/radeonsi/si_state.c
+++ b/src/gallium/drivers/radeonsi/si_state.c
@@ -3387,12 +3387,6 @@ void si_init_state_functions(struct si_context *sctx)
sctx->b.b.draw_vbo = si_draw_vbo;
- if (sctx->b.chip_class >= CIK) {
- sctx->b.dma_copy = cik_sdma_copy;
- } else {
- sctx->b.dma_copy = si_dma_copy;
- }
-
si_init_config(sctx);
}