]> 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)
commitd5b31dd891f562345d9816d46157bdf1981984f0
treea438bcfdb236d7896d12b87c20cbeaf9f2144323
parenta01c7f55ae118ecfab16e0ac6f7bf56e7a74ad23
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