lima: use lima_submit_create_stream_bo for plbu/vs_cmd and pp_stack
authorQiang Yu <yuq825@gmail.com>
Sun, 9 Feb 2020 02:19:49 +0000 (10:19 +0800)
committerMarge Bot <eric+marge@anholt.net>
Mon, 17 Feb 2020 02:54:15 +0000 (02:54 +0000)
commit0caefb6d9df8f2b53fa0703a7bd7a665dabe77b2
tree24516b72e36d3bafd7b23a205348a4968308fd2c
parented8837f946159c34573a6b924a0ba6f879c7bb60
lima: use lima_submit_create_stream_bo for plbu/vs_cmd and pp_stack

lima_ctx_buff is used cross function calls in draws. But plbu/vs_cmd
and pp_stack are used immediately after create. And we need to get
rid of "ctx->submit" in the flush code path which exists in
lima_ctx_buff.

Reviewed-by: Vasily Khoruzhick <anarsoul@gmail.com>
Signed-off-by: Qiang Yu <yuq825@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3755>
src/gallium/drivers/lima/lima_context.h
src/gallium/drivers/lima/lima_submit.c