mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 11:00:11 +01:00
r600g: use async DMA with a non-zero src offset
probably a typo Tested-by: Andreas Boll <andreas.boll.dev@gmail.com> NOTE: This is a candidate for the 9.1 branch.
This commit is contained in:
parent
c77917d35f
commit
9dd18f43a4
1 changed files with 1 additions and 1 deletions
|
|
@ -189,7 +189,7 @@ static void r600_buffer_transfer_unmap(struct pipe_context *pipe,
|
|||
doffset = transfer->box.x;
|
||||
soffset = rtransfer->offset + transfer->box.x % R600_MAP_BUFFER_ALIGNMENT;
|
||||
/* Copy the staging buffer into the original one. */
|
||||
if (rctx->rings.dma.cs && !(size % 4) && !(doffset % 4) && !(soffset)) {
|
||||
if (rctx->rings.dma.cs && !(size % 4) && !(doffset % 4) && !(soffset % 4)) {
|
||||
if (rctx->screen->chip_class >= EVERGREEN) {
|
||||
evergreen_dma_copy(rctx, dst, src, doffset, soffset, size);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue