]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Add ourselves to the gpu error waitqueue for the entire wait
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 23 Feb 2017 07:44:11 +0000 (07:44 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 23 Feb 2017 14:49:29 +0000 (14:49 +0000)
commit1e20c811b107642e731b6c52760f866d9bb0ea7c
treea438bcfdb236d7896d12b87c20cbeaf9f2144323
parente751760bd378db70151292b5b37d58de1eb4d958
drm/i915: Add ourselves to the gpu error waitqueue for the entire wait

Add ourselves to the gpu error waitqueue earlier on, even before we
determine we have to wait on the seqno. This is so that we can then
share the waitqueue between stages in subsequent patches.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170223074422.4125-6-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem_request.c