diff options
author | Marek Olšák <[email protected]> | 2018-04-01 15:07:58 -0400 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2018-04-05 15:34:58 -0400 |
commit | 2b70dd8c8aad471c7a9ad06ddfe62ab765f7c650 (patch) | |
tree | 9ef5d770a003bc56210cc45073f625370cb3b753 /src/gallium/drivers/radeonsi/si_pm4.c | |
parent | f7de8686de823f523ee53f354063d313f9dcecbe (diff) |
radeonsi: flatten / remove struct r600_ring
Acked-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_pm4.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_pm4.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/drivers/radeonsi/si_pm4.c b/src/gallium/drivers/radeonsi/si_pm4.c index 1fe2fb74604..0705b99cdd2 100644 --- a/src/gallium/drivers/radeonsi/si_pm4.c +++ b/src/gallium/drivers/radeonsi/si_pm4.c @@ -123,10 +123,10 @@ void si_pm4_free_state(struct si_context *sctx, void si_pm4_emit(struct si_context *sctx, struct si_pm4_state *state) { - struct radeon_winsys_cs *cs = sctx->b.gfx.cs; + struct radeon_winsys_cs *cs = sctx->b.gfx_cs; for (int i = 0; i < state->nbo; ++i) { - radeon_add_to_buffer_list(&sctx->b, &sctx->b.gfx, state->bo[i], + radeon_add_to_buffer_list(&sctx->b, sctx->b.gfx_cs, state->bo[i], state->bo_usage[i], state->bo_priority[i]); } @@ -135,7 +135,7 @@ void si_pm4_emit(struct si_context *sctx, struct si_pm4_state *state) } else { struct r600_resource *ib = state->indirect_buffer; - radeon_add_to_buffer_list(&sctx->b, &sctx->b.gfx, ib, + radeon_add_to_buffer_list(&sctx->b, sctx->b.gfx_cs, ib, RADEON_USAGE_READ, RADEON_PRIO_IB2); |