summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorIago Toral Quiroga <[email protected]>2019-12-12 11:19:23 +0100
committerIago Toral <[email protected]>2019-12-13 08:58:10 +0000
commitca475d5fba5f39d836b9f9994cb11caf559c10d9 (patch)
tree9c0bbd4e9cc32b4551d70346757a2dd1dd7b6192 /src
parent06db271a6c12e55e616334fd62bca9f8e8951b6a (diff)
v3d: actually root the first BO in a command list in the job
We were passing cl->bo, which is NULL, so v3d_job_add_bo was a no-op. Reviewed-by: Alejandro PiƱeiro <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/v3d/v3d_cl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/v3d/v3d_cl.c b/src/gallium/drivers/v3d/v3d_cl.c
index 94e83a894a4..575bf5c18e4 100644
--- a/src/gallium/drivers/v3d/v3d_cl.c
+++ b/src/gallium/drivers/v3d/v3d_cl.c
@@ -74,7 +74,7 @@ v3d_cl_ensure_space_with_branch(struct v3d_cl *cl, uint32_t space)
v3d_bo_unreference(&cl->bo);
} else {
/* Root the first RCL/BCL BO in the job. */
- v3d_job_add_bo(cl->job, cl->bo);
+ v3d_job_add_bo(cl->job, new_bo);
}
cl->bo = new_bo;