diff options
author | Qiang Yu <[email protected]> | 2020-02-09 09:37:53 +0800 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-02-17 02:54:15 +0000 |
commit | e90d8b6e4d135d58e9346220a652b4835c843d07 (patch) | |
tree | 057b011464ac711c206cb0773a11f0e23082e9eb /src/gallium/drivers/lima/lima_submit.h | |
parent | 5c78ba60140ec48996dc4ebcfff0674229a4afd4 (diff) |
lima: add lima_submit_create_stream_bo
For creating stream buffer which is used in single submit
and freed after the submit is passed to kernel driver.
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 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/lima/lima_submit.h b/src/gallium/drivers/lima/lima_submit.h index 25cd5e31eb8..47203107120 100644 --- a/src/gallium/drivers/lima/lima_submit.h +++ b/src/gallium/drivers/lima/lima_submit.h @@ -34,6 +34,8 @@ struct lima_bo; bool lima_submit_add_bo(struct lima_submit *submit, int pipe, struct lima_bo *bo, uint32_t flags); bool lima_submit_has_bo(struct lima_submit *submit, struct lima_bo *bo, bool all); +void *lima_submit_create_stream_bo(struct lima_submit *submit, int pipe, + unsigned size, uint32_t *va); bool lima_submit_init(struct lima_context *ctx); void lima_submit_fini(struct lima_context *ctx); |