Re: [Intel-gfx] [PATCH] drm/i915/gem: Unbind all current vma on changing cache-level

2019-12-02 Thread Chris Wilson
Quoting Matthew Auld (2019-12-02 17:17:48) > On Thu, 28 Nov 2019 at 22:42, Chris Wilson wrote: > > > > Avoid dangerous race handling of destroyed vma by unbinding all vma > > instead. Unfortunately, this stops us from trying to be clever and only > > doing the minimal change required, so on first

Re: [Intel-gfx] [PATCH] drm/i915/gem: Unbind all current vma on changing cache-level

2019-12-02 Thread Matthew Auld
On Thu, 28 Nov 2019 at 22:42, Chris Wilson wrote: > > Avoid dangerous race handling of destroyed vma by unbinding all vma > instead. Unfortunately, this stops us from trying to be clever and only > doing the minimal change required, so on first use of scanout we may > encounter an annoying stall a

[Intel-gfx] [PATCH] drm/i915/gem: Unbind all current vma on changing cache-level

2019-11-28 Thread Chris Wilson
Avoid dangerous race handling of destroyed vma by unbinding all vma instead. Unfortunately, this stops us from trying to be clever and only doing the minimal change required, so on first use of scanout we may encounter an annoying stall as it transitions to a new cache level. Bugzilla: https://bug