]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/execlists: Notify context-out for lost requests
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 26 Sep 2017 10:17:19 +0000 (11:17 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 27 Sep 2017 09:48:59 +0000 (10:48 +0100)
commitbf877f46178b8aa0428f4a0fc7cb3fe4a033feec
treefdbc976376d5272efc1ec48ab4019307536d18c9
parentbb640420c7406fa9cfb75405ee40db6d63b448a6
drm/i915/execlists: Notify context-out for lost requests

When cancelling requests, also send the notification to any listeners
(gvt) that the request is no longer scheduled on hw. They may require to
keep the in/out exactly balanced, and so the reuse after the reset may
confuse the listener.

Fixes: f0191c3164ea ("drm/i915/execlists: Unwind incomplete requests on resets")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: "Zhenyu Wang" <zhenyuw@linux.intel.com>
Cc: "Wang, Zhi A" <zhi.a.wang@intel.com>
Cc: MichaƂ Winiarski <michal.winiarski@intel.com>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20170926101720.9479-1-chris@chris-wilson.co.uk
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
drivers/gpu/drm/i915/intel_lrc.c