panfrost: Pass a batch to functions emitting FB descs
authorBoris Brezillon <boris.brezillon@collabora.com>
Sun, 1 Sep 2019 08:30:39 +0000 (10:30 +0200)
committerBoris Brezillon <boris.brezillon@collabora.com>
Fri, 13 Sep 2019 14:25:06 +0000 (16:25 +0200)
commitaa851a62b964c1c73d699739ce07d6ba773605d7
treebf960d4b95f9384a1109beba9d6d30bf02f2d02b
parent07a68835a153c808a530a277396bd9f212e2bc06
panfrost: Pass a batch to functions emitting FB descs

So we can emit such jobs to a batch that's not currently bound to the
context.

Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
src/gallium/drivers/panfrost/pan_context.c
src/gallium/drivers/panfrost/pan_context.h
src/gallium/drivers/panfrost/pan_drm.c
src/gallium/drivers/panfrost/pan_fragment.c
src/gallium/drivers/panfrost/pan_mfbd.c
src/gallium/drivers/panfrost/pan_sfbd.c