diff options
author | Boris Brezillon <[email protected]> | 2017-09-26 09:48:37 +0200 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2017-09-26 14:49:48 -0700 |
commit | ef578906d849bf05d04d246e9e3994146dddc01d (patch) | |
tree | 802919dfa931d1f989515a344d40b3d04d9f094a /src/intel/genxml/gen_pack_header.py | |
parent | 68c91a87d73cfcd947e09803ceb800b50bf9e399 (diff) |
broadcom/vc4: Fix infinite retry in vc4_bo_alloc()
cleared_and_retried is always reset to false when jumping to the retry
label, thus leading to an infinite retry loop.
Fix that by moving the cleared_and_retried variable definitions at the
beginning of the function. While we're at it, move the create variable
with the other local variables and explicitly reset its content in the
retry path.
Signed-off-by: Boris Brezillon <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Reviewed-by: Eric Engestrom <[email protected]>
Fixes: 78087676c98aa8884ba92 "vc4: Restructure the simulator mode."
Diffstat (limited to 'src/intel/genxml/gen_pack_header.py')
0 files changed, 0 insertions, 0 deletions