diff options
author | Marek Olšák <[email protected]> | 2014-04-11 22:40:14 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2014-04-16 14:02:51 +0200 |
commit | 3e9d2cbca2b6b65f302adeadbfc049cc51c14c46 (patch) | |
tree | 1d391b1b94ffe2523f15fdb7a2e129f505693366 /src/gallium/drivers/radeon | |
parent | dd72c327e967e0df7d5c59d6cde1a431e09e488e (diff) |
r600g: remove redundant r600_flush_dma_from_winsys
Reviewed-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeon')
-rw-r--r-- | src/gallium/drivers/radeon/r600_pipe_common.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/gallium/drivers/radeon/r600_pipe_common.c b/src/gallium/drivers/radeon/r600_pipe_common.c index efb78cf0caa..92f43deba54 100644 --- a/src/gallium/drivers/radeon/r600_pipe_common.c +++ b/src/gallium/drivers/radeon/r600_pipe_common.c @@ -67,13 +67,6 @@ static void r600_flush_dma_ring(void *ctx, unsigned flags) rctx->rings.dma.flushing = false; } -static void r600_flush_dma_from_winsys(void *ctx, unsigned flags) -{ - struct r600_common_context *rctx = (struct r600_common_context *)ctx; - - rctx->rings.dma.flush(rctx, flags); -} - bool r600_common_context_init(struct r600_common_context *rctx, struct r600_common_screen *rscreen) { @@ -110,7 +103,7 @@ bool r600_common_context_init(struct r600_common_context *rctx, if (rscreen->info.r600_has_dma && !(rscreen->debug_flags & DBG_NO_ASYNC_DMA)) { rctx->rings.dma.cs = rctx->ws->cs_create(rctx->ws, RING_DMA, - r600_flush_dma_from_winsys, + r600_flush_dma_ring, rctx, NULL); rctx->rings.dma.flush = r600_flush_dma_ring; } |