From b4763984ac319635d1411c6cfdaa3cb2bfa71d4a Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Fri, 7 Jun 2019 09:49:36 -0700 Subject: [PATCH] panfrost: Move pan_screen() to pan_screen.h Trivial. Signed-off-by: Alyssa Rosenzweig --- src/gallium/drivers/panfrost/pan_context.h | 6 ------ src/gallium/drivers/panfrost/pan_screen.h | 6 ++++++ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/gallium/drivers/panfrost/pan_context.h b/src/gallium/drivers/panfrost/pan_context.h index c65ffb8deb9..6f3bca939e5 100644 --- a/src/gallium/drivers/panfrost/pan_context.h +++ b/src/gallium/drivers/panfrost/pan_context.h @@ -313,12 +313,6 @@ pan_context(struct pipe_context *pcontext) return (struct panfrost_context *) pcontext; } -static inline struct panfrost_screen * -pan_screen(struct pipe_screen *p) -{ - return (struct panfrost_screen *)p; -} - struct pipe_context * panfrost_create_context(struct pipe_screen *screen, void *priv, unsigned flags); 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 */ -- 2.30.2