diff options
author | Kenneth Graunke <[email protected]> | 2018-04-19 13:09:51 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2019-02-21 10:26:06 -0800 |
commit | 8bf167c9e9599f2040522da28e7ca93665b9ab87 (patch) | |
tree | cad8b5b7132ed5b76e98256db67cc6427ef369c8 /src/gallium/drivers/iris/iris_bufmgr.c | |
parent | 10e4f1e68c5689da82e2446bf3161afd7302c449 (diff) |
iris: vma - fix assert
Diffstat (limited to 'src/gallium/drivers/iris/iris_bufmgr.c')
-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 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 |