commit | 737f59897d0ec2b8b47a77ba4100ec3790f3704e | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Thu Dec 14 22:17:26 2017 +0000 |
committer | Chris Wilson <chris@chris-wilson.co.uk> | Fri Dec 15 09:36:26 2017 +0000 |
tree | 5f45d5bdff064c28a4a70cb4c452e05aad989d24 | |
parent | 103af7286e2d1014e3d7126691fe046ab2c9f73e [diff] |
lib: Provide a library function to test nop execution Sometimes a test wants to verify that an engine, or all of them, are functional by executing a nop batch. Provide a common routine to submit an empty batch then test whether the driver is wedged. Reported-by: Antonio Argenziano <antonio.argenziano@intel.com> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Antonio Argenziano <antonio.argenziano@intel.com> Reviewed-by: Antonio Argenziano <antonio.argenziano@intel.com>