mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-09 17:06:14 +00:00
gem_exec_nop.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
21e7e342c1
commit
bafbbf1cc8
@ -43,6 +43,7 @@
|
||||
#include "drmtest.h"
|
||||
#include "intel_gpu_tools.h"
|
||||
|
||||
#define LOCAL_I915_EXEC_VEBOX (4<<0)
|
||||
bool skipped_all = true;
|
||||
|
||||
static double elapsed(const struct timeval *start,
|
||||
@ -134,6 +135,9 @@ int main(int argc, char **argv)
|
||||
if (HAS_BLT_RING(devid))
|
||||
loop(fd, handle, I915_EXEC_BLT, "blt");
|
||||
|
||||
if (drmtest_run_subtest("vebox"))
|
||||
if (gem_has_vebox(fd))
|
||||
loop(fd, handle, LOCAL_I915_EXEC_VEBOX, "vebox");
|
||||
|
||||
gem_close(fd, handle);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user