projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06db271
)
v3d: actually root the first BO in a command list in the job
author
Iago Toral Quiroga
<itoral@igalia.com>
Thu, 12 Dec 2019 10:19:23 +0000
(11:19 +0100)
committer
Iago Toral
<itoral@igalia.com>
Fri, 13 Dec 2019 08:58:10 +0000
(08:58 +0000)
We were passing cl->bo, which is NULL, so v3d_job_add_bo was a no-op.
Reviewed-by: Alejandro PiƱeiro <apinheiro@igalia.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/gallium/drivers/v3d/v3d_cl.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/v3d/v3d_cl.c
b/src/gallium/drivers/v3d/v3d_cl.c
index 94e83a894a4a36ab6387ba5ba5b176c85cfb880c..575bf5c18e4c352697698020badb9e938d9ea2f0 100644
(file)
--- 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;