diff options
author | Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com> | 2018-02-22 09:35:06 -0800 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2018-02-23 08:56:58 +0000 |
commit | 7040f3be1efec904c3ba5729a5a532d03346a161 (patch) | |
tree | 60cb2490bdd3f31374147ceb58a31e72d40b57e3 /lib/i915 | |
parent | e2e2b4c4d11a1aed2af1079c914e76df4eddbe76 (diff) |
lib/igt_dummyload: add igt_cork
The "cork" bo (imported bo with attached fence) and fence is used in several
tests to stall execution. Moving it to a common place makes the codebase
cleaner.
Note that the actual test updates is done in follow up patches as it is
simpler to do in one go after one more common function is added in the
next patch.
v2: don't use new/free naming, don't use dynamic alloc (Chris)
v3: add sw_sync common functions. (Chris)
v4: squash sw_sync and vgem cork structs into one. (Chris)
v5: use anonymous enum in cork struct. (Chris)
v6: reset cork after unplugging. (Chris)
Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Signed-off-by: Antonio Argenziano <antonio.argenziano@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'lib/i915')
0 files changed, 0 insertions, 0 deletions