Re: [Intel-gfx] [PATCH] drm/i915: Force ordering on request submission and hangcheck

2016-01-13 Thread Chris Wilson
On Wed, Jan 13, 2016 at 07:04:53PM +0200, Mika Kuoppala wrote: > Hangcheck is run on irq context and might be active on a s/irq/process/ that we pretend is irq-like. > completely different CPU that is submitting requests. And as > we have been very careful not to add locking to hangcheck to guard

[Intel-gfx] [PATCH] drm/i915: Force ordering on request submission and hangcheck

2016-01-13 Thread Mika Kuoppala
Hangcheck is run on irq context and might be active on a completely different CPU that is submitting requests. And as we have been very careful not to add locking to hangcheck to guard against driver failures, we need to be careful with the coherency. Update ring last seqno and add to request list