]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
commit209b3f7ed0e865ef0f3ffde3d623703019daeafc
treef22fc50640a6329654364a9551a3578de56f15d7
parent3e510a8e65ef6d1cf45c18bf79c8f91ec481f154
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