Re: [Mesa-dev] [PATCH] virgl: fix flushing while removing sampler views

2016-09-23 Thread Marc-André Lureau
Hi On Sat, Sep 24, 2016 at 12:00 AM Dave Airlie wrote: > On 14 September 2016 at 04:00, wrote: > > From: Marc-André Lureau > > > > When updating the sampler views, virgl might need to flush. After > > flushing, the resources are reattached, however, the sampler > > enabled_mask isn't yet updat

Re: [Mesa-dev] [PATCH] virgl: fix flushing while removing sampler views

2016-09-23 Thread Dave Airlie
On 14 September 2016 at 04:00, wrote: > From: Marc-André Lureau > > When updating the sampler views, virgl might need to flush. After > flushing, the resources are reattached, however, the sampler > enabled_mask isn't yet updated, and some views could be in the process > of being removed, which l

[Mesa-dev] [PATCH] virgl: fix flushing while removing sampler views

2016-09-13 Thread marcandre . lureau
From: Marc-André Lureau When updating the sampler views, virgl might need to flush. After flushing, the resources are reattached, however, the sampler enabled_mask isn't yet updated, and some views could be in the process of being removed, which lead to the following crash: Thread 1 "heaven_x64