panfrost: Get rid of unused fb parameter passed to panfrost_batch_submit_jobs()

Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26249>
This commit is contained in:
Boris Brezillon 2023-11-15 16:29:57 +01:00 committed by Marge Bot
parent 070bdd14ba
commit 46fc7d2dc9

View file

@ -709,8 +709,7 @@ panfrost_batch_submit_ioctl(struct panfrost_batch *batch,
* implicit dep between them) */
static int
panfrost_batch_submit_jobs(struct panfrost_batch *batch,
const struct pan_fb_info *fb)
panfrost_batch_submit_jobs(struct panfrost_batch *batch)
{
struct pipe_screen *pscreen = batch->ctx->base.screen;
struct panfrost_device *dev = pan_device(pscreen);
@ -818,7 +817,7 @@ panfrost_batch_submit(struct panfrost_context *ctx,
screen->vtbl.emit_fragment_job(batch, &fb);
}
ret = panfrost_batch_submit_jobs(batch, &fb);
ret = panfrost_batch_submit_jobs(batch);
if (ret)
fprintf(stderr, "panfrost_batch_submit failed: %d\n", ret);