freedreno: allow fence_fd fences to be recycled
This allows us to avoid a no-op flush if there has been no rendering, but we hit pctx->flush(PIPE_FLUSH_FENCE_FD). Signed-off-by:Rob Clark <robdclark@chromium.org> Part-of: <mesa/mesa!6177>
- src/gallium/drivers/freedreno/freedreno_context.c 2 additions, 1 deletionsrc/gallium/drivers/freedreno/freedreno_context.c
- src/gallium/drivers/freedreno/freedreno_fence.c 5 additions, 0 deletionssrc/gallium/drivers/freedreno/freedreno_fence.c
- src/gallium/drivers/freedreno/freedreno_fence.h 1 addition, 0 deletionssrc/gallium/drivers/freedreno/freedreno_fence.h