From 999ed6e21318515b477cc4e613ebb670b1058464 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Tue, 10 Apr 2018 15:59:57 -0700 Subject: [PATCH] iris: port bug fix from i965 --- src/gallium/drivers/iris/iris_bufmgr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/iris/iris_bufmgr.c b/src/gallium/drivers/iris/iris_bufmgr.c index 1ba63ee98a1..45f17c0c37e 100644 --- a/src/gallium/drivers/iris/iris_bufmgr.c +++ b/src/gallium/drivers/iris/iris_bufmgr.c @@ -504,7 +504,7 @@ retry: * memory and assign it a new address. */ if (memzone != memzone_for_address(bo->gtt_offset)) { - vma_free(bufmgr, bo->gtt_offset, size); + vma_free(bufmgr, bo->gtt_offset, bo_size); bo->gtt_offset = 0; } } else { -- 2.30.2