drm/i915: Assert all timeline requests are gone before fini
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 5 Jan 2017 15:30:19 +0000 (15:30 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 5 Jan 2017 15:34:40 +0000 (15:34 +0000)
commitd51dafaf07bf78ff0db4f2c238287dd9ccf42c08
tree98cfcc8477cc8b5e893c77055269d39032754343
parentb1ed35d9179bc42c5ac7b86548cfae589be17b3e
drm/i915: Assert all timeline requests are gone before fini

During i915_gem_timeline_fini(), assert that all the timeline's request
are completed and removed from the timeline.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170105153023.30575-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem_timeline.c