diff options
author | Boris Brezillon <[email protected]> | 2019-09-01 10:30:39 +0200 |
---|---|---|
committer | Boris Brezillon <[email protected]> | 2019-09-13 16:25:06 +0200 |
commit | aa851a62b964c1c73d699739ce07d6ba773605d7 (patch) | |
tree | bf960d4b95f9384a1109beba9d6d30bf02f2d02b /src/gallium/drivers/panfrost/pan_drm.c | |
parent | 07a68835a153c808a530a277396bd9f212e2bc06 (diff) |
panfrost: Pass a batch to functions emitting FB descs
So we can emit such jobs to a batch that's not currently bound to the
context.
Signed-off-by: Boris Brezillon <[email protected]>
Reviewed-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/gallium/drivers/panfrost/pan_drm.c')
-rw-r--r-- | src/gallium/drivers/panfrost/pan_drm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/panfrost/pan_drm.c b/src/gallium/drivers/panfrost/pan_drm.c index e7dcd2e5875..81f922abd1c 100644 --- a/src/gallium/drivers/panfrost/pan_drm.c +++ b/src/gallium/drivers/panfrost/pan_drm.c @@ -286,7 +286,7 @@ panfrost_drm_submit_vs_fs_batch(struct panfrost_batch *batch, bool has_draws) if (batch->first_tiler.gpu || batch->clear) { ret = panfrost_drm_submit_batch(batch, - panfrost_fragment_job(ctx, has_draws), + panfrost_fragment_job(batch, has_draws), PANFROST_JD_REQ_FS); assert(!ret); } |