[Intel-gfx] [igt-dev] [PATCH i-g-t] igt/gem_render_copy_redux: Check for GEM before use

Ville Syrjälä ville.syrjala at linux.intel.com
Thu Jul 12 19:00:05 UTC 2018


On Thu, Jul 12, 2018 at 04:38:49PM +0100, Chris Wilson wrote:
> As render copy wants to use the GPU, we should make sure it is not
> wedged first.
> 
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>

Reviewed-by: Ville Syrjälä <ville.syrjala at linux.intel.com>

> ---
>  tests/gem_render_copy_redux.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/tests/gem_render_copy_redux.c b/tests/gem_render_copy_redux.c
> index 27098ea6d..a861862d0 100644
> --- a/tests/gem_render_copy_redux.c
> +++ b/tests/gem_render_copy_redux.c
> @@ -209,6 +209,7 @@ int main(int argc, char **argv)
>  
>  	igt_fixture {
>  		data_init(&data);
> +		igt_require_gem(data.fd);
>  	}
>  
>  	igt_subtest("normal") {
> -- 
> 2.18.0
> 
> _______________________________________________
> igt-dev mailing list
> igt-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/igt-dev

-- 
Ville Syrjälä
Intel


More information about the Intel-gfx mailing list