Mesa (main): panfrost: Remove writer = NULL assignments
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Tue Aug 24 19:58:00 UTC 2021
Module: Mesa
Branch: main
Commit: afebbadda8db4d6b832183ccf95c51a6e117899d
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=afebbadda8db4d6b832183ccf95c51a6e117899d
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date: Tue Aug 17 17:06:56 2021 +0000
panfrost: Remove writer = NULL assignments
These already happened.
Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12528>
---
src/gallium/drivers/panfrost/pan_job.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/src/gallium/drivers/panfrost/pan_job.c b/src/gallium/drivers/panfrost/pan_job.c
index 8cf324524fe..06545dcda0b 100644
--- a/src/gallium/drivers/panfrost/pan_job.c
+++ b/src/gallium/drivers/panfrost/pan_job.c
@@ -858,7 +858,6 @@ panfrost_flush_writer(struct panfrost_context *ctx,
if (rsrc->track.writer) {
perf_debug_ctx(ctx, "Flushing writer due to: %s", reason);
panfrost_batch_submit(rsrc->track.writer, ctx->syncobj, ctx->syncobj);
- rsrc->track.writer = NULL;
}
}
@@ -877,8 +876,6 @@ panfrost_flush_batches_accessing_rsrc(struct panfrost_context *ctx,
perf_debug_ctx(ctx, "Flushing user due to: %s", reason);
panfrost_batch_submit(batch, ctx->syncobj, ctx->syncobj);
}
-
- rsrc->track.writer = NULL;
}
void
More information about the mesa-commit
mailing list