drm/i915/execlists: Detect an out-of-order context switch
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 23 Feb 2017 14:50:31 +0000 (14:50 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 24 Feb 2017 12:57:32 +0000 (12:57 +0000)
commitfe9ae7a3bfdb1d5933210f53e9efa7655768d238
tree68827228f49b04c32d79d09d8f86c60e40b20692
parentffe5111e28e52212040db1617a75035d6d6f9447
drm/i915/execlists: Detect an out-of-order context switch

We require that the request is completed before the context is switched
away.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: http://patchwork.freedesktop.org/patch/msgid/20170223145031.26210-1-chris@chris-wilson.co.uk
Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
drivers/gpu/drm/i915/intel_lrc.c