diff options
author | Marek Olšák <[email protected]> | 2017-11-10 19:08:50 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2017-11-11 04:12:53 +0100 |
commit | 3a71eac783ea5a1c16772f8ec91c4a01ca32504d (patch) | |
tree | 12c37d5374251f25dafd8b10fd7eb316df01672e /src/mesa/state_tracker | |
parent | 881f6e741fe0f63df1aa6aadba7e2eb64269cb20 (diff) |
st/dri: fix deadlock when waiting on android fences
Android fences can't be deferred, because st/dri calls fence_finish
with ctx = NULL, so the driver can't flush u_threaded_context.
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r-- | src/mesa/state_tracker/st_manager.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/state_tracker/st_manager.c b/src/mesa/state_tracker/st_manager.c index 43d5dfdced2..4a1998cae63 100644 --- a/src/mesa/state_tracker/st_manager.c +++ b/src/mesa/state_tracker/st_manager.c @@ -634,8 +634,6 @@ st_context_flush(struct st_context_iface *stctxi, unsigned flags, if (flags & ST_FLUSH_END_OF_FRAME) pipe_flags |= PIPE_FLUSH_END_OF_FRAME; - if (flags & ST_FLUSH_DEFERRED) - pipe_flags |= PIPE_FLUSH_DEFERRED; if (flags & ST_FLUSH_FENCE_FD) pipe_flags |= PIPE_FLUSH_FENCE_FD; |