summaryrefslogtreecommitdiff
path: root/freedreno/freedreno_pipe.c
diff options
context:
space:
mode:
Diffstat (limited to 'freedreno/freedreno_pipe.c')
-rw-r--r--freedreno/freedreno_pipe.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/freedreno/freedreno_pipe.c b/freedreno/freedreno_pipe.c
index b6fed0a4..4a756d70 100644
--- a/freedreno/freedreno_pipe.c
+++ b/freedreno/freedreno_pipe.c
@@ -72,5 +72,11 @@ int fd_pipe_get_param(struct fd_pipe *pipe,
int fd_pipe_wait(struct fd_pipe *pipe, uint32_t timestamp)
{
- return pipe->funcs->wait(pipe, timestamp);
+ return fd_pipe_wait_timeout(pipe, timestamp, ~0);
+}
+
+int fd_pipe_wait_timeout(struct fd_pipe *pipe, uint32_t timestamp,
+ uint64_t timeout)
+{
+ return pipe->funcs->wait(pipe, timestamp, timeout);
}