[igt-dev] [PATCH i-g-t] tests/intel/kms_big_fb: skip if rendercopy support is not present

Modem, Bhanuprakash bhanuprakash.modem at intel.com
Mon Nov 6 07:52:38 UTC 2023


On Wed-11-10-2023 10:10 am, Swati Sharma wrote:
> Skip test if rendercopy support is not present.
> 
> Cc: Juha-Pekka Heikkila <juhapekka.heikkila at gmail.com>
> Signed-off-by: Swati Sharma <swati2.sharma at intel.com>

Reviewed-by: Bhanuprakash Modem <bhanuprakash.modem at intel.com>

> ---
>   tests/intel/kms_big_fb.c | 2 ++
>   1 file changed, 2 insertions(+)
> 
> diff --git a/tests/intel/kms_big_fb.c b/tests/intel/kms_big_fb.c
> index 2c7b24fca..5d93d8d0d 100644
> --- a/tests/intel/kms_big_fb.c
> +++ b/tests/intel/kms_big_fb.c
> @@ -1072,6 +1072,8 @@ igt_main
>   		if (intel_display_ver(data.devid) >= 4)
>   			data.render_copy = igt_get_render_copyfunc(data.devid);
>   
> +		igt_skip_on(!data.render_copy);
> +
>   		data.bops = buf_ops_create(data.drm_fd);
>   
>   		data.planeclearrgb[0] = 0.0;


More information about the igt-dev mailing list