OSDN Git Service

drm/i915: Add unit tests for the breadcrumb rbtree, completion
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 13 Feb 2017 17:15:15 +0000 (17:15 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 13 Feb 2017 20:45:26 +0000 (20:45 +0000)
commitae1f8090b1a7f163a16d72ddc4214a327ce989e0
treeafeecf106a02235f9c210a41f096624c22eb6e96
parentf97fbf9606a1a96d61d171e1ed1606b2b812fb01
drm/i915: Add unit tests for the breadcrumb rbtree, completion

Second retroactive test, make sure that the waiters are removed from the
global wait-tree when their seqno completes.

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