freedreno: running angle perf traces with GALLIUM_THREAD=0 crashes
I get a weird crash like this on the mobile_legends trace:
0x0000007ff5393928 in fd_pipe_wait_timeout (pipe=0x5555d91530, fence=0x0, timeout=0) at ../src/freedreno/drm/freedreno_pipe.c:184
184 if (!fd_fence_after(fence->ufence, pipe->control->fence))
(gdb) bt
#0 0x0000007ff5393928 in fd_pipe_wait_timeout (pipe=0x5555d91530, fence=0x0, timeout=0) at ../src/freedreno/drm/freedreno_pipe.c:184
#1 0x0000007ff5293134 in fd_pipe_fence_finish (pscreen=0x5555d2a450, pctx=0x5555d7e460, fence=0x55560bbd90, timeout=0)
at ../src/gallium/drivers/freedreno/freedreno_fence.c:157
#2 0x0000007ff4a0d498 in __client_wait_sync (ctx=0x7ff400f010, obj=0x5555e896c0, flags=0, timeout=0) at ../src/mesa/main/syncobj.c:151
#3 0x0000007ff4a0db4c in client_wait_sync (ctx=0x7ff400f010, syncObj=0x5555e896c0, flags=0, timeout=1000) at ../src/mesa/main/syncobj.c:349
#4 0x0000007ff4a0dd14 in _mesa_ClientWaitSync (sync=0x5555e896c0, flags=0, timeout=1000) at ../src/mesa/main/syncobj.c:398
#5 0x0000007ff4060c74 in glClientWaitSync (sync=0x5555e896c0, flags=0, timeout=1000) at /home/zmike/src/mesa/build/src/mapi/es2api/glapi_mapi_tmp.h:656