panfrost: Merge bifrost_bo/midgard_bo
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Mon, 15 Jun 2020 13:20:39 +0000 (09:20 -0400)
committerMarge Bot <eric+marge@anholt.net>
Mon, 15 Jun 2020 21:41:18 +0000 (21:41 +0000)
commit32b171d6698893febc95f9a596bfd059158fe92d
tree48b6cb7ded54bac144bb174be4530910eac9ccfe
parent84779e5822d8b63038f65640ca32ad0dce3161b7
panfrost: Merge bifrost_bo/midgard_bo

The content is difference but a BO is a BO. Let's reduce code repition
between Midgard and Bifrost paths.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Tested-by: Christian Hewitt <christianshewitt@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5474>
src/gallium/drivers/panfrost/pan_cmdstream.c
src/gallium/drivers/panfrost/pan_context.c
src/gallium/drivers/panfrost/pan_context.h