[Intel-gfx] [PATCH 4/8] gem_cs_tlb.c: add vebox test case
Ben Widawsky
benjamin.widawsky at intel.com
Sat Apr 27 20:41:50 CEST 2013
On Tue, Apr 23, 2013 at 03:06:44PM +0800, Zhong Li wrote:
> Signed-off-by: Zhong Li <zhong.li at intel.com>
> ---
> tests/gem_cs_tlb.c | 6 +++++-
> 1 file changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/tests/gem_cs_tlb.c b/tests/gem_cs_tlb.c
> index 9f49ac9..6c190d7 100644
> --- a/tests/gem_cs_tlb.c
> +++ b/tests/gem_cs_tlb.c
> @@ -172,7 +172,11 @@ int main(int argc, char **argv)
> if (drmtest_run_subtest("blt"))
> if (HAS_BLT_RING(devid))
> run_on_ring(fd, I915_EXEC_BLT, "blt");
> -
> +
> + if (drmtest_run_subtest("vebox"))
> + if (HAS_BLT_RING(devid))
> + run_on_ring(fd, I915_EXEC_VEBOX, "vebox");
> +
> close(fd);
>
> return skipped_all ? 77 : 0;
> --
> 1.7.9.5
>
Oh, also, s/I915_EXEC_VEBOX/LOCAL_I915_EXEC_VEBOX so it can build with
older libdrm.
--
Ben Widawsky, Intel Open Source Technology Center
More information about the Intel-gfx
mailing list