projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e98907
)
radeon: unmap in case of two dma regions being used for one cmdbuf
author
Dave Airlie
<airlied@redhat.com>
Wed, 11 Feb 2009 09:03:56 +0000
(19:03 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Wed, 11 Feb 2009 09:03:56 +0000
(19:03 +1000)
src/mesa/drivers/dri/radeon/common_misc.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/radeon/common_misc.c
b/src/mesa/drivers/dri/radeon/common_misc.c
index 333db053bbbe07cd694e2073834a180e1a34d3cb..9456f2a43893cee3d177884a5a603f5e8d4ce9d3 100644
(file)
--- a/
src/mesa/drivers/dri/radeon/common_misc.c
+++ b/
src/mesa/drivers/dri/radeon/common_misc.c
@@
-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;
}