From: Dave Airlie Date: Wed, 11 Feb 2009 09:03:56 +0000 (+1000) Subject: radeon: unmap in case of two dma regions being used for one cmdbuf X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3713a7accf8e10049c878ae62f6bc199ef1566eb;p=mesa.git radeon: unmap in case of two dma regions being used for one cmdbuf --- diff --git a/src/mesa/drivers/dri/radeon/common_misc.c b/src/mesa/drivers/dri/radeon/common_misc.c index 333db053bbb..9456f2a4389 100644 --- 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; }