summaryrefslogtreecommitdiffstats
path: root/src/panfrost/encoder/pan_device.h
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2020-03-24 13:40:12 -0400
committerMarge Bot <[email protected]>2020-03-31 01:12:26 +0000
commit39378eec578c4855dbcad19605242ca038e575ee (patch)
tree0569fb33de609cdd68ab6c9b55d488cb04af0589 /src/panfrost/encoder/pan_device.h
parentfd18695a2697bf54cf11894959780c2c761a1808 (diff)
panfrost: Move device open/close to root panfrost
We need it for standalone testing too. Signed-off-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4382>
Diffstat (limited to 'src/panfrost/encoder/pan_device.h')
-rw-r--r--src/panfrost/encoder/pan_device.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/panfrost/encoder/pan_device.h b/src/panfrost/encoder/pan_device.h
index 19aa2df35bd..75bf82e4434 100644
--- a/src/panfrost/encoder/pan_device.h
+++ b/src/panfrost/encoder/pan_device.h
@@ -104,4 +104,10 @@ struct panfrost_device {
} bo_cache;
};
+void
+panfrost_open_device(void *memctx, int fd, struct panfrost_device *dev);
+
+void
+panfrost_close_device(struct panfrost_device *dev);
+
#endif