diff options
author | Kenneth Graunke <[email protected]> | 2019-02-07 09:40:00 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2019-02-21 10:26:11 -0800 |
commit | 3b1ac8244ec5aecf703110f8191058f3299b72af (patch) | |
tree | b2bc35bb57f927e14f13434383e546c05b32276c /src/gallium/drivers/iris/iris_fence.h | |
parent | c24a574e6c78db038d7aa6c4605bf6a8a892f7ab (diff) |
iris: Add a timeout_nsec parameter, rename check_syncpt to wait_syncpt
I want to be able to wait with a non-zero timeout from elsewhere.
Diffstat (limited to 'src/gallium/drivers/iris/iris_fence.h')
-rw-r--r-- | src/gallium/drivers/iris/iris_fence.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gallium/drivers/iris/iris_fence.h b/src/gallium/drivers/iris/iris_fence.h index 056db864f26..f14940fdc53 100644 --- a/src/gallium/drivers/iris/iris_fence.h +++ b/src/gallium/drivers/iris/iris_fence.h @@ -41,8 +41,9 @@ void iris_syncpt_destroy(struct iris_screen *, struct iris_syncpt *); void iris_batch_add_syncpt(struct iris_batch *batch, struct iris_syncpt *syncpt, unsigned flags); -bool iris_check_syncpt(struct pipe_screen *screen, - struct iris_syncpt *syncpt); +bool iris_wait_syncpt(struct pipe_screen *screen, + struct iris_syncpt *syncpt, + int64_t timeout_nsec); static inline void iris_syncpt_reference(struct iris_screen *screen, struct iris_syncpt **dst, |