diff options
author | Gwan-gyeong Mun <gwan-gyeong.mun@intel.com> | 2022-01-11 14:01:53 +0200 |
---|---|---|
committer | Ashutosh Dixit <ashutosh.dixit@intel.com> | 2022-01-14 23:20:08 -0800 |
commit | 0d559158c2d3b5723abbfc2cb4b04532e28663b2 (patch) | |
tree | 74cb0e6758b031bf6b68df8eb0cc5ec8ca4d9379 /tests/i915/gem_userptr_blits.c | |
parent | ec75f64fcbcf4aac58fbf1bf629e8f59b19db4ce (diff) |
tests/i915/gem_userptr_blits: Skip sd-probe test for discrete platforms
DRM_IOCTL_I915_GEM_SET_DOMAIN ioctl is not supported on discrete platforms.
Skip sd-probe test for discrete platforms.
https://patchwork.freedesktop.org/patch/msgid/20210715101536.2606307-5-matthew.auld@intel.com
v2: add a newline at the end of the skip string and fix the skip string. (Petri)
v3: update the commit message. (Petri)
Cc: Matthew Auld <matthew.auld@intel.com>
Cc: Petri Latvala <petri.latvala@intel.com>
Signed-off-by: Gwan-gyeong Mun <gwan-gyeong.mun@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Reviewed-by: Petri Latvala <petri.latvala@intel.com>
Diffstat (limited to 'tests/i915/gem_userptr_blits.c')
-rw-r--r-- | tests/i915/gem_userptr_blits.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/i915/gem_userptr_blits.c b/tests/i915/gem_userptr_blits.c index a4dca4c0..ec3f2755 100644 --- a/tests/i915/gem_userptr_blits.c +++ b/tests/i915/gem_userptr_blits.c @@ -2374,8 +2374,11 @@ igt_main_args("c:", NULL, help_str, opt_handler, NULL) igt_subtest("forbidden-operations") test_forbidden_ops(fd); - igt_subtest("sd-probe") + igt_subtest("sd-probe") { + igt_skip_on_f(gem_has_lmem(fd), + "GEM_SET_DOMAIN not supported on discrete platforms\n"); test_sd_probe(fd); + } igt_subtest("set-cache-level") test_set_caching(fd); |