diff options
author | Boris Brezillon <[email protected]> | 2019-09-05 21:41:27 +0200 |
---|---|---|
committer | Boris Brezillon <[email protected]> | 2019-09-08 16:20:59 +0200 |
commit | beb18c6172a505770d959f9fcb01d126011d12bc (patch) | |
tree | de4fcfbeaa73d152495072612abde59280d16d57 /src/gallium/drivers/panfrost/pan_job.c | |
parent | 2c526993bc4098a7c541c69ec0abc0a4076d66e6 (diff) |
panfrost: Pass a batch to panfrost_drm_submit_vs_fs_batch()
Given the function name it makes more sense to pass it a job batch
directly.
Signed-off-by: Boris Brezillon <[email protected]>
Reviewed-by: Daniel Stone <[email protected]>
Reviewed-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/gallium/drivers/panfrost/pan_job.c')
-rw-r--r-- | src/gallium/drivers/panfrost/pan_job.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/panfrost/pan_job.c b/src/gallium/drivers/panfrost/pan_job.c index a019c2adf69..f136ccb97fc 100644 --- a/src/gallium/drivers/panfrost/pan_job.c +++ b/src/gallium/drivers/panfrost/pan_job.c @@ -211,7 +211,7 @@ panfrost_batch_submit(struct panfrost_context *ctx, struct panfrost_batch *batch bool has_draws = batch->last_job.gpu; - ret = panfrost_drm_submit_vs_fs_batch(ctx, has_draws); + ret = panfrost_drm_submit_vs_fs_batch(batch, has_draws); if (ret) fprintf(stderr, "panfrost_batch_submit failed: %d\n", ret); |