diff options
author | Boris Brezillon <[email protected]> | 2019-07-02 14:20:07 +0200 |
---|---|---|
committer | Boris Brezillon <[email protected]> | 2019-07-02 14:58:51 +0200 |
commit | c4f4193ad4d25c6cc90d383ff10bd106c25d03a1 (patch) | |
tree | 098b32a4b5b9a191424deba52357ca2b080bb22a /src/gallium/drivers/panfrost | |
parent | 6ba61324f03ced586efe4aed8b552a144314139a (diff) |
panfrost: Stop exposing internal panfrost_drm_*() functions
panfrost_drm_submit_job() and panfrost_fence_create() are not used
outside of pan_drm.c.
Signed-off-by: Boris Brezillon <[email protected]>
Diffstat (limited to 'src/gallium/drivers/panfrost')
-rw-r--r-- | src/gallium/drivers/panfrost/pan_drm.c | 4 | ||||
-rw-r--r-- | src/gallium/drivers/panfrost/pan_screen.h | 5 |
2 files changed, 2 insertions, 7 deletions
diff --git a/src/gallium/drivers/panfrost/pan_drm.c b/src/gallium/drivers/panfrost/pan_drm.c index 8c9a0612d7e..f17f56bc630 100644 --- a/src/gallium/drivers/panfrost/pan_drm.c +++ b/src/gallium/drivers/panfrost/pan_drm.c @@ -175,7 +175,7 @@ panfrost_drm_export_bo(struct panfrost_screen *screen, int gem_handle, unsigned return TRUE; } -int +static int panfrost_drm_submit_job(struct panfrost_context *ctx, u64 job_desc, int reqs, struct pipe_surface *surf) { struct pipe_context *gallium = (struct pipe_context *) ctx; @@ -242,7 +242,7 @@ panfrost_drm_submit_vs_fs_job(struct panfrost_context *ctx, bool has_draws, bool return ret; } -struct panfrost_fence * +static struct panfrost_fence * panfrost_fence_create(struct panfrost_context *ctx) { struct pipe_context *gallium = (struct pipe_context *) ctx; diff --git a/src/gallium/drivers/panfrost/pan_screen.h b/src/gallium/drivers/panfrost/pan_screen.h index ebc5fee5cfd..83186ebb2f7 100644 --- a/src/gallium/drivers/panfrost/pan_screen.h +++ b/src/gallium/drivers/panfrost/pan_screen.h @@ -89,13 +89,8 @@ int panfrost_drm_export_bo(struct panfrost_screen *screen, int gem_handle, unsigned int stride, struct winsys_handle *whandle); int -panfrost_drm_submit_job(struct panfrost_context *ctx, u64 job_desc, int reqs, - struct pipe_surface *surf); -int panfrost_drm_submit_vs_fs_job(struct panfrost_context *ctx, bool has_draws, bool is_scanout); -struct panfrost_fence * -panfrost_fence_create(struct panfrost_context *ctx); void panfrost_drm_force_flush_fragment(struct panfrost_context *ctx, struct pipe_fence_handle **fence); |