drm/i915: Add unit tests for the breadcrumb rbtree, wakeups
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 13 Feb 2017 17:15:16 +0000 (17:15 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 13 Feb 2017 20:45:27 +0000 (20:45 +0000)
commite62e8ad1ba5701e0e0c1371041cbb677f75ba3fb
tree9af5f3b9312c08918a2ae57cef445010a19f492c
parentae1f8090b1a7f163a16d72ddc4214a327ce989e0
drm/i915: Add unit tests for the breadcrumb rbtree, wakeups

Third retroactive test, make sure that the seqno waiters are woken.

v2: Smattering of comments, rearrange code
v3: Fix IDLE assert to avoid startup/sleep races

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/20170213171558.20942-5-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/selftests/intel_breadcrumbs.c