summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/vc4/vc4_fence.c
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2015-01-07 15:15:22 -0800
committerEric Anholt <[email protected]>2015-01-10 13:54:12 +1300
commit1d044326774b20c4c685e54e976aa685963b870a (patch)
treecc3aca002766a508e12e493a19ae5689c7e103a3 /src/gallium/drivers/vc4/vc4_fence.c
parent24d94874323ef59ebc83c806497c3d826ae37b9e (diff)
vc4: Move global seqno short-circuiting to vc4_wait_seqno().
Any other caller would want it, too.
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_fence.c')
-rw-r--r--src/gallium/drivers/vc4/vc4_fence.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/gallium/drivers/vc4/vc4_fence.c b/src/gallium/drivers/vc4/vc4_fence.c
index 01906cdba0c..f2ee91de61a 100644
--- a/src/gallium/drivers/vc4/vc4_fence.c
+++ b/src/gallium/drivers/vc4/vc4_fence.c
@@ -66,9 +66,6 @@ vc4_fence_signalled(struct pipe_screen *pscreen,
struct vc4_screen *screen = vc4_screen(pscreen);
struct vc4_fence *f = (struct vc4_fence *)pf;
- if (screen->finished_seqno >= f->seqno)
- return true;
-
return vc4_wait_seqno(screen, f->seqno, 0);
}
@@ -80,9 +77,6 @@ vc4_fence_finish(struct pipe_screen *pscreen,
struct vc4_screen *screen = vc4_screen(pscreen);
struct vc4_fence *f = (struct vc4_fence *)pf;
- if (screen->finished_seqno >= f->seqno)
- return true;
-
return vc4_wait_seqno(screen, f->seqno, timeout_ns);
}