aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/panfrost/pan_screen.h
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2019-06-07 09:49:36 -0700
committerAlyssa Rosenzweig <[email protected]>2019-06-10 06:45:05 -0700
commitb4763984ac319635d1411c6cfdaa3cb2bfa71d4a (patch)
tree6dd62c56252ccef16c1cfc3c622a9e03ea6ad61e /src/gallium/drivers/panfrost/pan_screen.h
parenta38583e352e4718aaf6f8947bf385407128b137e (diff)
panfrost: Move pan_screen() to pan_screen.h
Trivial. Signed-off-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/gallium/drivers/panfrost/pan_screen.h')
-rw-r--r--src/gallium/drivers/panfrost/pan_screen.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/drivers/panfrost/pan_screen.h b/src/gallium/drivers/panfrost/pan_screen.h
index 4e5efa91f22..d2b786387e7 100644
--- a/src/gallium/drivers/panfrost/pan_screen.h
+++ b/src/gallium/drivers/panfrost/pan_screen.h
@@ -99,4 +99,10 @@ struct panfrost_screen {
struct panfrost_job *last_job;
};
+static inline struct panfrost_screen *
+pan_screen(struct pipe_screen *p)
+{
+ return (struct panfrost_screen *)p;
+}
+
#endif /* PAN_SCREEN_H */