freedreno/batch: split out helper for rb alloc
authorRob Clark <robdclark@chromium.org>
Wed, 26 Aug 2020 17:25:16 +0000 (10:25 -0700)
committerMarge Bot <eric+marge@anholt.net>
Fri, 28 Aug 2020 22:24:25 +0000 (22:24 +0000)
commit28079970f2ce151673701c84ad765a235ab5ba50
treec92eaa0d93d02a7d51c81e7d813ed51721318d59
parent9522eb7be14841f72ca2daf533f705d7546b8007
freedreno/batch: split out helper for rb alloc

Going to want to re-use this in next patch.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6475>
src/gallium/drivers/freedreno/freedreno_batch.c