mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 02:10:11 +01:00
r600g: fix random corruption with CP DMA in TF2
NOTE: This is a candidate for the 9.1 branch.
This commit is contained in:
parent
3447cc4856
commit
aac8138744
1 changed files with 3 additions and 0 deletions
|
|
@ -1159,6 +1159,9 @@ void r600_cp_dma_copy_buffer(struct r600_context *rctx,
|
|||
src_offset += byte_count;
|
||||
dst_offset += byte_count;
|
||||
}
|
||||
|
||||
/* Invalidate the read caches. */
|
||||
rctx->flags |= R600_CONTEXT_INVAL_READ_CACHES;
|
||||
}
|
||||
|
||||
void r600_need_dma_space(struct r600_context *ctx, unsigned num_dw)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue