[igt-dev] [PATCH v3 0/1] test/gem_create: limit set_pat only to Meteor Lake

Andi Shyti andi.shyti at linux.intel.com
Tue Jun 6 17:52:25 UTC 2023


From: Fei Yang <fei.yang at intel.com>

An agreement was reached to expose gem_create_ext_set_pat
extension to Meteor Lake only. For older platforms the extension
would return -ENODEV.

Thanks Kamil for the review!

v3: Fix misleading commit log.
    Use igt_assert_eq() instead of igt_assert(==).
    Check for -EINVAL first and then for MTL.
    Do not return after igt_assert_eq.
v2: Limit the test to Meteor Lake.

Fei Yang (1):
  test/gem_create: limit set_pat only to Meteor Lake

 tests/i915/gem_create.c | 4 ++++
 1 file changed, 4 insertions(+)

-- 
2.40.1



More information about the igt-dev mailing list