diff options
author | Qiang Yu <[email protected]> | 2020-02-04 14:32:31 +0800 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-02-17 02:54:15 +0000 |
commit | 79c65fa56fd0168e3e8548e68f1de81b33742069 (patch) | |
tree | 9145a573c02ebf1e4ea9a8cb77bbfa1b95d13015 /src/gallium/drivers/lima/lima_submit.h | |
parent | b9003111bb59635ae407b251561f1d9937d434f0 (diff) |
lima: move syncobj from lima_submit to lima_context
As there will be multi lima_submit per context, move
syncobj out of it.
Reviewed-by: Vasily Khoruzhick <[email protected]>
Signed-off-by: Qiang Yu <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3755>
Diffstat (limited to 'src/gallium/drivers/lima/lima_submit.h')
-rw-r--r-- | src/gallium/drivers/lima/lima_submit.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gallium/drivers/lima/lima_submit.h b/src/gallium/drivers/lima/lima_submit.h index 216e0fee83d..032a2694ab0 100644 --- a/src/gallium/drivers/lima/lima_submit.h +++ b/src/gallium/drivers/lima/lima_submit.h @@ -37,7 +37,8 @@ bool lima_submit_add_bo(struct lima_submit *submit, struct lima_bo *bo, uint32_t bool lima_submit_start(struct lima_submit *submit, void *frame, uint32_t size); bool lima_submit_wait(struct lima_submit *submit, uint64_t timeout_ns); bool lima_submit_has_bo(struct lima_submit *submit, struct lima_bo *bo, bool all); -bool lima_submit_add_in_sync(struct lima_submit *submit, int fd); -bool lima_submit_get_out_sync(struct lima_submit *submit, int *fd); + +bool lima_submit_init(struct lima_context *ctx); +void lima_submit_fini(struct lima_context *ctx); #endif |