Re: [Mesa-dev] [PATCH] vc4: Fix infinite retry in vc4_bo_alloc()

2017-09-26 Thread Eric Engestrom
On Tuesday, 2017-09-26 07:48:37 +, Boris Brezillon wrote: > 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. Reviewed-

[Mesa-dev] [PATCH] vc4: Fix infinite retry in vc4_bo_alloc()

2017-09-26 Thread Boris Brezillon
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 exp