summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/iris/iris_bufmgr.c
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2018-04-10 15:59:57 -0700
committerKenneth Graunke <[email protected]>2019-02-21 10:26:05 -0800
commit999ed6e21318515b477cc4e613ebb670b1058464 (patch)
treefb83fc54ead5ab4bb8561f95bea0ed5f274284d8 /src/gallium/drivers/iris/iris_bufmgr.c
parent19d11a6df38cf8fd23faf8164fba31dbf0b1be87 (diff)
iris: port bug fix from i965
Diffstat (limited to 'src/gallium/drivers/iris/iris_bufmgr.c')
-rw-r--r--src/gallium/drivers/iris/iris_bufmgr.c2
1 files changed, 1 insertions, 1 deletions
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 {