summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/iris/iris_bufmgr.c
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2018-04-19 13:09:51 -0700
committerKenneth Graunke <[email protected]>2019-02-21 10:26:06 -0800
commit8bf167c9e9599f2040522da28e7ca93665b9ab87 (patch)
treecad8b5b7132ed5b76e98256db67cc6427ef369c8 /src/gallium/drivers/iris/iris_bufmgr.c
parent10e4f1e68c5689da82e2446bf3161afd7302c449 (diff)
iris: vma - fix assert
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 50abf901f37..023d9720558 100644
--- a/src/gallium/drivers/iris/iris_bufmgr.c
+++ b/src/gallium/drivers/iris/iris_bufmgr.c
@@ -325,7 +325,7 @@ bucket_vma_free(struct bo_cache_bucket *bucket,
}
/* Set the bit to return the memory. */
- assert((node->bitmap & (1ull << bit)) != 0ull);
+ assert((node->bitmap & (1ull << bit)) == 0ull);
node->bitmap |= 1ull << bit;
/* The block might be entirely free now, and if so, we could return it