lima: move syncobj from lima_submit to lima_context
authorQiang Yu <yuq825@gmail.com>
Tue, 4 Feb 2020 06:32:31 +0000 (14:32 +0800)
committerMarge Bot <eric+marge@anholt.net>
Mon, 17 Feb 2020 02:54:15 +0000 (02:54 +0000)
commit79c65fa56fd0168e3e8548e68f1de81b33742069
tree9145a573c02ebf1e4ea9a8cb77bbfa1b95d13015
parentb9003111bb59635ae407b251561f1d9937d434f0
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 <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_context.h
src/gallium/drivers/lima/lima_draw.c
src/gallium/drivers/lima/lima_fence.c
src/gallium/drivers/lima/lima_submit.c
src/gallium/drivers/lima/lima_submit.h