lima: delay add plb buffer to submit when flush
authorQiang Yu <yuq825@gmail.com>
Sun, 2 Feb 2020 08:48:44 +0000 (16:48 +0800)
committerMarge Bot <eric+marge@anholt.net>
Mon, 17 Feb 2020 02:54:15 +0000 (02:54 +0000)
commitccfe5f9d288fa36e85ac1140f2eae8429decaae6
treecaa444c83e37b6f1387564f6beff4f091fdbd0a9
parent92387ca23646d2d5b8ee4666968dced0c7198f2c
lima: delay add plb buffer to submit when flush

Prepare for multi submit in which case plb buffer is known
only when flush.

Keep the write back buffer update which is needed for FB
dirty track.

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