[igt-dev] [PATCH v2] tests/i915/gem_userptr_blits: Skip sd-probe test for discrete platforms
Petri Latvala
petri.latvala at intel.com
Tue Jan 11 07:02:27 UTC 2022
On Mon, Jan 10, 2022 at 04:01:05PM +0200, Gwan-gyeong Mun wrote:
> The DRM_IOCTL_I915_GEM_SET_DOMAIN ioctl does not support for discrete gpu.
> It skips 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)
>
> Cc: Matthew Auld <matthew.auld at intel.com>
> Cc: Petri Latvala <petri.latvala at intel.com>
> Signed-off-by: Gwan-gyeong Mun <gwan-gyeong.mun at intel.com>
> Reviewed-by: Matthew Auld <matthew.auld at intel.com>
Reviewed-by: Petri Latvala <petri.latvala at intel.com>
But you might want to do the same grammarly edit to the commit
message.
> ---
> tests/i915/gem_userptr_blits.c | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
>
> 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);
> --
> 2.34.1
>
More information about the igt-dev
mailing list