mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-10 09:26:10 +00:00
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>
This commit is contained in:
parent
b6fa628db0
commit
21e7e342c1
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user