drm/i915: Add unit tests for the breadcrumb rbtree, wakeups
authorChris Wilson <[email protected]>
Mon, 13 Feb 2017 17:15:16 +0000 (17:15 +0000)
committerChris Wilson <[email protected]>
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 <[email protected]>
Reviewed-by: Tvrtko Ursulin <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
drivers/gpu/drm/i915/selftests/intel_breadcrumbs.c