lima: pass submit parameter for functions in lima_submic.c (v2)
authorQiang Yu <yuq825@gmail.com>
Sat, 8 Feb 2020 12:21:12 +0000 (20:21 +0800)
committerMarge Bot <eric+marge@anholt.net>
Mon, 17 Feb 2020 02:54:15 +0000 (02:54 +0000)
commit5c78ba60140ec48996dc4ebcfff0674229a4afd4
tree3087f56222c583da47eea2a53cf82aab7333f815
parent21a2ce71b132739b001442a4f9829de345311c35
lima: pass submit parameter for functions in lima_submic.c (v2)

"ctx->submit" won't be used directly, so remove the usage in
lima_submit.c by directly passing the submit parameter. And
more data in lima_context will be moved to lima_submit, so
"ctx" will be replaced by "submit" in those functions.

v2:
rename lima_submit_flush to lima_do_submit.

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_submit.c