[Intel-gfx] [PATCH 4/8] gem_cs_tlb.c: add vebox test case

Ben Widawsky benjamin.widawsky at intel.com
Sat Apr 27 20:40:31 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
> 


Please watch your whitespace, and s/HAS_BLT_RING/HAS_VEBOX_RING/

I've fixed both locally.

-- 
Ben Widawsky, Intel Open Source Technology Center



More information about the Intel-gfx mailing list