panfrost: Make SLAB pool creation rely on BO helpers
authorBoris Brezillon <boris.brezillon@collabora.com>
Tue, 2 Jul 2019 11:50:44 +0000 (13:50 +0200)
committerBoris Brezillon <boris.brezillon@collabora.com>
Tue, 2 Jul 2019 12:59:28 +0000 (14:59 +0200)
commit3557746e0d2c16d7907b74e36bac30aa1c33cc7f
tree6a6b2b3867f727cd1661d9172782c1b84504056c
parentc684a796692cd12d806dabb640ed277c530ef6f2
panfrost: Make SLAB pool creation rely on BO helpers

There's no point duplicating the code, and it will help us simplify
the bo_handles[] filling logic in panfrost_drm_submit_job().

Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
src/gallium/drivers/panfrost/pan_allocate.c
src/gallium/drivers/panfrost/pan_allocate.h
src/gallium/drivers/panfrost/pan_context.c
src/gallium/drivers/panfrost/pan_drm.c
src/gallium/drivers/panfrost/pan_resource.h
src/gallium/drivers/panfrost/pan_scoreboard.c
src/gallium/drivers/panfrost/pan_sfbd.c