panfrost: Move device open/close to root panfrost
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Tue, 24 Mar 2020 17:40:12 +0000 (13:40 -0400)
committerMarge Bot <eric+marge@anholt.net>
Tue, 31 Mar 2020 01:12:26 +0000 (01:12 +0000)
commit39378eec578c4855dbcad19605242ca038e575ee
tree0569fb33de609cdd68ab6c9b55d488cb04af0589
parentfd18695a2697bf54cf11894959780c2c761a1808
panfrost: Move device open/close to root panfrost

We need it for standalone testing too.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4382>
src/gallium/drivers/panfrost/pan_screen.c
src/panfrost/encoder/pan_device.h
src/panfrost/encoder/pan_props.c