diff options
author | Rob Clark <[email protected]> | 2018-02-10 14:12:11 -0500 |
---|---|---|
committer | Rob Clark <[email protected]> | 2018-02-10 14:54:58 -0500 |
commit | 831fb29252859c8aaf2bc1c2573a83f30d664204 (patch) | |
tree | 5fdedb81251d1e5c660ea3addf8a1d6c4729f41a /src/egl | |
parent | c57ed8e01cb40ef9a422346c3d304c1a3cc1f418 (diff) |
freedreno: small fix for flushing dependent batches
Flush a resource's previous write_batch synchronously. Because a
resource's associated batches are not updated until after the flush
thread submits rendering to the kernel, this was causing a bit of
confusion in the following loop. This fixes a bug that appeared with
recent stk.
Perhaps we need to re-work things a bit to clear out dependent patches
in the ctx's thread and use a fence to deal with the period between
when a flush is queued and when it is submitted to the kernel. But
this will do until time permits a larger refactor.
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/egl')
0 files changed, 0 insertions, 0 deletions