On Mon, 1 Jul 2019 08:28:03 -0700
Alyssa Rosenzweig wrote:
> >
> > @@ -848,6 +850,7 @@ panfrost_upload_tex(
> > for (unsigned l = first_level; l <= last_level; ++l) {
> > for (unsigned f = first_layer; f <= last_layer; ++f) {
> >
> > +panfrost
>
> @@ -848,6 +850,7 @@ panfrost_upload_tex(
> for (unsigned l = first_level; l <= last_level; ++l) {
> for (unsigned f = first_layer; f <= last_layer; ++f) {
>
> +panfrost_job_add_bo(job, rsrc->bo);
> view->hw.payload[i
Otherwise we get random use-after-{free,unmap} errors.
Signed-off-by: Boris Brezillon
---
src/gallium/drivers/panfrost/pan_context.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/gallium/drivers/panfrost/pan_context.c
b/src/gallium/drivers/panfrost/pan_context.c
index bf98d3853f16.