mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-04 06:38:19 +02:00
radeon: unmap in case of two dma regions being used for one cmdbuf
This commit is contained in:
parent
7e98907eb8
commit
3713a7accf
1 changed files with 1 additions and 0 deletions
|
|
@ -2446,6 +2446,7 @@ void radeonRefillCurrentDmaRegion(radeonContextPtr rmesa, int size)
|
|||
}
|
||||
|
||||
if (rmesa->dma.current) {
|
||||
radeon_bo_unmap(rmesa->dma.current);
|
||||
radeon_bo_unref(rmesa->dma.current);
|
||||
rmesa->dma.current = 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue