lima: add lima_submit_get
authorQiang Yu <yuq825@gmail.com>
Sun, 9 Feb 2020 03:49:52 +0000 (11:49 +0800)
committerMarge Bot <eric+marge@anholt.net>
Mon, 17 Feb 2020 02:54:15 +0000 (02:54 +0000)
commit545988c6172e51ea00c87abe966d5ecd03b08e98
tree32fc82c93fb47ede92ca45f2cf714a67bb663c05
parent0caefb6d9df8f2b53fa0703a7bd7a665dabe77b2
lima: add lima_submit_get

Replace all usage of "ctx->submit" in draw code path with
lima_submit_get(). This function will create new submit
in the following changes.

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.c
src/gallium/drivers/lima/lima_draw.c
src/gallium/drivers/lima/lima_submit.c
src/gallium/drivers/lima/lima_submit.h
src/gallium/drivers/lima/lima_texture.c