mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 11:38:05 +02:00
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 <boris.brezillon@collabora.com>
This commit is contained in:
parent
6ba61324f0
commit
c4f4193ad4
2 changed files with 2 additions and 7 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue