diff options
| author | Zhong Li <zhong.li@intel.com> | 2013-04-23 15:06:44 +0800 |
|---|---|---|
| committer | Ben Widawsky <ben@bwidawsk.net> | 2013-04-27 11:57:30 -0700 |
| commit | 21e7e342c14a69d62a24a9bce89b66c3ef0fd208 (patch) | |
| tree | 7b154f61dd8831bb56290987df6902f6eb7ed0ad | |
| parent | b6fa628db0459c4a6b5946527570879a0c551898 (diff) | |
gem_cs_tlb.c: add vebox test case
v2 (Ben):
Fixed whitespace,
s/HAS_BLT_RING/gem_has_vebox/
s/I915_EXEC_VEBOX/LOCAL_I915_EXEC_VEBOX
Signed-off-by: Zhong Li <zhong.li@intel.com>
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
| -rw-r--r-- | tests/gem_cs_tlb.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/gem_cs_tlb.c b/tests/gem_cs_tlb.c index 9f49ac981..9f8f76238 100644 --- a/tests/gem_cs_tlb.c +++ b/tests/gem_cs_tlb.c @@ -53,6 +53,7 @@ #include "drmtest.h" #include "intel_gpu_tools.h" +#define LOCAL_I915_EXEC_VEBOX (4<<0) #define BATCH_SIZE (1024*1024) bool skipped_all = true; @@ -173,6 +174,10 @@ int main(int argc, char **argv) if (HAS_BLT_RING(devid)) run_on_ring(fd, I915_EXEC_BLT, "blt"); + if (drmtest_run_subtest("vebox")) + if (gem_has_vebox(fd)) + run_on_ring(fd, LOCAL_I915_EXEC_VEBOX, "vebox"); + close(fd); return skipped_all ? 77 : 0; |
