diff options
author | Tomeu Vizoso <[email protected]> | 2019-06-19 13:16:45 +0200 |
---|---|---|
committer | Tomeu Vizoso <[email protected]> | 2019-06-20 15:48:35 +0200 |
commit | 4f881237c38f43e63ec931e0d406a1531dcd6ba7 (patch) | |
tree | 05d8b7f3eaea057d0a5c5758edf103fc4e5fd1cb | |
parent | b5db7cce607c3c94b703e67e3c847ef07c35e058 (diff) |
panfrost: Allocate panfrost_job in panfrost_context
Signed-off-by: Tomeu Vizoso <[email protected]>
Reviewed-by: Alyssa Rosenzweig <[email protected]>
-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 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; |