panfrost: Remove unused argument from panfrost_drm_submit_vs_fs_job()
is_scanout is not used anywhere and can be inferred within panfrost_drm_submit_vs_fs_job() if required. Signed-off-by: Rohan Garg <rohan.garg@collabora.com> Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com> Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
This commit is contained in:
committed by
Boris Brezillon
parent
fda9fb8dcd
commit
394192fcee
@@ -292,7 +292,7 @@ panfrost_drm_submit_job(struct panfrost_context *ctx, u64 job_desc, int reqs)
|
||||
}
|
||||
|
||||
int
|
||||
panfrost_drm_submit_vs_fs_job(struct panfrost_context *ctx, bool has_draws, bool is_scanout)
|
||||
panfrost_drm_submit_vs_fs_job(struct panfrost_context *ctx, bool has_draws)
|
||||
{
|
||||
int ret = 0;
|
||||
|
||||
|
||||
@@ -208,9 +208,8 @@ panfrost_job_submit(struct panfrost_context *ctx, struct panfrost_job *job)
|
||||
panfrost_scoreboard_link_batch(job);
|
||||
|
||||
bool has_draws = job->last_job.gpu;
|
||||
bool is_scanout = panfrost_is_scanout(ctx);
|
||||
|
||||
ret = panfrost_drm_submit_vs_fs_job(ctx, has_draws, is_scanout);
|
||||
ret = panfrost_drm_submit_vs_fs_job(ctx, has_draws);
|
||||
|
||||
if (ret)
|
||||
fprintf(stderr, "panfrost_job_submit failed: %d\n", ret);
|
||||
|
||||
@@ -165,8 +165,7 @@ panfrost_drm_import_bo(struct panfrost_screen *screen, int fd);
|
||||
int
|
||||
panfrost_drm_export_bo(struct panfrost_screen *screen, const struct panfrost_bo *bo);
|
||||
int
|
||||
panfrost_drm_submit_vs_fs_job(struct panfrost_context *ctx, bool has_draws,
|
||||
bool is_scanout);
|
||||
panfrost_drm_submit_vs_fs_job(struct panfrost_context *ctx, bool has_draws);
|
||||
void
|
||||
panfrost_drm_force_flush_fragment(struct panfrost_context *ctx,
|
||||
struct pipe_fence_handle **fence);
|
||||
|
||||
Reference in New Issue
Block a user