Re: [Intel-gfx] [PATCH v2] drm/i915: Order two completing nop_submit_request

2017-10-06 Thread Chris Wilson
Quoting Tvrtko Ursulin (2017-10-06 13:23:03) > > On 06/10/2017 12:56, Chris Wilson wrote: > > If two nop's (requests in-flight following a wedged device) complete at > > the same time, the global_seqno value written to the HWSP is undefined > > as the two threads are not serialized. > > > > v2:

Re: [Intel-gfx] [PATCH v2] drm/i915: Order two completing nop_submit_request

2017-10-06 Thread Tvrtko Ursulin
On 06/10/2017 12:56, Chris Wilson wrote: If two nop's (requests in-flight following a wedged device) complete at the same time, the global_seqno value written to the HWSP is undefined as the two threads are not serialized. v2: Use irqsafe spinlock. We expect the callback may be called from

[Intel-gfx] [PATCH v2] drm/i915: Order two completing nop_submit_request

2017-10-06 Thread Chris Wilson
If two nop's (requests in-flight following a wedged device) complete at the same time, the global_seqno value written to the HWSP is undefined as the two threads are not serialized. v2: Use irqsafe spinlock. We expect the callback may be called from inside another irq spinlock, so we can't