[PATCH i-g-t 19/24] tests: Introduce intel-nouveau subcategory

Mauro Carvalho Chehab mauro.chehab at linux.intel.com
Mon Mar 4 15:23:26 UTC 2024


On Mon,  4 Mar 2024 11:16:12 +0000
Katarzyna Piecielska <katarzyna.piecielska at intel.com> wrote:

> There are some intel-nouveau tests that deserve its own subcategory.

LGTM.
Reviewed-by: Mauro Carvalho Chehab <mchehab at kernel.org>

> 
> Signed-off-by: Katarzyna Piecielska <katarzyna.piecielska at intel.com>
> Cc: Kamil Konieczny <kamil.konieczny at linux.intel.com>
> Cc: Mauro Carvalho Chehab <mauro.chehab at linux.intel.com>
> Cc: Maarten Lankhorst <maarten.lankhorst at linux.intel.com>
> Cc: Zbigniew Kempczyński <zbigniew.kempczynski at intel.com>
> ---
>  tests/prime_nv_api.c   | 22 ++++++++++++++++++++++
>  tests/prime_nv_pcopy.c | 18 ++++++++++++++++++
>  tests/prime_nv_test.c  | 17 +++++++++++++++++
>  3 files changed, 57 insertions(+)
> 
> diff --git a/tests/prime_nv_api.c b/tests/prime_nv_api.c
> index cb3d52e8d..a33e2202b 100644
> --- a/tests/prime_nv_api.c
> +++ b/tests/prime_nv_api.c
> @@ -8,6 +8,28 @@
>     test4 - export handle twice from intel, import into nouveau twice, check handle is the same
>  */
>  
> +/**
> + * TEST: prime_nv_api
> + * Description: Basic api tests between intel and nouveau
> + * Sub-category: uapi
> + * Functionality: intel-nouveau
> + * Run type: FULL
> + *
> + * SUBTEST: i915_nv_import_twice
> + * SUBTEST: i915_nv_import_twice_check_flink_name
> + * SUBTEST: i915_nv_reimport_twice_check_flink_name
> + * SUBTEST: nv_i915_import_twice_check_flink_name
> + * SUBTEST: nv_i915_reimport_twice_check_flink_name
> + * SUBTEST: i915_nv_import_vs_close
> + * SUBTEST: i915_nv_double_import
> + * SUBTEST: i915_nv_double_export
> + * SUBTEST: i915_self_import
> + * SUBTEST: nv_self_import
> + * SUBTEST: i915_self_import_to_different_fd
> + * SUBTEST: nv_self_import_to_different_fd
> + *
> + */
> +
>  #include "igt.h"
>  #include <stdio.h>
>  #include <stdlib.h>
> diff --git a/tests/prime_nv_pcopy.c b/tests/prime_nv_pcopy.c
> index 5b2a89d80..ecaa9fb1b 100644
> --- a/tests/prime_nv_pcopy.c
> +++ b/tests/prime_nv_pcopy.c
> @@ -13,6 +13,24 @@
>     TODO add some nouveau rendering tests
>  */
>  
> +/**
> + * TEST: prime_nv_pcopy
> + * Description: Basic set of prime tests between intel and nouveau
> + * Sub-category: intel-nouveau
> + * Functionality: buffer management
> + * Run type: FULL
> + *
> + * SUBTEST: test1_macro
> + * SUBTEST: test1_micro
> + * SUBTEST: test2
> + * SUBTEST: test3_1
> + * SUBTEST: test3_2
> + * SUBTEST: test3_3
> + * SUBTEST: test3_4
> + * SUBTEST: test3_5
> + * SUBTEST: test_semaphore
> + *
> + */
>  
>  #include "igt.h"
>  #include <inttypes.h>
> diff --git a/tests/prime_nv_test.c b/tests/prime_nv_test.c
> index eb5e2d8ea..be9e56414 100644
> --- a/tests/prime_nv_test.c
> +++ b/tests/prime_nv_test.c
> @@ -13,6 +13,23 @@
>     TODO add some nouveau rendering tests
>  */
>  
> +/**
> + * TEST: prime_nv_test
> + * Description: Basic set of prime tests between intel and nouveau
> + * Sub-category: intel-nouveau
> + * Functionality: buffer management
> + * Run type: FULL
> + *
> + * SUBTEST: i915_nv_sharing
> + * SUBTEST: nv_i915_sharing
> + * SUBTEST: nv_write_i915_cpu_mmap_read
> + * SUBTEST: nv_write_i915_gtt_mmap_read
> + * SUBTEST: i915_import_cpu_mmap
> + * SUBTEST: i915_import_gtt_mmap
> + * SUBTEST: i915_import_pread_pwrite
> + * SUBTEST: i915_blt_fill_nv_read
> + *
> + */
>  
>  #include "igt.h"
>  #include <stdio.h>


More information about the igt-dev mailing list