[igt-dev] [PATCH 1/1] test/i915/gem_create: skip set_pat for non MTL devices

Andi Shyti andi.shyti at linux.intel.com
Thu Jul 27 08:47:03 UTC 2023


Hi Fei,

On Wed, Jul 26, 2023 at 05:10:39PM -0700, fei.yang at intel.com wrote:
> From: Fei Yang <fei.yang at intel.com>
> 
> Fix the logic checking for non-meteorlake devices.
> 
> Suggested-by: Tvrtko Ursulin <tvrtko.ursulin at linux.intel.com>
> Signed-off-by: Fei Yang <fei.yang at intel.com>
> Cc: Andi Shyti <andi.shyti at linux.intel.com>
> Cc: Kamil Konieczny <kamil.konieczny at linux.intel.com>
> ---
>  tests/i915/gem_create.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tests/i915/gem_create.c b/tests/i915/gem_create.c
> index 4b00fe6aa..87fde2963 100644
> --- a/tests/i915/gem_create.c
> +++ b/tests/i915/gem_create.c
> @@ -680,7 +680,7 @@ static void create_ext_set_pat(int fd)
>  	 * supported.
>  	 */
>  	igt_skip_on_f(ret == -EINVAL ||
> -		      (ret == -ENODEV && IS_METEORLAKE(devid)),
> +		      (ret == -ENODEV && !IS_METEORLAKE(devid)),

one day, I'm sure, we will get it right! :)

Reviewed-by: Andi Shyti <andi.shyti at linux.intel.com> 

Andi


More information about the igt-dev mailing list