Re: [Mesa-dev] [PATCH] panfrost: Add the sampled texture BO to the job

2019-07-01 Thread Boris Brezillon
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

Re: [Mesa-dev] [PATCH] panfrost: Add the sampled texture BO to the job

2019-07-01 Thread Alyssa Rosenzweig
> > @@ -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

[Mesa-dev] [PATCH] panfrost: Add the sampled texture BO to the job

2019-07-01 Thread Boris Brezillon
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.