From 3713a7accf8e10049c878ae62f6bc199ef1566eb Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Wed, 11 Feb 2009 19:03:56 +1000 Subject: [PATCH] radeon: unmap in case of two dma regions being used for one cmdbuf --- src/mesa/drivers/dri/radeon/common_misc.c | 1 + 1 file changed, 1 insertion(+) 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; } -- 2.30.2