panfrost: Add polygon_list to the batch BO set at allocation time
authorBoris Brezillon <boris.brezillon@collabora.com>
Sat, 14 Sep 2019 16:15:26 +0000 (18:15 +0200)
committerBoris Brezillon <boris.brezillon@collabora.com>
Wed, 18 Sep 2019 08:27:30 +0000 (10:27 +0200)
commit4eac1b20080dce362ded2cfafde668156480a9a9
tree9efe9fd60d50febe8eb063a9f48192204bad7023
parentc16fb1f48dc349b0eb54bf12aab13a113fb2f29e
panfrost: Add polygon_list to the batch BO set at allocation time

That's what we do for other per-batch BOs, and we'll soon add an helper
to automate this create_bo()+add_bo()+bo_unreference() sequence, so
let's prepare the code to ease this transition.

Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
src/gallium/drivers/panfrost/pan_drm.c
src/gallium/drivers/panfrost/pan_job.c