]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Assert that the request hasn't been retired
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 5 Aug 2016 09:14:24 +0000 (10:14 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 5 Aug 2016 09:54:44 +0000 (10:54 +0100)
commit67b87355adbda5c315f6375094f24432f57f2fd3
treef22fc50640a6329654364a9551a3578de56f15d7
parent21657e7b55468fb1b2599c7234be874a211b2d85
drm/i915: Assert that the request hasn't been retired

With all callers now not playing tricks with dropping the struct_mutex
between waiting and retiring, we can assert that the request is ready to
be retired.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1470388464-28458-19-git-send-email-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem_request.c