diff options
-rw-r--r-- | src/gallium/drivers/iris/iris_bufmgr.c | 2 |
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 { |