panfrost: Remove unused batch_fence->ctx

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5995>
This commit is contained in:
Alyssa Rosenzweig 2020-07-20 13:55:22 -04:00 committed by Marge Bot
parent f18e5371cf
commit 86a6597714
2 changed files with 0 additions and 7 deletions

View File

@ -68,7 +68,6 @@ panfrost_create_batch_fence(struct panfrost_batch *batch)
fence = rzalloc(NULL, struct panfrost_batch_fence);
assert(fence);
pipe_reference_init(&fence->reference, 1);
fence->ctx = batch->ctx;
fence->batch = batch;
return fence;

View File

@ -46,12 +46,6 @@ struct panfrost_batch_fence {
* batch has been flushed or not.
*/
struct panfrost_batch *batch;
/* Context this fence is attached to. We need both ctx and batch, as
* the batch will go away after it's been submitted, but the fence
* will stay a bit longer.
*/
struct panfrost_context *ctx;
};
#define PAN_REQ_MSAA (1 << 0)