From 4f881237c38f43e63ec931e0d406a1531dcd6ba7 Mon Sep 17 00:00:00 2001 From: Tomeu Vizoso Date: Wed, 19 Jun 2019 13:16:45 +0200 Subject: panfrost: Allocate panfrost_job in panfrost_context Signed-off-by: Tomeu Vizoso Reviewed-by: Alyssa Rosenzweig --- src/gallium/drivers/panfrost/pan_job.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/gallium/drivers/panfrost/pan_job.c b/src/gallium/drivers/panfrost/pan_job.c index 96f05c66354..717676021b4 100644 --- a/src/gallium/drivers/panfrost/pan_job.c +++ b/src/gallium/drivers/panfrost/pan_job.c @@ -31,7 +31,7 @@ struct panfrost_job * panfrost_create_job(struct panfrost_context *ctx) { - struct panfrost_job *job = rzalloc(NULL, struct panfrost_job); + struct panfrost_job *job = rzalloc(ctx, struct panfrost_job); job->ctx = ctx; -- cgit v1.2.3