Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Lukasz Fiedorowicz <lukasz.fiedorowicz@intel.com>
To: priyanka.dandamudi@intel.com, Arjun.Melkaveri@intel.com,
	igt-dev@lists.freedesktop.org, priyanka.dandamudi@intel.com
Subject: Re: [igt-dev] [PATCH i-g-t] i915/gem_vm_create: Added test description for test case
Date: Thu, 13 Aug 2020 16:46:08 +0200	[thread overview]
Message-ID: <875z9m8uz3.fsf@lfiedoro-desk1.igk.intel.com> (raw)
In-Reply-To: <20200810112246.15168-1-priyanka.dandamudi@intel.com>

<priyanka.dandamudi@intel.com> writes:

> From: Priyanka Dandamudi <priyanka.dandamudi@intel.com>
>
> Added test description for test and to all the available subtests.
>
> Cc: Melkaveri, Arjun <Arjun.Melkaveri@intel.com>
> Signed-off-by: Priyanka Dandamudi <priyanka.dandamudi@intel.com>
> ---
>  tests/i915/gem_vm_create.c | 20 +++++++++++++++-----
>  1 file changed, 15 insertions(+), 5 deletions(-)
>
> diff --git a/tests/i915/gem_vm_create.c b/tests/i915/gem_vm_create.c
> index e8af68f1..9fd8fb89 100644
> --- a/tests/i915/gem_vm_create.c
> +++ b/tests/i915/gem_vm_create.c
> @@ -26,6 +26,11 @@
>  #include "igt.h"
>  #include "igt_dummyload.h"
>  
> +IGT_TEST_DESCRIPTION("Test the basic vm creation ioctl,"
> +		 "where it checks if invalid combinations are rejected and "
> +		 "checks isolation that the same vm_id on different fd are indeed "
> +		 "different VM.");
> +
>  static int vm_create_ioctl(int i915, struct drm_i915_gem_vm_control *ctl)
>  {
>  	int err = 0;
> @@ -395,10 +400,10 @@ igt_main
>  		igt_require_gem(i915);
>  		igt_require(has_vm(i915));
>  	}
> -
> +	igt_describe("Checks if vm creation ioctl returns error for invalid flags and extensions.");
>  	igt_subtest("invalid-create")
>  		invalid_create(i915);
> -
> +	igt_describe("Checks if vm destroy ioctl returns error for invalid vmid's, flags and extensions.");
>  	igt_subtest("invalid-destroy")
>  		invalid_destroy(i915);
>  
> @@ -406,16 +411,21 @@ igt_main
>  		igt_fixture {
>  			gem_context_require_param(i915, I915_CONTEXT_PARAM_VM);
>  		}
> -
> +		igt_describe("Checks if offset for same context can be different for different VM's.");
>  		igt_subtest("execbuf")
>  			execbuf(i915);
>  
> +		igt_describe("Checks if same vmid in different fd are different VM, also " 
> +			     "proves that it cannot be written to vm from another fd.");
>  		igt_subtest("isolation")
>  			isolation(i915);
> -
> +		
> +		igt_describe("Checks if an already VMA for different contexts will try to keep its offset or not.");

Could you please rephrase this description. I have trouble understanding
what do you test here.
Other descriptions look good but please be consistent in
naming and use upper or lower case and stick to it (vm/VM, etc.)

>  		igt_subtest("create-ext")
>  			create_ext(i915);
> -
> +		
> +		igt_describe("Test tries to access same VM and context for "
> +			     "two different spin batches when vm has been destroyed asynchronously.");
>  		igt_subtest("async-destroy")
>  			async_destroy(i915);
>  	}
> -- 
> 2.26.2
>
> _______________________________________________
> igt-dev mailing list
> igt-dev@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/igt-dev


-- 
Thanks,
Lukasz
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

      parent reply	other threads:[~2020-08-13 14:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-10 11:22 [igt-dev] [PATCH i-g-t] i915/gem_vm_create: Added test description for test case priyanka.dandamudi
2020-08-10 12:13 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2020-08-10 14:24 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2020-08-13 14:46 ` Lukasz Fiedorowicz [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=875z9m8uz3.fsf@lfiedoro-desk1.igk.intel.com \
    --to=lukasz.fiedorowicz@intel.com \
    --cc=Arjun.Melkaveri@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=priyanka.dandamudi@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox