[igt-dev] [i-g-t] tests/i915/gem_media_vme : skip on no media Samplers

Ye, Tony tony.ye at intel.com
Thu Dec 30 04:29:00 UTC 2021



> 在 2021年12月30日,上午10:08,Mastan Katragadda <mastanx.katragadda at intel.com> 写道:
> 
> Media samplers are not present on some of Gen11 platforms adding
> skip on EHL and JSL as per Bspec.
> 
> Bspec:29151
> 
> Changes since V1 :
>        Moved this skip check to igt_get_media_vme_func.[Tony Ye]
> 
> CC: Tony Ye <tony.ye at intel.com>
> Signed-off-by: Mastan Katragadda <mastanx.katragadda at intel.com>
> ---
> lib/intel_batchbuffer.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/lib/intel_batchbuffer.c b/lib/intel_batchbuffer.c
> index 6fc81400..10d8a6e0 100644
> --- a/lib/intel_batchbuffer.c
> +++ b/lib/intel_batchbuffer.c
> @@ -1187,8 +1187,9 @@ igt_fillfunc_t igt_get_media_fillfunc(int devid)
> igt_vme_func_t igt_get_media_vme_func(int devid)
> {
>    igt_vme_func_t fill = NULL;
> +    const struct intel_device_info *devinfo = intel_get_device_info(devid);
> 
> -    if (IS_GEN11(devid))
> +    if (IS_GEN11(devid) && !devinfo->is_elkhartlake && !devinfo->is_jasperlake)
>        fill = gen11_media_vme_func;

Reviewed-by: Tony Ye <tony.ye at intel.com>

Regards,
Tony

> 
>    return fill;
> -- 
> 2.25.1
> 


More information about the igt-dev mailing list