Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t] xe_create: create-big-vram subtest
@ 2023-11-13 19:20 Marcin Bernatowicz
  2023-11-20 17:51 ` Kamil Konieczny
  0 siblings, 1 reply; 13+ messages in thread
From: Marcin Bernatowicz @ 2023-11-13 19:20 UTC (permalink / raw)
  To: igt-dev; +Cc: adam.miszczak, jakub1.kolakowski

Validates the creation of significant Buffer Objects (BO) within VRAM,
accounting for 75% of the CPU-visible VRAM size.
The size of the created BO can be adjusted using command line parameters,
with '-S' representing BO size in MB,
and '-p' representing BO size as a percentage of the VRAM size.

Signed-off-by: Marcin Bernatowicz <marcin.bernatowicz@intel.com>
---
 tests/intel/xe_create.c | 79 ++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 78 insertions(+), 1 deletion(-)

diff --git a/tests/intel/xe_create.c b/tests/intel/xe_create.c
index d99bd51cf..fc1b23823 100644
--- a/tests/intel/xe_create.c
+++ b/tests/intel/xe_create.c
@@ -18,6 +18,14 @@
 
 #define PAGE_SIZE 0x1000
 
+static struct param {
+	int size_MB;
+	int vram_percent;
+} params = {
+	.size_MB = 0,
+	.vram_percent = 75,
+};
+
 static int __create_bo(int fd, uint32_t vm, uint64_t size, uint32_t flags,
 		       uint32_t *handlep)
 {
@@ -207,7 +215,72 @@ static void create_massive_size(int fd)
 	}
 }
 
-igt_main
+/**
+ * SUBTEST: create-big-vram
+ * Functionality: BO creation
+ * Test category: functionality test
+ * Description: Validates the creation of substantial BO within VRAM
+ *              (constituting 75% of the CPU-visible VRAM).
+ */
+static void create_big_vram(int fd)
+{
+	uint64_t bo_size, size, vram_size, alignment;
+	uint32_t bo_handle;
+	char *bo_ptr = NULL;
+	uint64_t vm = 0;
+	int gt;
+
+	igt_require(xe_has_vram(fd));
+	alignment = xe_get_default_alignment(fd);
+	vm = xe_vm_create(fd, DRM_XE_VM_CREATE_ASYNC_DEFAULT, 0);
+
+	xe_for_each_gt(fd, gt) {
+		vram_size = xe_visible_vram_size(fd, gt);
+		bo_size = params.size_MB ? params.size_MB * 1024UL * 1024UL
+					 : ALIGN(vram_size * params.vram_percent / 100, alignment);
+		igt_debug("gt%u bo_size=%lu visible_vram_size=%lu\n", gt, bo_size, vram_size);
+
+		igt_assert_eq(0, __create_bo(fd, vm, bo_size, vram_memory(fd, gt), &bo_handle));
+		bo_ptr = xe_bo_map(fd, bo_handle, bo_size);
+		size = bo_size - 1;
+		while (size > SZ_64K) {
+			igt_assert_eq(0, READ_ONCE(bo_ptr[size]));
+			WRITE_ONCE(bo_ptr[size], 'A');
+			igt_assert_eq('A', READ_ONCE(bo_ptr[size]));
+			size >>= 1;
+		}
+		igt_assert_eq(0, bo_ptr[0]);
+		munmap(bo_ptr, bo_size);
+		gem_close(fd, bo_handle);
+	}
+
+	xe_vm_destroy(fd, vm);
+}
+
+static int opt_handler(int opt, int opt_index, void *data)
+{
+	switch (opt) {
+	case 'S':
+		params.size_MB = atoi(optarg);
+		igt_debug("Size MB: %d\n", params.size_MB);
+		break;
+	case 'p':
+		params.vram_percent = atoi(optarg);
+		igt_debug("Percent of VRAM: %d\n", params.vram_percent);
+		break;
+	default:
+		return IGT_OPT_HANDLER_ERROR;
+	}
+
+	return IGT_OPT_HANDLER_SUCCESS;
+}
+
+const char *help_str =
+	"  -S\tBO size in MB\n"
+	"  -p\tPercent of VRAM for BO (default 75% of visible VRAM size)\n"
+	;
+
+igt_main_args("S:p:", NULL, help_str, opt_handler, NULL)
 {
 	int xe;
 
@@ -228,6 +301,10 @@ igt_main
 		create_massive_size(xe);
 	}
 
+	igt_subtest("create-big-vram") {
+		create_big_vram(xe);
+	}
+
 	igt_fixture
 		drm_close_driver(xe);
 }
-- 
2.31.1

^ permalink raw reply related	[flat|nested] 13+ messages in thread

* Re: [igt-dev] [PATCH i-g-t] xe_create: create-big-vram subtest
  2023-11-13 19:20 Marcin Bernatowicz
@ 2023-11-20 17:51 ` Kamil Konieczny
  0 siblings, 0 replies; 13+ messages in thread
From: Kamil Konieczny @ 2023-11-20 17:51 UTC (permalink / raw)
  To: igt-dev; +Cc: Marcin Bernatowicz, jakub1.kolakowski, adam.miszczak

Hi Marcin,
On 2023-11-13 at 20:20:56 +0100, Marcin Bernatowicz wrote:
> Validates the creation of significant Buffer Objects (BO) within VRAM,
> accounting for 75% of the CPU-visible VRAM size.
> The size of the created BO can be adjusted using command line parameters,
> with '-S' representing BO size in MB,
> and '-p' representing BO size as a percentage of the VRAM size.
> 
> Signed-off-by: Marcin Bernatowicz <marcin.bernatowicz@intel.com>

Please rebase and correct flag to DRM_XE_VM_CREATE_FLAG_ASYNC_DEFAULT
(test changed and also there was xe drm-uapi update).

> ---
>  tests/intel/xe_create.c | 79 ++++++++++++++++++++++++++++++++++++++++-
>  1 file changed, 78 insertions(+), 1 deletion(-)
> 
> diff --git a/tests/intel/xe_create.c b/tests/intel/xe_create.c
> index d99bd51cf..fc1b23823 100644
> --- a/tests/intel/xe_create.c
> +++ b/tests/intel/xe_create.c
> @@ -18,6 +18,14 @@
>  
>  #define PAGE_SIZE 0x1000
>  
> +static struct param {
> +	int size_MB;
--- ^
unsigned

> +	int vram_percent;
--- ^
unsigned

> +} params = {
> +	.size_MB = 0,
> +	.vram_percent = 75,
> +};
> +
>  static int __create_bo(int fd, uint32_t vm, uint64_t size, uint32_t flags,
>  		       uint32_t *handlep)
>  {
> @@ -207,7 +215,72 @@ static void create_massive_size(int fd)
>  	}
>  }
>  
> -igt_main
> +/**
> + * SUBTEST: create-big-vram
> + * Functionality: BO creation
> + * Test category: functionality test
> + * Description: Validates the creation of substantial BO within VRAM
> + *              (constituting 75% of the CPU-visible VRAM).
> + */
> +static void create_big_vram(int fd)
> +{
> +	uint64_t bo_size, size, vram_size, alignment;
> +	uint32_t bo_handle;
> +	char *bo_ptr = NULL;
> +	uint64_t vm = 0;
> +	int gt;
> +
> +	igt_require(xe_has_vram(fd));
> +	alignment = xe_get_default_alignment(fd);
> +	vm = xe_vm_create(fd, DRM_XE_VM_CREATE_ASYNC_DEFAULT, 0);
> +
> +	xe_for_each_gt(fd, gt) {
> +		vram_size = xe_visible_vram_size(fd, gt);
> +		bo_size = params.size_MB ? params.size_MB * 1024UL * 1024UL

1024ULL

> +					 : ALIGN(vram_size * params.vram_percent / 100, alignment);
> +		igt_debug("gt%u bo_size=%lu visible_vram_size=%lu\n", gt, bo_size, vram_size);
> +
> +		igt_assert_eq(0, __create_bo(fd, vm, bo_size, vram_memory(fd, gt), &bo_handle));
> +		bo_ptr = xe_bo_map(fd, bo_handle, bo_size);
> +		size = bo_size - 1;
> +		while (size > SZ_64K) {
> +			igt_assert_eq(0, READ_ONCE(bo_ptr[size]));
> +			WRITE_ONCE(bo_ptr[size], 'A');
> +			igt_assert_eq('A', READ_ONCE(bo_ptr[size]));
> +			size >>= 1;
> +		}

Add newline here.

Regards,
Kamil

> +		igt_assert_eq(0, bo_ptr[0]);
> +		munmap(bo_ptr, bo_size);
> +		gem_close(fd, bo_handle);
> +	}
> +
> +	xe_vm_destroy(fd, vm);
> +}
> +
> +static int opt_handler(int opt, int opt_index, void *data)
> +{
> +	switch (opt) {
> +	case 'S':
> +		params.size_MB = atoi(optarg);
> +		igt_debug("Size MB: %d\n", params.size_MB);
> +		break;
> +	case 'p':
> +		params.vram_percent = atoi(optarg);
> +		igt_debug("Percent of VRAM: %d\n", params.vram_percent);
> +		break;
> +	default:
> +		return IGT_OPT_HANDLER_ERROR;
> +	}
> +
> +	return IGT_OPT_HANDLER_SUCCESS;
> +}
> +
> +const char *help_str =
> +	"  -S\tBO size in MB\n"
> +	"  -p\tPercent of VRAM for BO (default 75% of visible VRAM size)\n"
> +	;
> +
> +igt_main_args("S:p:", NULL, help_str, opt_handler, NULL)
>  {
>  	int xe;
>  
> @@ -228,6 +301,10 @@ igt_main
>  		create_massive_size(xe);
>  	}
>  
> +	igt_subtest("create-big-vram") {
> +		create_big_vram(xe);
> +	}
> +
>  	igt_fixture
>  		drm_close_driver(xe);
>  }
> -- 
> 2.31.1
> 

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [igt-dev] [PATCH i-g-t] xe_create: create-big-vram subtest
@ 2023-11-21 13:50 Marcin Bernatowicz
  2023-11-21 13:56 ` Laguna, Lukasz
  2023-11-21 15:42 ` Matthew Auld
  0 siblings, 2 replies; 13+ messages in thread
From: Marcin Bernatowicz @ 2023-11-21 13:50 UTC (permalink / raw)
  To: igt-dev; +Cc: jakub1.kolakowski

Validates the creation of significant Buffer Objects (BO) within VRAM,
accounting for 75% of the CPU-visible VRAM size.
The size of the created BO can be adjusted using command line parameters,
with '-S' representing BO size in MB,
and '-p' representing BO size as a percentage of the VRAM size.

v2: rebased, updated to uAPI changes (DRM_XE_VM_CREATE_FLAG_ASYNC_DEFAULT),
    after review corrections: 1024UL -> 1024ULL,
    int -> unsigned int (Kamil)

Signed-off-by: Marcin Bernatowicz <marcin.bernatowicz@intel.com>
---
 tests/intel/xe_create.c | 80 ++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 79 insertions(+), 1 deletion(-)

diff --git a/tests/intel/xe_create.c b/tests/intel/xe_create.c
index f4633cfb3..3ff9bb750 100644
--- a/tests/intel/xe_create.c
+++ b/tests/intel/xe_create.c
@@ -18,6 +18,14 @@
 
 #define PAGE_SIZE 0x1000
 
+static struct param {
+	unsigned int size_MB;
+	unsigned int vram_percent;
+} params = {
+	.size_MB = 0,
+	.vram_percent = 75,
+};
+
 static int __create_bo(int fd, uint32_t vm, uint64_t size, uint32_t flags,
 		       uint32_t *handlep)
 {
@@ -214,7 +222,73 @@ static void create_massive_size(int fd)
 	}
 }
 
-igt_main
+/**
+ * SUBTEST: create-big-vram
+ * Functionality: BO creation
+ * Test category: functionality test
+ * Description: Validates the creation of substantial BO within VRAM
+ *              (constituting 75% of the CPU-visible VRAM).
+ */
+static void create_big_vram(int fd)
+{
+	uint64_t bo_size, size, vram_size, alignment;
+	uint32_t bo_handle;
+	char *bo_ptr = NULL;
+	uint64_t vm = 0;
+	int gt;
+
+	igt_require(xe_has_vram(fd));
+	alignment = xe_get_default_alignment(fd);
+	vm = xe_vm_create(fd, DRM_XE_VM_CREATE_FLAG_ASYNC_DEFAULT, 0);
+
+	xe_for_each_gt(fd, gt) {
+		vram_size = xe_visible_vram_size(fd, gt);
+		bo_size = params.size_MB ? params.size_MB * 1024ULL * 1024ULL
+					 : ALIGN(vram_size * params.vram_percent / 100, alignment);
+		igt_debug("gt%u bo_size=%lu visible_vram_size=%lu\n", gt, bo_size, vram_size);
+
+		igt_assert_eq(0, __create_bo(fd, vm, bo_size, vram_memory(fd, gt), &bo_handle));
+		bo_ptr = xe_bo_map(fd, bo_handle, bo_size);
+		size = bo_size - 1;
+		while (size > SZ_64K) {
+			igt_assert_eq(0, READ_ONCE(bo_ptr[size]));
+			WRITE_ONCE(bo_ptr[size], 'A');
+			igt_assert_eq('A', READ_ONCE(bo_ptr[size]));
+			size >>= 1;
+		}
+
+		igt_assert_eq(0, bo_ptr[0]);
+		munmap(bo_ptr, bo_size);
+		gem_close(fd, bo_handle);
+	}
+
+	xe_vm_destroy(fd, vm);
+}
+
+static int opt_handler(int opt, int opt_index, void *data)
+{
+	switch (opt) {
+	case 'S':
+		params.size_MB = atoi(optarg);
+		igt_debug("Size MB: %d\n", params.size_MB);
+		break;
+	case 'p':
+		params.vram_percent = atoi(optarg);
+		igt_debug("Percent of VRAM: %d\n", params.vram_percent);
+		break;
+	default:
+		return IGT_OPT_HANDLER_ERROR;
+	}
+
+	return IGT_OPT_HANDLER_SUCCESS;
+}
+
+const char *help_str =
+	"  -S\tBO size in MB\n"
+	"  -p\tPercent of VRAM for BO (default 75% of visible VRAM size)\n"
+	;
+
+igt_main_args("S:p:", NULL, help_str, opt_handler, NULL)
 {
 	int xe;
 
@@ -254,6 +328,10 @@ igt_main
 	}
 
 
+	igt_subtest("create-big-vram") {
+		create_big_vram(xe);
+	}
+
 	igt_fixture
 		drm_close_driver(xe);
 }
-- 
2.31.1

^ permalink raw reply related	[flat|nested] 13+ messages in thread

* Re: [igt-dev] [PATCH i-g-t] xe_create: create-big-vram subtest
  2023-11-21 13:50 [igt-dev] [PATCH i-g-t] xe_create: create-big-vram subtest Marcin Bernatowicz
@ 2023-11-21 13:56 ` Laguna, Lukasz
  2023-11-21 15:42 ` Matthew Auld
  1 sibling, 0 replies; 13+ messages in thread
From: Laguna, Lukasz @ 2023-11-21 13:56 UTC (permalink / raw)
  To: Marcin Bernatowicz, igt-dev; +Cc: jakub1.kolakowski

[-- Attachment #1: Type: text/plain, Size: 3828 bytes --]

On 11/21/2023 14:50, Marcin Bernatowicz wrote:
> Validates the creation of significant Buffer Objects (BO) within VRAM,
> accounting for 75% of the CPU-visible VRAM size.

maybe create BO with CPU-*available *VRAM size (CPU-visible VRAM size - 
used VRAM)?

> The size of the created BO can be adjusted using command line parameters,
> with '-S' representing BO size in MB,
> and '-p' representing BO size as a percentage of the VRAM size.
>
> v2: rebased, updated to uAPI changes (DRM_XE_VM_CREATE_FLAG_ASYNC_DEFAULT),
>      after review corrections: 1024UL -> 1024ULL,
>      int -> unsigned int (Kamil)
>
> Signed-off-by: Marcin Bernatowicz<marcin.bernatowicz@intel.com>
> ---
>   tests/intel/xe_create.c | 80 ++++++++++++++++++++++++++++++++++++++++-
>   1 file changed, 79 insertions(+), 1 deletion(-)
>
> diff --git a/tests/intel/xe_create.c b/tests/intel/xe_create.c
> index f4633cfb3..3ff9bb750 100644
> --- a/tests/intel/xe_create.c
> +++ b/tests/intel/xe_create.c
> @@ -18,6 +18,14 @@
>   
>   #define PAGE_SIZE 0x1000
>   
> +static struct param {
> +	unsigned int size_MB;
nit: size_mb?
> +	unsigned int vram_percent;
> +} params = {
> +	.size_MB = 0,
> +	.vram_percent = 75,
> +};
> +
>   static int __create_bo(int fd, uint32_t vm, uint64_t size, uint32_t flags,
>   		       uint32_t *handlep)
>   {
> @@ -214,7 +222,73 @@ static void create_massive_size(int fd)
>   	}
>   }
>   
> -igt_main
> +/**
> + * SUBTEST: create-big-vram
> + * Functionality: BO creation
> + * Test category: functionality test
> + * Description: Validates the creation of substantial BO within VRAM
> + *              (constituting 75% of the CPU-visible VRAM).
> + */
> +static void create_big_vram(int fd)
> +{
> +	uint64_t bo_size, size, vram_size, alignment;
> +	uint32_t bo_handle;
> +	char *bo_ptr = NULL;
> +	uint64_t vm = 0;
> +	int gt;
> +
> +	igt_require(xe_has_vram(fd));
> +	alignment = xe_get_default_alignment(fd);
> +	vm = xe_vm_create(fd, DRM_XE_VM_CREATE_FLAG_ASYNC_DEFAULT, 0);
> +
> +	xe_for_each_gt(fd, gt) {
> +		vram_size = xe_visible_vram_size(fd, gt);
> +		bo_size = params.size_MB ? params.size_MB * 1024ULL * 1024ULL
> +					 : ALIGN(vram_size * params.vram_percent / 100, alignment);
if you decide to don't use percentages you can use (xe_visible_vram_size 
- mem_region.used) when params.size_MB is 0 here. In such case I'm not 
sure if -p option is needed.
> +		igt_debug("gt%u bo_size=%lu visible_vram_size=%lu\n", gt, bo_size, vram_size);
> +
> +		igt_assert_eq(0, __create_bo(fd, vm, bo_size, vram_memory(fd, gt), &bo_handle));
nit: xe_bo_create_flags can be used instead
> +		bo_ptr = xe_bo_map(fd, bo_handle, bo_size);
> +		size = bo_size - 1;
> +		while (size > SZ_64K) {
> +			igt_assert_eq(0, READ_ONCE(bo_ptr[size]));
> +			WRITE_ONCE(bo_ptr[size], 'A');
> +			igt_assert_eq('A', READ_ONCE(bo_ptr[size]));
> +			size >>= 1;
> +		}
> +
> +		igt_assert_eq(0, bo_ptr[0]);
> +		munmap(bo_ptr, bo_size);
> +		gem_close(fd, bo_handle);
> +	}
> +
> +	xe_vm_destroy(fd, vm);
> +}
> +
> +static int opt_handler(int opt, int opt_index, void *data)
> +{
> +	switch (opt) {
> +	case 'S':
> +		params.size_MB = atoi(optarg);
> +		igt_debug("Size MB: %d\n", params.size_MB);
> +		break;
> +	case 'p':
> +		params.vram_percent = atoi(optarg);
> +		igt_debug("Percent of VRAM: %d\n", params.vram_percent);
> +		break;
> +	default:
> +		return IGT_OPT_HANDLER_ERROR;
> +	}
> +
> +	return IGT_OPT_HANDLER_SUCCESS;
> +}
> +
> +const char *help_str =
> +	"  -S\tBO size in MB\n"
> +	"  -p\tPercent of VRAM for BO (default 75% of visible VRAM size)\n"
> +	;
> +
> +igt_main_args("S:p:", NULL, help_str, opt_handler, NULL)
>   {
>   	int xe;
>   
> @@ -254,6 +328,10 @@ igt_main
>   	}
>   
>   
> +	igt_subtest("create-big-vram") {
> +		create_big_vram(xe);
> +	}
> +
>   	igt_fixture
>   		drm_close_driver(xe);
>   }

[-- Attachment #2: Type: text/html, Size: 4766 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [igt-dev] [PATCH i-g-t] xe_create: create-big-vram subtest
  2023-11-21 13:50 [igt-dev] [PATCH i-g-t] xe_create: create-big-vram subtest Marcin Bernatowicz
  2023-11-21 13:56 ` Laguna, Lukasz
@ 2023-11-21 15:42 ` Matthew Auld
  2023-11-22 10:26   ` Bernatowicz, Marcin
  1 sibling, 1 reply; 13+ messages in thread
From: Matthew Auld @ 2023-11-21 15:42 UTC (permalink / raw)
  To: Marcin Bernatowicz; +Cc: igt-dev, jakub1.kolakowski

On Tue, 21 Nov 2023 at 13:50, Marcin Bernatowicz
<marcin.bernatowicz@intel.com> wrote:
>
> Validates the creation of significant Buffer Objects (BO) within VRAM,
> accounting for 75% of the CPU-visible VRAM size.
> The size of the created BO can be adjusted using command line parameters,
> with '-S' representing BO size in MB,
> and '-p' representing BO size as a percentage of the VRAM size.
>
> v2: rebased, updated to uAPI changes (DRM_XE_VM_CREATE_FLAG_ASYNC_DEFAULT),
>     after review corrections: 1024UL -> 1024ULL,
>     int -> unsigned int (Kamil)
>
> Signed-off-by: Marcin Bernatowicz <marcin.bernatowicz@intel.com>
> ---
>  tests/intel/xe_create.c | 80 ++++++++++++++++++++++++++++++++++++++++-
>  1 file changed, 79 insertions(+), 1 deletion(-)
>
> diff --git a/tests/intel/xe_create.c b/tests/intel/xe_create.c
> index f4633cfb3..3ff9bb750 100644
> --- a/tests/intel/xe_create.c
> +++ b/tests/intel/xe_create.c
> @@ -18,6 +18,14 @@
>
>  #define PAGE_SIZE 0x1000
>
> +static struct param {
> +       unsigned int size_MB;
> +       unsigned int vram_percent;
> +} params = {
> +       .size_MB = 0,
> +       .vram_percent = 75,
> +};
> +
>  static int __create_bo(int fd, uint32_t vm, uint64_t size, uint32_t flags,
>                        uint32_t *handlep)
>  {
> @@ -214,7 +222,73 @@ static void create_massive_size(int fd)
>         }
>  }
>
> -igt_main
> +/**
> + * SUBTEST: create-big-vram
> + * Functionality: BO creation
> + * Test category: functionality test
> + * Description: Validates the creation of substantial BO within VRAM
> + *              (constituting 75% of the CPU-visible VRAM).
> + */
> +static void create_big_vram(int fd)
> +{
> +       uint64_t bo_size, size, vram_size, alignment;
> +       uint32_t bo_handle;
> +       char *bo_ptr = NULL;
> +       uint64_t vm = 0;
> +       int gt;
> +
> +       igt_require(xe_has_vram(fd));
> +       alignment = xe_get_default_alignment(fd);
> +       vm = xe_vm_create(fd, DRM_XE_VM_CREATE_FLAG_ASYNC_DEFAULT, 0);
> +
> +       xe_for_each_gt(fd, gt) {
> +               vram_size = xe_visible_vram_size(fd, gt);
> +               bo_size = params.size_MB ? params.size_MB * 1024ULL * 1024ULL
> +                                        : ALIGN(vram_size * params.vram_percent / 100, alignment);
> +               igt_debug("gt%u bo_size=%lu visible_vram_size=%lu\n", gt, bo_size, vram_size);
> +
> +               igt_assert_eq(0, __create_bo(fd, vm, bo_size, vram_memory(fd, gt), &bo_handle));

We should also ask the KMD to allocate the memory within the CPU
visible portion of VRAM (if applicable), otherwise we will likely
trigger SIGBUS below on small-bar systems. See visible_vram_memory().

> +               bo_ptr = xe_bo_map(fd, bo_handle, bo_size);
> +               size = bo_size - 1;
> +               while (size > SZ_64K) {
> +                       igt_assert_eq(0, READ_ONCE(bo_ptr[size]));
> +                       WRITE_ONCE(bo_ptr[size], 'A');
> +                       igt_assert_eq('A', READ_ONCE(bo_ptr[size]));
> +                       size >>= 1;
> +               }
> +
> +               igt_assert_eq(0, bo_ptr[0]);
> +               munmap(bo_ptr, bo_size);
> +               gem_close(fd, bo_handle);
> +       }
> +
> +       xe_vm_destroy(fd, vm);
> +}
> +
> +static int opt_handler(int opt, int opt_index, void *data)
> +{
> +       switch (opt) {
> +       case 'S':
> +               params.size_MB = atoi(optarg);
> +               igt_debug("Size MB: %d\n", params.size_MB);
> +               break;
> +       case 'p':
> +               params.vram_percent = atoi(optarg);
> +               igt_debug("Percent of VRAM: %d\n", params.vram_percent);
> +               break;
> +       default:
> +               return IGT_OPT_HANDLER_ERROR;
> +       }
> +
> +       return IGT_OPT_HANDLER_SUCCESS;
> +}
> +
> +const char *help_str =
> +       "  -S\tBO size in MB\n"
> +       "  -p\tPercent of VRAM for BO (default 75% of visible VRAM size)\n"
> +       ;
> +
> +igt_main_args("S:p:", NULL, help_str, opt_handler, NULL)
>  {
>         int xe;
>
> @@ -254,6 +328,10 @@ igt_main
>         }
>
>
> +       igt_subtest("create-big-vram") {
> +               create_big_vram(xe);
> +       }
> +
>         igt_fixture
>                 drm_close_driver(xe);
>  }
> --
> 2.31.1
>

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [igt-dev] [PATCH i-g-t] xe_create: create-big-vram subtest
@ 2023-11-22 10:19 Marcin Bernatowicz
  2023-11-22 11:04 ` Laguna, Lukasz
                   ` (4 more replies)
  0 siblings, 5 replies; 13+ messages in thread
From: Marcin Bernatowicz @ 2023-11-22 10:19 UTC (permalink / raw)
  To: igt-dev; +Cc: matthew.auld, jakub1.kolakowski

Validates the creation of significant Buffer Object (BO) within VRAM,
considering the entire available CPU-visible VRAM size.
The size of the created BO can be adjusted using
'-S' command line parameter, representing BO size in MB.

v2: rebased, updated to uAPI changes (DRM_XE_VM_CREATE_FLAG_ASYNC_DEFAULT),
    after review corrections: 1024UL -> 1024ULL,
    int -> unsigned int (Kamil)
v3: provided a flag to allocate the memory within the CPU-visible
      portion of VRAM (Matt)
    __create_bo replaced with xe_bo_create_flags (Lukasz)
    removed the percent command line parameter (Lukasz)
    renamed size_MB to size_mb (Lukasz)
    added helper function to query available CPU-visible VRAM size,
    renamed 'xe_vram_available' to 'xe_available_vram_size' for
      consistency with other function names

Signed-off-by: Marcin Bernatowicz <marcin.bernatowicz@intel.com>
---
 lib/xe/xe_query.c          | 57 ++++++++++++++++++++++-------
 lib/xe/xe_query.h          |  3 +-
 tests/intel/xe_create.c    | 75 +++++++++++++++++++++++++++++++++++++-
 tests/intel/xe_evict_ccs.c |  2 +-
 4 files changed, 120 insertions(+), 17 deletions(-)

diff --git a/lib/xe/xe_query.c b/lib/xe/xe_query.c
index afd443be3..de3296062 100644
--- a/lib/xe/xe_query.c
+++ b/lib/xe/xe_query.c
@@ -629,20 +629,20 @@ uint64_t xe_visible_vram_size(int fd, int gt)
 
 	return visible_size;
 }
-/**
- * xe_vram_available:
- * @fd: xe device fd
- * @gt: gt
- *
- * Returns available vram of xe device @fd and @gt.
- */
-uint64_t xe_vram_available(int fd, int gt)
+
+struct __available_vram {
+	uint64_t total_available;
+	uint64_t cpu_visible_available;
+};
+
+static void __xe_available_vram_size_snapshot(int fd, int gt, struct __available_vram *avail_vram)
 {
 	struct xe_device *xe_dev;
 	int region_idx;
 	struct drm_xe_query_mem_region *mem_region;
 	struct drm_xe_query_mem_regions *mem_regions;
 
+	igt_assert(avail_vram);
 	xe_dev = find_in_cache(fd);
 	igt_assert(xe_dev);
 
@@ -650,19 +650,48 @@ uint64_t xe_vram_available(int fd, int gt)
 	mem_region = &xe_dev->mem_regions->regions[region_idx];
 
 	if (XE_IS_CLASS_VRAM(mem_region)) {
-		uint64_t available_vram;
-
 		mem_regions = xe_query_mem_regions_new(fd);
 		pthread_mutex_lock(&cache.cache_mutex);
 		mem_region->used = mem_regions->regions[region_idx].used;
-		available_vram = mem_region->total_size - mem_region->used;
+		mem_region->cpu_visible_used = mem_regions->regions[region_idx].cpu_visible_used;
+		avail_vram->total_available = mem_region->total_size - mem_region->used;
+		avail_vram->cpu_visible_available =
+			mem_region->cpu_visible_size - mem_region->cpu_visible_used;
 		pthread_mutex_unlock(&cache.cache_mutex);
 		free(mem_regions);
-
-		return available_vram;
 	}
+}
 
-	return 0;
+/**
+ * xe_available_vram_size:
+ * @fd: xe device fd
+ * @gt: gt
+ *
+ * Returns size of available vram of xe device @fd and @gt.
+ */
+uint64_t xe_available_vram_size(int fd, int gt)
+{
+	struct __available_vram available_vram = {};
+
+	__xe_available_vram_size_snapshot(fd, gt, &available_vram);
+
+	return available_vram.total_available;
+}
+
+/**
+ * xe_visible_available_vram_size:
+ * @fd: xe device fd
+ * @gt: gt
+ *
+ * Returns size of visible available vram of xe device @fd and @gt.
+ */
+uint64_t xe_visible_available_vram_size(int fd, int gt)
+{
+	struct __available_vram available_vram = {};
+
+	__xe_available_vram_size_snapshot(fd, gt, &available_vram);
+
+	return available_vram.cpu_visible_available;
 }
 
 /**
diff --git a/lib/xe/xe_query.h b/lib/xe/xe_query.h
index 38e9aa440..503d60b44 100644
--- a/lib/xe/xe_query.h
+++ b/lib/xe/xe_query.h
@@ -92,7 +92,8 @@ unsigned int xe_number_hw_engines(int fd);
 bool xe_has_vram(int fd);
 uint64_t xe_vram_size(int fd, int gt);
 uint64_t xe_visible_vram_size(int fd, int gt);
-uint64_t xe_vram_available(int fd, int gt);
+uint64_t xe_available_vram_size(int fd, int gt);
+uint64_t xe_visible_available_vram_size(int fd, int gt);
 uint32_t xe_get_default_alignment(int fd);
 uint32_t xe_va_bits(int fd);
 uint16_t xe_dev_id(int fd);
diff --git a/tests/intel/xe_create.c b/tests/intel/xe_create.c
index f4633cfb3..082e9b440 100644
--- a/tests/intel/xe_create.c
+++ b/tests/intel/xe_create.c
@@ -18,6 +18,12 @@
 
 #define PAGE_SIZE 0x1000
 
+static struct param {
+	unsigned int size_mb;
+} params = {
+	.size_mb = 0,
+};
+
 static int __create_bo(int fd, uint32_t vm, uint64_t size, uint32_t flags,
 		       uint32_t *handlep)
 {
@@ -214,7 +220,70 @@ static void create_massive_size(int fd)
 	}
 }
 
-igt_main
+/**
+ * SUBTEST: create-big-vram
+ * Functionality: BO creation
+ * Test category: functionality test
+ * Description: Verifies the creation of substantial BO within VRAM,
+ *		constituting all available CPU-visible VRAM.
+ */
+static void create_big_vram(int fd)
+{
+	uint64_t bo_size, size, visible_avail_size, alignment;
+	uint32_t bo_handle;
+	char *bo_ptr = NULL;
+	uint64_t vm = 0;
+	int gt;
+
+	igt_require(xe_has_vram(fd));
+	alignment = xe_get_default_alignment(fd);
+	vm = xe_vm_create(fd, DRM_XE_VM_CREATE_FLAG_ASYNC_DEFAULT, 0);
+
+	xe_for_each_gt(fd, gt) {
+		visible_avail_size = xe_visible_available_vram_size(fd, gt);
+		bo_size = params.size_mb ? params.size_mb * 1024ULL * 1024ULL
+					 : ALIGN_DOWN(visible_avail_size, alignment);
+		igt_debug("gt%u bo_size=%lu visible_available_vram_size=%lu\n",
+			gt, bo_size, visible_avail_size);
+
+		bo_handle = xe_bo_create_flags(fd, vm, bo_size, visible_vram_memory(fd, gt));
+		bo_ptr = xe_bo_map(fd, bo_handle, bo_size);
+
+		size = bo_size - 1;
+		while (size > SZ_64K) {
+			igt_assert_eq(0, READ_ONCE(bo_ptr[size]));
+			WRITE_ONCE(bo_ptr[size], 'A');
+			igt_assert_eq('A', READ_ONCE(bo_ptr[size]));
+			size >>= 1;
+		}
+		igt_assert_eq(0, bo_ptr[0]);
+
+		munmap(bo_ptr, bo_size);
+		gem_close(fd, bo_handle);
+	}
+
+	xe_vm_destroy(fd, vm);
+}
+
+static int opt_handler(int opt, int opt_index, void *data)
+{
+	switch (opt) {
+	case 'S':
+		params.size_mb = atoi(optarg);
+		igt_debug("Size MB: %d\n", params.size_mb);
+		break;
+	default:
+		return IGT_OPT_HANDLER_ERROR;
+	}
+
+	return IGT_OPT_HANDLER_SUCCESS;
+}
+
+const char *help_str =
+	"  -S\tBO size in MB\n"
+	;
+
+igt_main_args("S:", NULL, help_str, opt_handler, NULL)
 {
 	int xe;
 
@@ -254,6 +323,10 @@ igt_main
 	}
 
 
+	igt_subtest("create-big-vram") {
+		create_big_vram(xe);
+	}
+
 	igt_fixture
 		drm_close_driver(xe);
 }
diff --git a/tests/intel/xe_evict_ccs.c b/tests/intel/xe_evict_ccs.c
index d7244f620..b04c20935 100644
--- a/tests/intel/xe_evict_ccs.c
+++ b/tests/intel/xe_evict_ccs.c
@@ -325,7 +325,7 @@ static void set_config(int fd, uint32_t flags, const struct param *param,
 	config->param = param;
 	config->flags = flags;
 	config->free_mb = xe_visible_vram_size(fd, 0) / SZ_1M;
-	config->total_mb = xe_vram_available(fd, 0) / SZ_1M;
+	config->total_mb = xe_available_vram_size(fd, 0) / SZ_1M;
 	config->test_mb = min_t(int, config->free_mb * config->param->vram_percent / 100,
 				config->total_mb * config->param->vram_percent / 100);
 
-- 
2.31.1

^ permalink raw reply related	[flat|nested] 13+ messages in thread

* Re: [igt-dev] [PATCH i-g-t] xe_create: create-big-vram subtest
  2023-11-21 15:42 ` Matthew Auld
@ 2023-11-22 10:26   ` Bernatowicz, Marcin
  0 siblings, 0 replies; 13+ messages in thread
From: Bernatowicz, Marcin @ 2023-11-22 10:26 UTC (permalink / raw)
  To: Matthew Auld, Marcin Bernatowicz; +Cc: igt-dev, jakub1.kolakowski



On 11/21/2023 4:42 PM, Matthew Auld wrote:
> On Tue, 21 Nov 2023 at 13:50, Marcin Bernatowicz
> <marcin.bernatowicz@intel.com> wrote:
>>
>> Validates the creation of significant Buffer Objects (BO) within VRAM,
>> accounting for 75% of the CPU-visible VRAM size.
>> The size of the created BO can be adjusted using command line parameters,
>> with '-S' representing BO size in MB,
>> and '-p' representing BO size as a percentage of the VRAM size.
>>
>> v2: rebased, updated to uAPI changes (DRM_XE_VM_CREATE_FLAG_ASYNC_DEFAULT),
>>      after review corrections: 1024UL -> 1024ULL,
>>      int -> unsigned int (Kamil)
>>
>> Signed-off-by: Marcin Bernatowicz <marcin.bernatowicz@intel.com>
>> ---
>>   tests/intel/xe_create.c | 80 ++++++++++++++++++++++++++++++++++++++++-
>>   1 file changed, 79 insertions(+), 1 deletion(-)
>>
>> diff --git a/tests/intel/xe_create.c b/tests/intel/xe_create.c
>> index f4633cfb3..3ff9bb750 100644
>> --- a/tests/intel/xe_create.c
>> +++ b/tests/intel/xe_create.c
>> @@ -18,6 +18,14 @@
>>
>>   #define PAGE_SIZE 0x1000
>>
>> +static struct param {
>> +       unsigned int size_MB;
>> +       unsigned int vram_percent;
>> +} params = {
>> +       .size_MB = 0,
>> +       .vram_percent = 75,
>> +};
>> +
>>   static int __create_bo(int fd, uint32_t vm, uint64_t size, uint32_t flags,
>>                         uint32_t *handlep)
>>   {
>> @@ -214,7 +222,73 @@ static void create_massive_size(int fd)
>>          }
>>   }
>>
>> -igt_main
>> +/**
>> + * SUBTEST: create-big-vram
>> + * Functionality: BO creation
>> + * Test category: functionality test
>> + * Description: Validates the creation of substantial BO within VRAM
>> + *              (constituting 75% of the CPU-visible VRAM).
>> + */
>> +static void create_big_vram(int fd)
>> +{
>> +       uint64_t bo_size, size, vram_size, alignment;
>> +       uint32_t bo_handle;
>> +       char *bo_ptr = NULL;
>> +       uint64_t vm = 0;
>> +       int gt;
>> +
>> +       igt_require(xe_has_vram(fd));
>> +       alignment = xe_get_default_alignment(fd);
>> +       vm = xe_vm_create(fd, DRM_XE_VM_CREATE_FLAG_ASYNC_DEFAULT, 0);
>> +
>> +       xe_for_each_gt(fd, gt) {
>> +               vram_size = xe_visible_vram_size(fd, gt);
>> +               bo_size = params.size_MB ? params.size_MB * 1024ULL * 1024ULL
>> +                                        : ALIGN(vram_size * params.vram_percent / 100, alignment);
>> +               igt_debug("gt%u bo_size=%lu visible_vram_size=%lu\n", gt, bo_size, vram_size);
>> +
>> +               igt_assert_eq(0, __create_bo(fd, vm, bo_size, vram_memory(fd, gt), &bo_handle));
> 
> We should also ask the KMD to allocate the memory within the CPU
> visible portion of VRAM (if applicable), otherwise we will likely
> trigger SIGBUS below on small-bar systems. See visible_vram_memory().

True, updated and send v3.

Thanks for review,
marcin
> 
>> +               bo_ptr = xe_bo_map(fd, bo_handle, bo_size);
>> +               size = bo_size - 1;
>> +               while (size > SZ_64K) {
>> +                       igt_assert_eq(0, READ_ONCE(bo_ptr[size]));
>> +                       WRITE_ONCE(bo_ptr[size], 'A');
>> +                       igt_assert_eq('A', READ_ONCE(bo_ptr[size]));
>> +                       size >>= 1;
>> +               }
>> +
>> +               igt_assert_eq(0, bo_ptr[0]);
>> +               munmap(bo_ptr, bo_size);
>> +               gem_close(fd, bo_handle);
>> +       }
>> +
>> +       xe_vm_destroy(fd, vm);
>> +}
>> +
>> +static int opt_handler(int opt, int opt_index, void *data)
>> +{
>> +       switch (opt) {
>> +       case 'S':
>> +               params.size_MB = atoi(optarg);
>> +               igt_debug("Size MB: %d\n", params.size_MB);
>> +               break;
>> +       case 'p':
>> +               params.vram_percent = atoi(optarg);
>> +               igt_debug("Percent of VRAM: %d\n", params.vram_percent);
>> +               break;
>> +       default:
>> +               return IGT_OPT_HANDLER_ERROR;
>> +       }
>> +
>> +       return IGT_OPT_HANDLER_SUCCESS;
>> +}
>> +
>> +const char *help_str =
>> +       "  -S\tBO size in MB\n"
>> +       "  -p\tPercent of VRAM for BO (default 75% of visible VRAM size)\n"
>> +       ;
>> +
>> +igt_main_args("S:p:", NULL, help_str, opt_handler, NULL)
>>   {
>>          int xe;
>>
>> @@ -254,6 +328,10 @@ igt_main
>>          }
>>
>>
>> +       igt_subtest("create-big-vram") {
>> +               create_big_vram(xe);
>> +       }
>> +
>>          igt_fixture
>>                  drm_close_driver(xe);
>>   }
>> --
>> 2.31.1
>>

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [igt-dev] [PATCH i-g-t] xe_create: create-big-vram subtest
  2023-11-22 10:19 [igt-dev] [PATCH i-g-t] xe_create: create-big-vram subtest Marcin Bernatowicz
@ 2023-11-22 11:04 ` Laguna, Lukasz
  2023-11-22 11:18 ` [igt-dev] ✓ Fi.CI.BAT: success for xe_create: create-big-vram subtest (rev3) Patchwork
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 13+ messages in thread
From: Laguna, Lukasz @ 2023-11-22 11:04 UTC (permalink / raw)
  To: Marcin Bernatowicz, igt-dev; +Cc: matthew.auld, jakub1.kolakowski

On 11/22/2023 11:19, Marcin Bernatowicz wrote:
> Validates the creation of significant Buffer Object (BO) within VRAM,
> considering the entire available CPU-visible VRAM size.
> The size of the created BO can be adjusted using
> '-S' command line parameter, representing BO size in MB.
>
> v2: rebased, updated to uAPI changes (DRM_XE_VM_CREATE_FLAG_ASYNC_DEFAULT),
>      after review corrections: 1024UL -> 1024ULL,
>      int -> unsigned int (Kamil)
> v3: provided a flag to allocate the memory within the CPU-visible
>        portion of VRAM (Matt)
>      __create_bo replaced with xe_bo_create_flags (Lukasz)
>      removed the percent command line parameter (Lukasz)
>      renamed size_MB to size_mb (Lukasz)
>      added helper function to query available CPU-visible VRAM size,
>      renamed 'xe_vram_available' to 'xe_available_vram_size' for
>        consistency with other function names
>
> Signed-off-by: Marcin Bernatowicz <marcin.bernatowicz@intel.com>
> ---
>   lib/xe/xe_query.c          | 57 ++++++++++++++++++++++-------
>   lib/xe/xe_query.h          |  3 +-
>   tests/intel/xe_create.c    | 75 +++++++++++++++++++++++++++++++++++++-
>   tests/intel/xe_evict_ccs.c |  2 +-
>   4 files changed, 120 insertions(+), 17 deletions(-)
>
> diff --git a/lib/xe/xe_query.c b/lib/xe/xe_query.c
> index afd443be3..de3296062 100644
> --- a/lib/xe/xe_query.c
> +++ b/lib/xe/xe_query.c
> @@ -629,20 +629,20 @@ uint64_t xe_visible_vram_size(int fd, int gt)
>   
>   	return visible_size;
>   }
> -/**
> - * xe_vram_available:
> - * @fd: xe device fd
> - * @gt: gt
> - *
> - * Returns available vram of xe device @fd and @gt.
> - */
> -uint64_t xe_vram_available(int fd, int gt)
> +
> +struct __available_vram {
> +	uint64_t total_available;
> +	uint64_t cpu_visible_available;
> +};
> +
> +static void __xe_available_vram_size_snapshot(int fd, int gt, struct __available_vram *avail_vram)
>   {
>   	struct xe_device *xe_dev;
>   	int region_idx;
>   	struct drm_xe_query_mem_region *mem_region;
>   	struct drm_xe_query_mem_regions *mem_regions;
>   
> +	igt_assert(avail_vram);
>   	xe_dev = find_in_cache(fd);
>   	igt_assert(xe_dev);
>   
> @@ -650,19 +650,48 @@ uint64_t xe_vram_available(int fd, int gt)
>   	mem_region = &xe_dev->mem_regions->regions[region_idx];
>   
>   	if (XE_IS_CLASS_VRAM(mem_region)) {
> -		uint64_t available_vram;
> -
>   		mem_regions = xe_query_mem_regions_new(fd);
>   		pthread_mutex_lock(&cache.cache_mutex);
>   		mem_region->used = mem_regions->regions[region_idx].used;
> -		available_vram = mem_region->total_size - mem_region->used;
> +		mem_region->cpu_visible_used = mem_regions->regions[region_idx].cpu_visible_used;
> +		avail_vram->total_available = mem_region->total_size - mem_region->used;
> +		avail_vram->cpu_visible_available =
> +			mem_region->cpu_visible_size - mem_region->cpu_visible_used;
>   		pthread_mutex_unlock(&cache.cache_mutex);
>   		free(mem_regions);
> -
> -		return available_vram;
>   	}
> +}
>   
> -	return 0;
> +/**
> + * xe_available_vram_size:
> + * @fd: xe device fd
> + * @gt: gt
> + *
> + * Returns size of available vram of xe device @fd and @gt.
> + */
> +uint64_t xe_available_vram_size(int fd, int gt)
> +{
> +	struct __available_vram available_vram = {};
> +
> +	__xe_available_vram_size_snapshot(fd, gt, &available_vram);
> +
> +	return available_vram.total_available;
> +}
> +
> +/**
> + * xe_visible_available_vram_size:
> + * @fd: xe device fd
> + * @gt: gt
> + *
> + * Returns size of visible available vram of xe device @fd and @gt.
> + */
> +uint64_t xe_visible_available_vram_size(int fd, int gt)
> +{
> +	struct __available_vram available_vram = {};
> +
> +	__xe_available_vram_size_snapshot(fd, gt, &available_vram);
> +
> +	return available_vram.cpu_visible_available;
>   }
>   
>   /**
> diff --git a/lib/xe/xe_query.h b/lib/xe/xe_query.h
> index 38e9aa440..503d60b44 100644
> --- a/lib/xe/xe_query.h
> +++ b/lib/xe/xe_query.h
> @@ -92,7 +92,8 @@ unsigned int xe_number_hw_engines(int fd);
>   bool xe_has_vram(int fd);
>   uint64_t xe_vram_size(int fd, int gt);
>   uint64_t xe_visible_vram_size(int fd, int gt);
> -uint64_t xe_vram_available(int fd, int gt);
> +uint64_t xe_available_vram_size(int fd, int gt);
> +uint64_t xe_visible_available_vram_size(int fd, int gt);
>   uint32_t xe_get_default_alignment(int fd);
>   uint32_t xe_va_bits(int fd);
>   uint16_t xe_dev_id(int fd);
> diff --git a/tests/intel/xe_create.c b/tests/intel/xe_create.c
> index f4633cfb3..082e9b440 100644
> --- a/tests/intel/xe_create.c
> +++ b/tests/intel/xe_create.c
> @@ -18,6 +18,12 @@
>   
>   #define PAGE_SIZE 0x1000
>   
> +static struct param {
> +	unsigned int size_mb;
> +} params = {
> +	.size_mb = 0,
> +};
> +
>   static int __create_bo(int fd, uint32_t vm, uint64_t size, uint32_t flags,
>   		       uint32_t *handlep)
>   {
> @@ -214,7 +220,70 @@ static void create_massive_size(int fd)
>   	}
>   }
>   
> -igt_main
> +/**
> + * SUBTEST: create-big-vram
> + * Functionality: BO creation
> + * Test category: functionality test
> + * Description: Verifies the creation of substantial BO within VRAM,
> + *		constituting all available CPU-visible VRAM.
> + */
> +static void create_big_vram(int fd)
> +{
> +	uint64_t bo_size, size, visible_avail_size, alignment;
> +	uint32_t bo_handle;
> +	char *bo_ptr = NULL;
> +	uint64_t vm = 0;
> +	int gt;
> +
> +	igt_require(xe_has_vram(fd));
> +	alignment = xe_get_default_alignment(fd);
> +	vm = xe_vm_create(fd, DRM_XE_VM_CREATE_FLAG_ASYNC_DEFAULT, 0);
> +
> +	xe_for_each_gt(fd, gt) {
> +		visible_avail_size = xe_visible_available_vram_size(fd, gt);
> +		bo_size = params.size_mb ? params.size_mb * 1024ULL * 1024ULL
> +					 : ALIGN_DOWN(visible_avail_size, alignment);
> +		igt_debug("gt%u bo_size=%lu visible_available_vram_size=%lu\n",
> +			gt, bo_size, visible_avail_size);
> +
> +		bo_handle = xe_bo_create_flags(fd, vm, bo_size, visible_vram_memory(fd, gt));
> +		bo_ptr = xe_bo_map(fd, bo_handle, bo_size);
> +
> +		size = bo_size - 1;
> +		while (size > SZ_64K) {
> +			igt_assert_eq(0, READ_ONCE(bo_ptr[size]));
> +			WRITE_ONCE(bo_ptr[size], 'A');
> +			igt_assert_eq('A', READ_ONCE(bo_ptr[size]));
> +			size >>= 1;
> +		}
> +		igt_assert_eq(0, bo_ptr[0]);
> +
> +		munmap(bo_ptr, bo_size);
> +		gem_close(fd, bo_handle);
> +	}
> +
> +	xe_vm_destroy(fd, vm);
> +}
> +
> +static int opt_handler(int opt, int opt_index, void *data)
> +{
> +	switch (opt) {
> +	case 'S':
> +		params.size_mb = atoi(optarg);
> +		igt_debug("Size MB: %d\n", params.size_mb);
> +		break;
> +	default:
> +		return IGT_OPT_HANDLER_ERROR;
> +	}
> +
> +	return IGT_OPT_HANDLER_SUCCESS;
> +}
> +
> +const char *help_str =
> +	"  -S\tBO size in MB\n"
> +	;
> +
> +igt_main_args("S:", NULL, help_str, opt_handler, NULL)
>   {
>   	int xe;
>   
> @@ -254,6 +323,10 @@ igt_main
>   	}
>   
>   
> +	igt_subtest("create-big-vram") {
> +		create_big_vram(xe);
> +	}
> +
>   	igt_fixture
>   		drm_close_driver(xe);
>   }
> diff --git a/tests/intel/xe_evict_ccs.c b/tests/intel/xe_evict_ccs.c
> index d7244f620..b04c20935 100644
> --- a/tests/intel/xe_evict_ccs.c
> +++ b/tests/intel/xe_evict_ccs.c
> @@ -325,7 +325,7 @@ static void set_config(int fd, uint32_t flags, const struct param *param,
>   	config->param = param;
>   	config->flags = flags;
>   	config->free_mb = xe_visible_vram_size(fd, 0) / SZ_1M;
> -	config->total_mb = xe_vram_available(fd, 0) / SZ_1M;
> +	config->total_mb = xe_available_vram_size(fd, 0) / SZ_1M;
>   	config->test_mb = min_t(int, config->free_mb * config->param->vram_percent / 100,
>   				config->total_mb * config->param->vram_percent / 100);
>   

Please split xe_query related changes (with xe_evict_ccs) and new 
xe_create subtest into two seperate patches.
With that changed, LGTM:
Reviewed-by: Lukasz Laguna <lukasz.laguna@intel.com>

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [igt-dev] ✓ Fi.CI.BAT: success for xe_create: create-big-vram subtest (rev3)
  2023-11-22 10:19 [igt-dev] [PATCH i-g-t] xe_create: create-big-vram subtest Marcin Bernatowicz
  2023-11-22 11:04 ` Laguna, Lukasz
@ 2023-11-22 11:18 ` Patchwork
  2023-11-22 11:36 ` [igt-dev] ✓ CI.xeBAT: " Patchwork
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 13+ messages in thread
From: Patchwork @ 2023-11-22 11:18 UTC (permalink / raw)
  To: Marcin Bernatowicz; +Cc: igt-dev

[-- Attachment #1: Type: text/plain, Size: 3745 bytes --]

== Series Details ==

Series: xe_create: create-big-vram subtest (rev3)
URL   : https://patchwork.freedesktop.org/series/126347/
State : success

== Summary ==

CI Bug Log - changes from CI_DRM_13910 -> IGTPW_10235
====================================================

Summary
-------

  **SUCCESS**

  No regressions found.

  External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/index.html

Participating hosts (38 -> 36)
------------------------------

  Missing    (2): fi-snb-2520m fi-pnv-d510 

Known issues
------------

  Here are the changes found in IGTPW_10235 that come from known issues:

### IGT changes ###

#### Issues hit ####

  * igt@gem_exec_suspend@basic-s0@lmem0:
    - bat-dg2-9:          [PASS][1] -> [INCOMPLETE][2] ([i915#9275])
   [1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13910/bat-dg2-9/igt@gem_exec_suspend@basic-s0@lmem0.html
   [2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/bat-dg2-9/igt@gem_exec_suspend@basic-s0@lmem0.html

  * igt@i915_selftest@live@gt_heartbeat:
    - fi-apl-guc:         [PASS][3] -> [DMESG-FAIL][4] ([i915#5334])
   [3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13910/fi-apl-guc/igt@i915_selftest@live@gt_heartbeat.html
   [4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/fi-apl-guc/igt@i915_selftest@live@gt_heartbeat.html

  * igt@kms_pipe_crc_basic@read-crc-frame-sequence:
    - bat-dg2-11:         NOTRUN -> [SKIP][5] ([i915#1845] / [i915#9197])
   [5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/bat-dg2-11/igt@kms_pipe_crc_basic@read-crc-frame-sequence.html

  * igt@kms_pipe_crc_basic@read-crc-frame-sequence@pipe-d-edp-1:
    - bat-rplp-1:         [PASS][6] -> [ABORT][7] ([i915#8668])
   [6]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13910/bat-rplp-1/igt@kms_pipe_crc_basic@read-crc-frame-sequence@pipe-d-edp-1.html
   [7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/bat-rplp-1/igt@kms_pipe_crc_basic@read-crc-frame-sequence@pipe-d-edp-1.html

  * igt@kms_pipe_crc_basic@suspend-read-crc:
    - bat-rpls-1:         NOTRUN -> [SKIP][8] ([i915#1845])
   [8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/bat-rpls-1/igt@kms_pipe_crc_basic@suspend-read-crc.html

  
#### Possible fixes ####

  * igt@i915_pm_rpm@module-reload:
    - bat-rpls-1:         [INCOMPLETE][9] -> [PASS][10]
   [9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13910/bat-rpls-1/igt@i915_pm_rpm@module-reload.html
   [10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/bat-rpls-1/igt@i915_pm_rpm@module-reload.html

  
  {name}: This element is suppressed. This means it is ignored when computing
          the status of the difference (SUCCESS, WARNING, or FAILURE).

  [i915#1845]: https://gitlab.freedesktop.org/drm/intel/issues/1845
  [i915#1982]: https://gitlab.freedesktop.org/drm/intel/issues/1982
  [i915#5334]: https://gitlab.freedesktop.org/drm/intel/issues/5334
  [i915#8668]: https://gitlab.freedesktop.org/drm/intel/issues/8668
  [i915#9197]: https://gitlab.freedesktop.org/drm/intel/issues/9197
  [i915#9275]: https://gitlab.freedesktop.org/drm/intel/issues/9275


Build changes
-------------

  * CI: CI-20190529 -> None
  * IGT: IGT_7595 -> IGTPW_10235

  CI-20190529: 20190529
  CI_DRM_13910: a6fa1fefc44d92897a3be86430dde647f665f3a3 @ git://anongit.freedesktop.org/gfx-ci/linux
  IGTPW_10235: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/index.html
  IGT_7595: cfa00d99b1dfa0621ea552d1ed54907798da1a1a @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git


Testlist changes
----------------

+igt@xe_create@create-big-vram
+igt@xe_guc_pc@freq_fixed_exec
+igt@xe_guc_pc@freq_range_exec

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/index.html

[-- Attachment #2: Type: text/html, Size: 4497 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [igt-dev] ✓ CI.xeBAT: success for xe_create: create-big-vram subtest (rev3)
  2023-11-22 10:19 [igt-dev] [PATCH i-g-t] xe_create: create-big-vram subtest Marcin Bernatowicz
  2023-11-22 11:04 ` Laguna, Lukasz
  2023-11-22 11:18 ` [igt-dev] ✓ Fi.CI.BAT: success for xe_create: create-big-vram subtest (rev3) Patchwork
@ 2023-11-22 11:36 ` Patchwork
  2023-11-22 16:16 ` [igt-dev] [PATCH i-g-t] xe_create: create-big-vram subtest Kamil Konieczny
  2023-11-23  1:48 ` [igt-dev] ✓ Fi.CI.IGT: success for xe_create: create-big-vram subtest (rev3) Patchwork
  4 siblings, 0 replies; 13+ messages in thread
From: Patchwork @ 2023-11-22 11:36 UTC (permalink / raw)
  To: Marcin Bernatowicz; +Cc: igt-dev

[-- Attachment #1: Type: text/plain, Size: 4378 bytes --]

== Series Details ==

Series: xe_create: create-big-vram subtest (rev3)
URL   : https://patchwork.freedesktop.org/series/126347/
State : success

== Summary ==

CI Bug Log - changes from XEIGT_7595_BAT -> XEIGTPW_10235_BAT
====================================================

Summary
-------

  **SUCCESS**

  No regressions found.

  

Participating hosts (4 -> 3)
------------------------------

  Missing    (1): bat-dg2-oem2 

Known issues
------------

  Here are the changes found in XEIGTPW_10235_BAT that come from known issues:

### IGT changes ###

#### Issues hit ####

  * igt@core_hotunplug@unbind-rebind:
    - bat-adlp-7:         [PASS][1] -> [DMESG-WARN][2] ([Intel XE#939])
   [1]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7595/bat-adlp-7/igt@core_hotunplug@unbind-rebind.html
   [2]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10235/bat-adlp-7/igt@core_hotunplug@unbind-rebind.html

  * igt@xe_guc_pc@freq_basic_api:
    - bat-adlp-7:         [PASS][3] -> [FAIL][4] ([Intel XE#935])
   [3]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7595/bat-adlp-7/igt@xe_guc_pc@freq_basic_api.html
   [4]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10235/bat-adlp-7/igt@xe_guc_pc@freq_basic_api.html
    - bat-pvc-2:          [PASS][5] -> [FAIL][6] ([Intel XE#935])
   [5]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7595/bat-pvc-2/igt@xe_guc_pc@freq_basic_api.html
   [6]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10235/bat-pvc-2/igt@xe_guc_pc@freq_basic_api.html
    - bat-atsm-2:         [PASS][7] -> [FAIL][8] ([Intel XE#935])
   [7]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7595/bat-atsm-2/igt@xe_guc_pc@freq_basic_api.html
   [8]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10235/bat-atsm-2/igt@xe_guc_pc@freq_basic_api.html

  * igt@xe_guc_pc@freq_fixed_idle:
    - bat-atsm-2:         [PASS][9] -> [FAIL][10] ([Intel XE#940]) +1 other test fail
   [9]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7595/bat-atsm-2/igt@xe_guc_pc@freq_fixed_idle.html
   [10]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10235/bat-atsm-2/igt@xe_guc_pc@freq_fixed_idle.html

  * igt@xe_guc_pc@freq_range_idle:
    - bat-adlp-7:         [PASS][11] -> [FAIL][12] ([Intel XE#940]) +1 other test fail
   [11]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7595/bat-adlp-7/igt@xe_guc_pc@freq_range_idle.html
   [12]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10235/bat-adlp-7/igt@xe_guc_pc@freq_range_idle.html

  
#### Possible fixes ####

  * igt@kms_cursor_legacy@basic-flip-before-cursor-legacy:
    - bat-adlp-7:         [FAIL][13] ([i915#2346]) -> [PASS][14]
   [13]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7595/bat-adlp-7/igt@kms_cursor_legacy@basic-flip-before-cursor-legacy.html
   [14]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10235/bat-adlp-7/igt@kms_cursor_legacy@basic-flip-before-cursor-legacy.html

  * {igt@xe_create@create-execqueues-noleak}:
    - bat-adlp-7:         [FAIL][15] ([Intel XE#524]) -> [PASS][16]
   [15]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7595/bat-adlp-7/igt@xe_create@create-execqueues-noleak.html
   [16]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10235/bat-adlp-7/igt@xe_create@create-execqueues-noleak.html

  
  {name}: This element is suppressed. This means it is ignored when computing
          the status of the difference (SUCCESS, WARNING, or FAILURE).

  [Intel XE#524]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/524
  [Intel XE#935]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/935
  [Intel XE#939]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/939
  [Intel XE#940]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/940
  [i915#2346]: https://gitlab.freedesktop.org/drm/intel/issues/2346


Build changes
-------------

  * IGT: IGT_7595 -> IGTPW_10235
  * Linux: xe-505-b25aa17bffa88c86fec716e40bdb3848eea17b23 -> xe-515-a9ee4928479a5449991149cc38747e8e20376db9

  IGTPW_10235: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/index.html
  IGT_7595: cfa00d99b1dfa0621ea552d1ed54907798da1a1a @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
  xe-505-b25aa17bffa88c86fec716e40bdb3848eea17b23: b25aa17bffa88c86fec716e40bdb3848eea17b23
  xe-515-a9ee4928479a5449991149cc38747e8e20376db9: a9ee4928479a5449991149cc38747e8e20376db9

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10235/index.html

[-- Attachment #2: Type: text/html, Size: 5352 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [igt-dev] [PATCH i-g-t] xe_create: create-big-vram subtest
  2023-11-22 10:19 [igt-dev] [PATCH i-g-t] xe_create: create-big-vram subtest Marcin Bernatowicz
                   ` (2 preceding siblings ...)
  2023-11-22 11:36 ` [igt-dev] ✓ CI.xeBAT: " Patchwork
@ 2023-11-22 16:16 ` Kamil Konieczny
  2023-11-23 10:24   ` Bernatowicz, Marcin
  2023-11-23  1:48 ` [igt-dev] ✓ Fi.CI.IGT: success for xe_create: create-big-vram subtest (rev3) Patchwork
  4 siblings, 1 reply; 13+ messages in thread
From: Kamil Konieczny @ 2023-11-22 16:16 UTC (permalink / raw)
  To: igt-dev; +Cc: matthew.auld, Marcin Bernatowicz, jakub1.kolakowski

Hi Marcin,
On 2023-11-22 at 11:19:51 +0100, Marcin Bernatowicz wrote:

please add version info to your patches and also add tests/intel/
or lib/xe as prefix, for example instead of:

[PATCH i-g-t] xe_create: create-big-vram subtest

write:

[PATCH v3 i-g-t] tests/intel/xe_create: create-big-vram subtest

For lib change:

[PATCH v3 i-g-t] lib/xe/xe_query: describe here your change

> Validates the creation of significant Buffer Object (BO) within VRAM,
> considering the entire available CPU-visible VRAM size.
> The size of the created BO can be adjusted using
> '-S' command line parameter, representing BO size in MB.
> 
> v2: rebased, updated to uAPI changes (DRM_XE_VM_CREATE_FLAG_ASYNC_DEFAULT),
>     after review corrections: 1024UL -> 1024ULL,
>     int -> unsigned int (Kamil)
> v3: provided a flag to allocate the memory within the CPU-visible
>       portion of VRAM (Matt)
>     __create_bo replaced with xe_bo_create_flags (Lukasz)
>     removed the percent command line parameter (Lukasz)
>     renamed size_MB to size_mb (Lukasz)
>     added helper function to query available CPU-visible VRAM size,
>     renamed 'xe_vram_available' to 'xe_available_vram_size' for
>       consistency with other function names
> 
> Signed-off-by: Marcin Bernatowicz <marcin.bernatowicz@intel.com>
> ---
>  lib/xe/xe_query.c          | 57 ++++++++++++++++++++++-------
>  lib/xe/xe_query.h          |  3 +-

Please split this into separate patch and send Cc to Francois Dugas,
he is currently changing xe uapi.

>  tests/intel/xe_create.c    | 75 +++++++++++++++++++++++++++++++++++++-
>  tests/intel/xe_evict_ccs.c |  2 +-
>  4 files changed, 120 insertions(+), 17 deletions(-)
> 
> diff --git a/lib/xe/xe_query.c b/lib/xe/xe_query.c
> index afd443be3..de3296062 100644
> --- a/lib/xe/xe_query.c
> +++ b/lib/xe/xe_query.c
> @@ -629,20 +629,20 @@ uint64_t xe_visible_vram_size(int fd, int gt)
>  
>  	return visible_size;
>  }
> -/**
> - * xe_vram_available:
> - * @fd: xe device fd
> - * @gt: gt
> - *
> - * Returns available vram of xe device @fd and @gt.
> - */
> -uint64_t xe_vram_available(int fd, int gt)
> +
> +struct __available_vram {
> +	uint64_t total_available;
> +	uint64_t cpu_visible_available;
> +};
> +
> +static void __xe_available_vram_size_snapshot(int fd, int gt, struct __available_vram *avail_vram)
>  {
>  	struct xe_device *xe_dev;
>  	int region_idx;
>  	struct drm_xe_query_mem_region *mem_region;
>  	struct drm_xe_query_mem_regions *mem_regions;
>  
> +	igt_assert(avail_vram);
>  	xe_dev = find_in_cache(fd);
>  	igt_assert(xe_dev);
>  
> @@ -650,19 +650,48 @@ uint64_t xe_vram_available(int fd, int gt)
>  	mem_region = &xe_dev->mem_regions->regions[region_idx];
>  
>  	if (XE_IS_CLASS_VRAM(mem_region)) {
> -		uint64_t available_vram;
> -
>  		mem_regions = xe_query_mem_regions_new(fd);
>  		pthread_mutex_lock(&cache.cache_mutex);
>  		mem_region->used = mem_regions->regions[region_idx].used;
> -		available_vram = mem_region->total_size - mem_region->used;
> +		mem_region->cpu_visible_used = mem_regions->regions[region_idx].cpu_visible_used;
> +		avail_vram->total_available = mem_region->total_size - mem_region->used;
> +		avail_vram->cpu_visible_available =
> +			mem_region->cpu_visible_size - mem_region->cpu_visible_used;
>  		pthread_mutex_unlock(&cache.cache_mutex);
>  		free(mem_regions);
> -
> -		return available_vram;
>  	}
> +}
>  
> -	return 0;
> +/**
> + * xe_available_vram_size:
> + * @fd: xe device fd
> + * @gt: gt
> + *
> + * Returns size of available vram of xe device @fd and @gt.
> + */
> +uint64_t xe_available_vram_size(int fd, int gt)
> +{
> +	struct __available_vram available_vram = {};
> +
> +	__xe_available_vram_size_snapshot(fd, gt, &available_vram);
> +
> +	return available_vram.total_available;
> +}
> +
> +/**
> + * xe_visible_available_vram_size:
> + * @fd: xe device fd
> + * @gt: gt
> + *
> + * Returns size of visible available vram of xe device @fd and @gt.
> + */
> +uint64_t xe_visible_available_vram_size(int fd, int gt)
> +{
> +	struct __available_vram available_vram = {};
> +
> +	__xe_available_vram_size_snapshot(fd, gt, &available_vram);
> +
> +	return available_vram.cpu_visible_available;
>  }
>  
>  /**
> diff --git a/lib/xe/xe_query.h b/lib/xe/xe_query.h
> index 38e9aa440..503d60b44 100644
> --- a/lib/xe/xe_query.h
> +++ b/lib/xe/xe_query.h
> @@ -92,7 +92,8 @@ unsigned int xe_number_hw_engines(int fd);
>  bool xe_has_vram(int fd);
>  uint64_t xe_vram_size(int fd, int gt);
>  uint64_t xe_visible_vram_size(int fd, int gt);
> -uint64_t xe_vram_available(int fd, int gt);
> +uint64_t xe_available_vram_size(int fd, int gt);
> +uint64_t xe_visible_available_vram_size(int fd, int gt);
>  uint32_t xe_get_default_alignment(int fd);
>  uint32_t xe_va_bits(int fd);
>  uint16_t xe_dev_id(int fd);
> diff --git a/tests/intel/xe_create.c b/tests/intel/xe_create.c
> index f4633cfb3..082e9b440 100644
> --- a/tests/intel/xe_create.c
> +++ b/tests/intel/xe_create.c
> @@ -18,6 +18,12 @@
>  
>  #define PAGE_SIZE 0x1000
>  
> +static struct param {
> +	unsigned int size_mb;
> +} params = {
> +	.size_mb = 0,
> +};
> +
>  static int __create_bo(int fd, uint32_t vm, uint64_t size, uint32_t flags,
>  		       uint32_t *handlep)
>  {
> @@ -214,7 +220,70 @@ static void create_massive_size(int fd)
>  	}
>  }
>  
> -igt_main
> +/**
> + * SUBTEST: create-big-vram
> + * Functionality: BO creation
> + * Test category: functionality test
> + * Description: Verifies the creation of substantial BO within VRAM,
> + *		constituting all available CPU-visible VRAM.
> + */
> +static void create_big_vram(int fd)
> +{
> +	uint64_t bo_size, size, visible_avail_size, alignment;
> +	uint32_t bo_handle;
> +	char *bo_ptr = NULL;
> +	uint64_t vm = 0;
> +	int gt;
> +
> +	igt_require(xe_has_vram(fd));
> +	alignment = xe_get_default_alignment(fd);
> +	vm = xe_vm_create(fd, DRM_XE_VM_CREATE_FLAG_ASYNC_DEFAULT, 0);
> +
> +	xe_for_each_gt(fd, gt) {
> +		visible_avail_size = xe_visible_available_vram_size(fd, gt);
> +		bo_size = params.size_mb ? params.size_mb * 1024ULL * 1024ULL
> +					 : ALIGN_DOWN(visible_avail_size, alignment);
> +		igt_debug("gt%u bo_size=%lu visible_available_vram_size=%lu\n",
> +			gt, bo_size, visible_avail_size);
> +
> +		bo_handle = xe_bo_create_flags(fd, vm, bo_size, visible_vram_memory(fd, gt));
> +		bo_ptr = xe_bo_map(fd, bo_handle, bo_size);
> +
> +		size = bo_size - 1;
> +		while (size > SZ_64K) {
> +			igt_assert_eq(0, READ_ONCE(bo_ptr[size]));
> +			WRITE_ONCE(bo_ptr[size], 'A');
> +			igt_assert_eq('A', READ_ONCE(bo_ptr[size]));
> +			size >>= 1;
> +		}
> +		igt_assert_eq(0, bo_ptr[0]);
> +
> +		munmap(bo_ptr, bo_size);
> +		gem_close(fd, bo_handle);
> +	}
> +
> +	xe_vm_destroy(fd, vm);
> +}
> +
> +static int opt_handler(int opt, int opt_index, void *data)
> +{
> +	switch (opt) {
> +	case 'S':
> +		params.size_mb = atoi(optarg);
> +		igt_debug("Size MB: %d\n", params.size_mb);
> +		break;
> +	default:
> +		return IGT_OPT_HANDLER_ERROR;
> +	}
> +
> +	return IGT_OPT_HANDLER_SUCCESS;
> +}
> +
> +const char *help_str =
> +	"  -S\tBO size in MB\n"

Why not percentage? imho percentage is easier to use.

> +	;
> +
> +igt_main_args("S:", NULL, help_str, opt_handler, NULL)
>  {
>  	int xe;
>  
> @@ -254,6 +323,10 @@ igt_main
>  	}
>  
>  

Remove one empty line.

> +	igt_subtest("create-big-vram") {
> +		create_big_vram(xe);
> +	}
> +
>  	igt_fixture
>  		drm_close_driver(xe);
>  }
> diff --git a/tests/intel/xe_evict_ccs.c b/tests/intel/xe_evict_ccs.c
> index d7244f620..b04c20935 100644
> --- a/tests/intel/xe_evict_ccs.c
> +++ b/tests/intel/xe_evict_ccs.c
> @@ -325,7 +325,7 @@ static void set_config(int fd, uint32_t flags, const struct param *param,
>  	config->param = param;
>  	config->flags = flags;
>  	config->free_mb = xe_visible_vram_size(fd, 0) / SZ_1M;
> -	config->total_mb = xe_vram_available(fd, 0) / SZ_1M;
> +	config->total_mb = xe_available_vram_size(fd, 0) / SZ_1M;

This should go with lib change.

Regards,
Kamil

>  	config->test_mb = min_t(int, config->free_mb * config->param->vram_percent / 100,
>  				config->total_mb * config->param->vram_percent / 100);
>  
> -- 
> 2.31.1
> 

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [igt-dev] ✓ Fi.CI.IGT: success for xe_create: create-big-vram subtest (rev3)
  2023-11-22 10:19 [igt-dev] [PATCH i-g-t] xe_create: create-big-vram subtest Marcin Bernatowicz
                   ` (3 preceding siblings ...)
  2023-11-22 16:16 ` [igt-dev] [PATCH i-g-t] xe_create: create-big-vram subtest Kamil Konieczny
@ 2023-11-23  1:48 ` Patchwork
  4 siblings, 0 replies; 13+ messages in thread
From: Patchwork @ 2023-11-23  1:48 UTC (permalink / raw)
  To: Marcin Bernatowicz; +Cc: igt-dev

[-- Attachment #1: Type: text/plain, Size: 65958 bytes --]

== Series Details ==

Series: xe_create: create-big-vram subtest (rev3)
URL   : https://patchwork.freedesktop.org/series/126347/
State : success

== Summary ==

CI Bug Log - changes from CI_DRM_13910_full -> IGTPW_10235_full
====================================================

Summary
-------

  **SUCCESS**

  No regressions found.

  External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/index.html

Participating hosts (11 -> 11)
------------------------------

  No changes in participating hosts

Possible new issues
-------------------

  Here are the unknown changes that may have been introduced in IGTPW_10235_full:

### IGT changes ###

#### Suppressed ####

  The following results come from untrusted machines, tests, or statuses.
  They do not affect the overall result.

  * {igt@i915_pm_rc6_residency@rc6-idle@gt0-rcs0}:
    - shard-tglu:         [FAIL][1] ([i915#3591]) -> [WARN][2]
   [1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13910/shard-tglu-7/igt@i915_pm_rc6_residency@rc6-idle@gt0-rcs0.html
   [2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-tglu-7/igt@i915_pm_rc6_residency@rc6-idle@gt0-rcs0.html

  * {igt@kms_dirtyfb@drrs-dirtyfb-ioctl}:
    - shard-dg1:          NOTRUN -> [SKIP][3]
   [3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg1-18/igt@kms_dirtyfb@drrs-dirtyfb-ioctl.html

  
Known issues
------------

  Here are the changes found in IGTPW_10235_full that come from known issues:

### IGT changes ###

#### Issues hit ####

  * igt@api_intel_bb@blit-reloc-keep-cache:
    - shard-dg2:          NOTRUN -> [SKIP][4] ([i915#8411])
   [4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg2-11/igt@api_intel_bb@blit-reloc-keep-cache.html

  * igt@api_intel_bb@render-ccs:
    - shard-dg2:          NOTRUN -> [FAIL][5] ([i915#6122])
   [5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg2-7/igt@api_intel_bb@render-ccs.html

  * igt@drm_fdinfo@busy-hang@bcs0:
    - shard-dg2:          NOTRUN -> [SKIP][6] ([i915#8414]) +21 other tests skip
   [6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg2-7/igt@drm_fdinfo@busy-hang@bcs0.html

  * igt@drm_fdinfo@isolation@rcs0:
    - shard-mtlp:         NOTRUN -> [SKIP][7] ([i915#8414]) +20 other tests skip
   [7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-mtlp-5/igt@drm_fdinfo@isolation@rcs0.html

  * igt@gem_busy@semaphore:
    - shard-mtlp:         NOTRUN -> [SKIP][8] ([i915#3936])
   [8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-mtlp-6/igt@gem_busy@semaphore.html

  * igt@gem_caching@read-writes:
    - shard-mtlp:         NOTRUN -> [SKIP][9] ([i915#4873])
   [9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-mtlp-8/igt@gem_caching@read-writes.html

  * igt@gem_ccs@suspend-resume:
    - shard-mtlp:         NOTRUN -> [SKIP][10] ([i915#9323])
   [10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-mtlp-7/igt@gem_ccs@suspend-resume.html

  * igt@gem_create@create-ext-set-pat:
    - shard-tglu:         NOTRUN -> [SKIP][11] ([i915#8562])
   [11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-tglu-10/igt@gem_create@create-ext-set-pat.html

  * igt@gem_ctx_param@set-priority-not-supported:
    - shard-mtlp:         NOTRUN -> [SKIP][12] ([fdo#109314])
   [12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-mtlp-5/igt@gem_ctx_param@set-priority-not-supported.html

  * igt@gem_ctx_persistence@hang:
    - shard-dg2:          NOTRUN -> [SKIP][13] ([i915#8555])
   [13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg2-6/igt@gem_ctx_persistence@hang.html

  * igt@gem_ctx_sseu@invalid-args:
    - shard-mtlp:         NOTRUN -> [SKIP][14] ([i915#280])
   [14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-mtlp-5/igt@gem_ctx_sseu@invalid-args.html

  * igt@gem_ctx_sseu@invalid-sseu:
    - shard-dg2:          NOTRUN -> [SKIP][15] ([i915#280]) +1 other test skip
   [15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg2-2/igt@gem_ctx_sseu@invalid-sseu.html

  * igt@gem_eio@in-flight-external:
    - shard-mtlp:         [PASS][16] -> [ABORT][17] ([i915#9414]) +1 other test abort
   [16]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13910/shard-mtlp-7/igt@gem_eio@in-flight-external.html
   [17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-mtlp-7/igt@gem_eio@in-flight-external.html

  * igt@gem_eio@unwedge-stress:
    - shard-mtlp:         [PASS][18] -> [ABORT][19] ([i915#9262]) +1 other test abort
   [18]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13910/shard-mtlp-4/igt@gem_eio@unwedge-stress.html
   [19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-mtlp-4/igt@gem_eio@unwedge-stress.html

  * igt@gem_exec_balancer@invalid-bonds:
    - shard-dg2:          NOTRUN -> [SKIP][20] ([i915#4036])
   [20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg2-10/igt@gem_exec_balancer@invalid-bonds.html

  * igt@gem_exec_balancer@parallel-ordering:
    - shard-tglu:         NOTRUN -> [FAIL][21] ([i915#6117])
   [21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-tglu-6/igt@gem_exec_balancer@parallel-ordering.html

  * igt@gem_exec_capture@capture-invisible@smem0:
    - shard-mtlp:         NOTRUN -> [SKIP][22] ([i915#6334])
   [22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-mtlp-7/igt@gem_exec_capture@capture-invisible@smem0.html

  * igt@gem_exec_capture@capture-recoverable:
    - shard-tglu:         NOTRUN -> [SKIP][23] ([i915#6344])
   [23]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-tglu-6/igt@gem_exec_capture@capture-recoverable.html

  * igt@gem_exec_capture@many-4k-incremental:
    - shard-dg2:          NOTRUN -> [FAIL][24] ([i915#9606])
   [24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg2-2/igt@gem_exec_capture@many-4k-incremental.html

  * igt@gem_exec_fair@basic-deadline:
    - shard-mtlp:         NOTRUN -> [SKIP][25] ([i915#4473] / [i915#4771])
   [25]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-mtlp-5/igt@gem_exec_fair@basic-deadline.html

  * igt@gem_exec_fair@basic-pace-solo:
    - shard-mtlp:         NOTRUN -> [SKIP][26] ([i915#4473])
   [26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-mtlp-8/igt@gem_exec_fair@basic-pace-solo.html

  * igt@gem_exec_fair@basic-throttle:
    - shard-dg2:          NOTRUN -> [SKIP][27] ([i915#3539]) +1 other test skip
   [27]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg2-5/igt@gem_exec_fair@basic-throttle.html

  * igt@gem_exec_fence@submit3:
    - shard-dg2:          NOTRUN -> [SKIP][28] ([i915#4812]) +1 other test skip
   [28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg2-2/igt@gem_exec_fence@submit3.html
    - shard-mtlp:         NOTRUN -> [SKIP][29] ([i915#4812]) +2 other tests skip
   [29]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-mtlp-6/igt@gem_exec_fence@submit3.html

  * igt@gem_exec_flush@basic-batch-kernel-default-cmd:
    - shard-dg2:          NOTRUN -> [SKIP][30] ([i915#3539] / [i915#4852]) +4 other tests skip
   [30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg2-10/igt@gem_exec_flush@basic-batch-kernel-default-cmd.html

  * igt@gem_exec_flush@basic-uc-set-default:
    - shard-dg1:          NOTRUN -> [SKIP][31] ([i915#3539])
   [31]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg1-17/igt@gem_exec_flush@basic-uc-set-default.html

  * igt@gem_exec_reloc@basic-gtt-cpu-active:
    - shard-dg2:          NOTRUN -> [SKIP][32] ([i915#3281]) +12 other tests skip
   [32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg2-11/igt@gem_exec_reloc@basic-gtt-cpu-active.html

  * igt@gem_exec_reloc@basic-gtt-wc:
    - shard-dg1:          NOTRUN -> [SKIP][33] ([i915#3281])
   [33]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg1-13/igt@gem_exec_reloc@basic-gtt-wc.html

  * igt@gem_exec_reloc@basic-write-cpu-noreloc:
    - shard-mtlp:         NOTRUN -> [SKIP][34] ([i915#3281]) +9 other tests skip
   [34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-mtlp-6/igt@gem_exec_reloc@basic-write-cpu-noreloc.html

  * igt@gem_exec_schedule@preempt-queue-contexts-chain:
    - shard-dg2:          NOTRUN -> [SKIP][35] ([i915#4537] / [i915#4812])
   [35]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg2-5/igt@gem_exec_schedule@preempt-queue-contexts-chain.html
    - shard-mtlp:         NOTRUN -> [SKIP][36] ([i915#4537] / [i915#4812])
   [36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-mtlp-8/igt@gem_exec_schedule@preempt-queue-contexts-chain.html

  * igt@gem_exec_suspend@basic-s4-devices@smem:
    - shard-tglu:         [PASS][37] -> [ABORT][38] ([i915#7975] / [i915#8213])
   [37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13910/shard-tglu-9/igt@gem_exec_suspend@basic-s4-devices@smem.html
   [38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-tglu-10/igt@gem_exec_suspend@basic-s4-devices@smem.html

  * igt@gem_fence_thrash@bo-copy:
    - shard-dg2:          NOTRUN -> [SKIP][39] ([i915#4860]) +1 other test skip
   [39]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg2-7/igt@gem_fence_thrash@bo-copy.html

  * igt@gem_fence_thrash@bo-write-verify-none:
    - shard-mtlp:         NOTRUN -> [SKIP][40] ([i915#4860]) +1 other test skip
   [40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-mtlp-4/igt@gem_fence_thrash@bo-write-verify-none.html

  * igt@gem_gtt_cpu_tlb:
    - shard-mtlp:         NOTRUN -> [SKIP][41] ([i915#4077]) +7 other tests skip
   [41]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-mtlp-2/igt@gem_gtt_cpu_tlb.html

  * igt@gem_lmem_swapping@heavy-verify-random:
    - shard-tglu:         NOTRUN -> [SKIP][42] ([i915#4613]) +1 other test skip
   [42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-tglu-10/igt@gem_lmem_swapping@heavy-verify-random.html

  * igt@gem_lmem_swapping@parallel-random-verify-ccs@lmem0:
    - shard-dg1:          NOTRUN -> [SKIP][43] ([i915#4565])
   [43]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg1-18/igt@gem_lmem_swapping@parallel-random-verify-ccs@lmem0.html

  * igt@gem_lmem_swapping@smem-oom:
    - shard-mtlp:         NOTRUN -> [SKIP][44] ([i915#4613]) +4 other tests skip
   [44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-mtlp-6/igt@gem_lmem_swapping@smem-oom.html

  * igt@gem_lmem_swapping@smem-oom@lmem0:
    - shard-dg2:          [PASS][45] -> [TIMEOUT][46] ([i915#5493])
   [45]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13910/shard-dg2-2/igt@gem_lmem_swapping@smem-oom@lmem0.html
   [46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg2-10/igt@gem_lmem_swapping@smem-oom@lmem0.html

  * igt@gem_mmap@bad-size:
    - shard-mtlp:         NOTRUN -> [SKIP][47] ([i915#4083]) +4 other tests skip
   [47]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-mtlp-2/igt@gem_mmap@bad-size.html

  * igt@gem_mmap@short-mmap:
    - shard-dg2:          NOTRUN -> [SKIP][48] ([i915#4083]) +5 other tests skip
   [48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg2-7/igt@gem_mmap@short-mmap.html

  * igt@gem_mmap_gtt@cpuset-big-copy:
    - shard-dg2:          NOTRUN -> [SKIP][49] ([i915#4077]) +13 other tests skip
   [49]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg2-7/igt@gem_mmap_gtt@cpuset-big-copy.html

  * igt@gem_mmap_gtt@cpuset-medium-copy-xy:
    - shard-dg1:          NOTRUN -> [SKIP][50] ([i915#4077]) +1 other test skip
   [50]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg1-14/igt@gem_mmap_gtt@cpuset-medium-copy-xy.html

  * igt@gem_mmap_wc@bad-offset:
    - shard-dg1:          NOTRUN -> [SKIP][51] ([i915#4083])
   [51]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg1-17/igt@gem_mmap_wc@bad-offset.html

  * igt@gem_partial_pwrite_pread@reads-uncached:
    - shard-dg2:          NOTRUN -> [SKIP][52] ([i915#3282]) +8 other tests skip
   [52]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg2-7/igt@gem_partial_pwrite_pread@reads-uncached.html

  * igt@gem_partial_pwrite_pread@writes-after-reads:
    - shard-dg1:          NOTRUN -> [SKIP][53] ([i915#3282])
   [53]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg1-14/igt@gem_partial_pwrite_pread@writes-after-reads.html

  * igt@gem_pxp@create-regular-buffer:
    - shard-mtlp:         NOTRUN -> [SKIP][54] ([i915#4270]) +1 other test skip
   [54]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-mtlp-5/igt@gem_pxp@create-regular-buffer.html

  * igt@gem_pxp@reject-modify-context-protection-off-3:
    - shard-tglu:         NOTRUN -> [SKIP][55] ([i915#4270]) +1 other test skip
   [55]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-tglu-7/igt@gem_pxp@reject-modify-context-protection-off-3.html

  * igt@gem_pxp@verify-pxp-execution-after-suspend-resume:
    - shard-dg2:          NOTRUN -> [SKIP][56] ([i915#4270]) +6 other tests skip
   [56]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg2-5/igt@gem_pxp@verify-pxp-execution-after-suspend-resume.html

  * igt@gem_readwrite@read-bad-handle:
    - shard-mtlp:         NOTRUN -> [SKIP][57] ([i915#3282]) +6 other tests skip
   [57]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-mtlp-5/igt@gem_readwrite@read-bad-handle.html

  * igt@gem_render_copy@y-tiled-ccs-to-yf-tiled:
    - shard-mtlp:         NOTRUN -> [SKIP][58] ([i915#8428]) +3 other tests skip
   [58]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-mtlp-1/igt@gem_render_copy@y-tiled-ccs-to-yf-tiled.html

  * igt@gem_render_tiled_blits@basic:
    - shard-dg1:          NOTRUN -> [SKIP][59] ([i915#4079]) +1 other test skip
   [59]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg1-17/igt@gem_render_tiled_blits@basic.html

  * igt@gem_set_tiling_vs_gtt:
    - shard-mtlp:         NOTRUN -> [SKIP][60] ([i915#4079]) +2 other tests skip
   [60]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-mtlp-2/igt@gem_set_tiling_vs_gtt.html

  * igt@gem_spin_batch@spin-all-new:
    - shard-dg2:          NOTRUN -> [FAIL][61] ([i915#5889])
   [61]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg2-2/igt@gem_spin_batch@spin-all-new.html

  * igt@gem_userptr_blits@create-destroy-unsync:
    - shard-tglu:         NOTRUN -> [SKIP][62] ([i915#3297]) +1 other test skip
   [62]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-tglu-6/igt@gem_userptr_blits@create-destroy-unsync.html

  * igt@gem_userptr_blits@mmap-offset-banned@gtt:
    - shard-mtlp:         NOTRUN -> [SKIP][63] ([i915#3297]) +2 other tests skip
   [63]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-mtlp-8/igt@gem_userptr_blits@mmap-offset-banned@gtt.html

  * igt@gem_userptr_blits@readonly-pwrite-unsync:
    - shard-dg2:          NOTRUN -> [SKIP][64] ([i915#3297]) +3 other tests skip
   [64]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg2-7/igt@gem_userptr_blits@readonly-pwrite-unsync.html

  * igt@gen7_exec_parse@basic-rejected:
    - shard-dg2:          NOTRUN -> [SKIP][65] ([fdo#109289]) +8 other tests skip
   [65]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg2-5/igt@gen7_exec_parse@basic-rejected.html

  * igt@gen9_exec_parse@basic-rejected-ctx-param:
    - shard-tglu:         NOTRUN -> [SKIP][66] ([i915#2527] / [i915#2856]) +2 other tests skip
   [66]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-tglu-6/igt@gen9_exec_parse@basic-rejected-ctx-param.html

  * igt@gen9_exec_parse@batch-invalid-length:
    - shard-dg2:          NOTRUN -> [SKIP][67] ([i915#2856]) +3 other tests skip
   [67]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg2-10/igt@gen9_exec_parse@batch-invalid-length.html

  * igt@gen9_exec_parse@bb-start-param:
    - shard-mtlp:         NOTRUN -> [SKIP][68] ([i915#2856]) +2 other tests skip
   [68]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-mtlp-2/igt@gen9_exec_parse@bb-start-param.html

  * igt@gen9_exec_parse@valid-registers:
    - shard-dg1:          NOTRUN -> [SKIP][69] ([i915#2527])
   [69]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg1-12/igt@gen9_exec_parse@valid-registers.html

  * igt@i915_module_load@load:
    - shard-tglu:         NOTRUN -> [SKIP][70] ([i915#6227])
   [70]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-tglu-8/igt@i915_module_load@load.html

  * igt@i915_pm_freq_api@freq-reset-multiple:
    - shard-tglu:         NOTRUN -> [SKIP][71] ([i915#8399])
   [71]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-tglu-8/igt@i915_pm_freq_api@freq-reset-multiple.html

  * igt@i915_query@query-topology-coherent-slice-mask:
    - shard-mtlp:         NOTRUN -> [SKIP][72] ([i915#6188])
   [72]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-mtlp-4/igt@i915_query@query-topology-coherent-slice-mask.html

  * igt@i915_query@query-topology-known-pci-ids:
    - shard-dg1:          NOTRUN -> [SKIP][73] ([fdo#109303])
   [73]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg1-19/igt@i915_query@query-topology-known-pci-ids.html

  * igt@i915_selftest@mock@memory_region:
    - shard-mtlp:         NOTRUN -> [DMESG-WARN][74] ([i915#9311])
   [74]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-mtlp-7/igt@i915_selftest@mock@memory_region.html

  * igt@i915_suspend@basic-s3-without-i915:
    - shard-mtlp:         NOTRUN -> [SKIP][75] ([i915#6645])
   [75]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-mtlp-4/igt@i915_suspend@basic-s3-without-i915.html

  * igt@kms_addfb_basic@bo-too-small-due-to-tiling:
    - shard-dg1:          NOTRUN -> [SKIP][76] ([i915#4212]) +1 other test skip
   [76]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg1-13/igt@kms_addfb_basic@bo-too-small-due-to-tiling.html

  * igt@kms_addfb_basic@clobberred-modifier:
    - shard-dg2:          NOTRUN -> [SKIP][77] ([i915#4212])
   [77]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg2-6/igt@kms_addfb_basic@clobberred-modifier.html

  * igt@kms_addfb_basic@invalid-smem-bo-on-discrete:
    - shard-mtlp:         NOTRUN -> [SKIP][78] ([i915#3826])
   [78]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-mtlp-2/igt@kms_addfb_basic@invalid-smem-bo-on-discrete.html

  * igt@kms_addfb_basic@tile-pitch-mismatch:
    - shard-dg2:          NOTRUN -> [SKIP][79] ([i915#4212] / [i915#5608])
   [79]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg2-5/igt@kms_addfb_basic@tile-pitch-mismatch.html

  * igt@kms_async_flips@crc@pipe-a-hdmi-a-2:
    - shard-dg2:          NOTRUN -> [FAIL][80] ([i915#8247]) +3 other tests fail
   [80]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg2-2/igt@kms_async_flips@crc@pipe-a-hdmi-a-2.html

  * igt@kms_async_flips@invalid-async-flip:
    - shard-mtlp:         NOTRUN -> [SKIP][81] ([i915#6228])
   [81]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-mtlp-4/igt@kms_async_flips@invalid-async-flip.html

  * igt@kms_atomic_transition@plane-all-modeset-transition-fencing:
    - shard-mtlp:         NOTRUN -> [SKIP][82] ([i915#1769] / [i915#3555])
   [82]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-mtlp-2/igt@kms_atomic_transition@plane-all-modeset-transition-fencing.html

  * igt@kms_big_fb@4-tiled-64bpp-rotate-180:
    - shard-mtlp:         [PASS][83] -> [FAIL][84] ([i915#5138])
   [83]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13910/shard-mtlp-4/igt@kms_big_fb@4-tiled-64bpp-rotate-180.html
   [84]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-mtlp-7/igt@kms_big_fb@4-tiled-64bpp-rotate-180.html

  * igt@kms_big_fb@4-tiled-max-hw-stride-32bpp-rotate-0-async-flip:
    - shard-tglu:         NOTRUN -> [SKIP][85] ([fdo#111615] / [i915#5286]) +3 other tests skip
   [85]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-tglu-8/igt@kms_big_fb@4-tiled-max-hw-stride-32bpp-rotate-0-async-flip.html

  * igt@kms_big_fb@4-tiled-max-hw-stride-64bpp-rotate-0-async-flip:
    - shard-dg1:          NOTRUN -> [SKIP][86] ([i915#4538] / [i915#5286])
   [86]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg1-16/igt@kms_big_fb@4-tiled-max-hw-stride-64bpp-rotate-0-async-flip.html

  * igt@kms_big_fb@linear-16bpp-rotate-90:
    - shard-dg2:          NOTRUN -> [SKIP][87] ([fdo#111614]) +9 other tests skip
   [87]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg2-11/igt@kms_big_fb@linear-16bpp-rotate-90.html

  * igt@kms_big_fb@linear-64bpp-rotate-270:
    - shard-mtlp:         NOTRUN -> [SKIP][88] ([fdo#111614]) +3 other tests skip
   [88]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-mtlp-4/igt@kms_big_fb@linear-64bpp-rotate-270.html

  * igt@kms_big_fb@x-tiled-max-hw-stride-32bpp-rotate-180-async-flip:
    - shard-tglu:         [PASS][89] -> [FAIL][90] ([i915#3743])
   [89]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13910/shard-tglu-9/igt@kms_big_fb@x-tiled-max-hw-stride-32bpp-rotate-180-async-flip.html
   [90]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-tglu-9/igt@kms_big_fb@x-tiled-max-hw-stride-32bpp-rotate-180-async-flip.html

  * igt@kms_big_fb@y-tiled-64bpp-rotate-270:
    - shard-tglu:         NOTRUN -> [SKIP][91] ([fdo#111614])
   [91]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-tglu-9/igt@kms_big_fb@y-tiled-64bpp-rotate-270.html

  * igt@kms_big_fb@y-tiled-8bpp-rotate-270:
    - shard-dg1:          NOTRUN -> [SKIP][92] ([i915#3638])
   [92]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg1-16/igt@kms_big_fb@y-tiled-8bpp-rotate-270.html

  * igt@kms_big_fb@y-tiled-addfb-size-offset-overflow:
    - shard-dg2:          NOTRUN -> [SKIP][93] ([i915#5190]) +13 other tests skip
   [93]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg2-7/igt@kms_big_fb@y-tiled-addfb-size-offset-overflow.html

  * igt@kms_big_fb@y-tiled-max-hw-stride-32bpp-rotate-0-hflip-async-flip:
    - shard-tglu:         NOTRUN -> [FAIL][94] ([i915#3743])
   [94]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-tglu-8/igt@kms_big_fb@y-tiled-max-hw-stride-32bpp-rotate-0-hflip-async-flip.html

  * igt@kms_big_fb@yf-tiled-8bpp-rotate-90:
    - shard-dg2:          NOTRUN -> [SKIP][95] ([i915#4538] / [i915#5190]) +4 other tests skip
   [95]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg2-11/igt@kms_big_fb@yf-tiled-8bpp-rotate-90.html

  * igt@kms_big_fb@yf-tiled-max-hw-stride-32bpp-rotate-0-async-flip:
    - shard-dg1:          NOTRUN -> [SKIP][96] ([i915#4538]) +1 other test skip
   [96]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg1-14/igt@kms_big_fb@yf-tiled-max-hw-stride-32bpp-rotate-0-async-flip.html

  * igt@kms_big_fb@yf-tiled-max-hw-stride-64bpp-rotate-180-hflip-async-flip:
    - shard-mtlp:         NOTRUN -> [SKIP][97] ([fdo#111615]) +9 other tests skip
   [97]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-mtlp-6/igt@kms_big_fb@yf-tiled-max-hw-stride-64bpp-rotate-180-hflip-async-flip.html

  * igt@kms_big_joiner@2x-modeset:
    - shard-mtlp:         NOTRUN -> [SKIP][98] ([i915#2705]) +1 other test skip
   [98]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-mtlp-7/igt@kms_big_joiner@2x-modeset.html

  * igt@kms_big_joiner@basic:
    - shard-dg2:          NOTRUN -> [SKIP][99] ([i915#2705])
   [99]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg2-7/igt@kms_big_joiner@basic.html

  * igt@kms_big_joiner@invalid-modeset:
    - shard-tglu:         NOTRUN -> [SKIP][100] ([i915#2705])
   [100]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-tglu-9/igt@kms_big_joiner@invalid-modeset.html

  * igt@kms_cdclk@mode-transition@pipe-d-hdmi-a-3:
    - shard-dg2:          NOTRUN -> [SKIP][101] ([i915#4087] / [i915#7213]) +3 other tests skip
   [101]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg2-5/igt@kms_cdclk@mode-transition@pipe-d-hdmi-a-3.html

  * igt@kms_cdclk@plane-scaling@pipe-c-edp-1:
    - shard-mtlp:         NOTRUN -> [SKIP][102] ([i915#4087]) +3 other tests skip
   [102]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-mtlp-4/igt@kms_cdclk@plane-scaling@pipe-c-edp-1.html

  * igt@kms_cdclk@plane-scaling@pipe-c-hdmi-a-3:
    - shard-dg2:          NOTRUN -> [SKIP][103] ([i915#4087]) +3 other tests skip
   [103]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg2-7/igt@kms_cdclk@plane-scaling@pipe-c-hdmi-a-3.html

  * igt@kms_chamelium_color@ctm-0-25:
    - shard-tglu:         NOTRUN -> [SKIP][104] ([fdo#111827])
   [104]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-tglu-10/igt@kms_chamelium_color@ctm-0-25.html

  * igt@kms_chamelium_color@degamma:
    - shard-dg2:          NOTRUN -> [SKIP][105] ([fdo#111827]) +2 other tests skip
   [105]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg2-6/igt@kms_chamelium_color@degamma.html

  * igt@kms_chamelium_color@gamma:
    - shard-mtlp:         NOTRUN -> [SKIP][106] ([fdo#111827]) +1 other test skip
   [106]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-mtlp-7/igt@kms_chamelium_color@gamma.html

  * igt@kms_chamelium_edid@dp-edid-change-during-suspend:
    - shard-dg1:          NOTRUN -> [SKIP][107] ([i915#7828]) +1 other test skip
   [107]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg1-12/igt@kms_chamelium_edid@dp-edid-change-during-suspend.html

  * igt@kms_chamelium_frames@hdmi-cmp-planar-formats:
    - shard-tglu:         NOTRUN -> [SKIP][108] ([i915#7828]) +2 other tests skip
   [108]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-tglu-9/igt@kms_chamelium_frames@hdmi-cmp-planar-formats.html

  * igt@kms_chamelium_hpd@dp-hpd-storm:
    - shard-dg2:          NOTRUN -> [SKIP][109] ([i915#7828]) +12 other tests skip
   [109]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg2-2/igt@kms_chamelium_hpd@dp-hpd-storm.html

  * igt@kms_chamelium_hpd@vga-hpd:
    - shard-mtlp:         NOTRUN -> [SKIP][110] ([i915#7828]) +6 other tests skip
   [110]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-mtlp-7/igt@kms_chamelium_hpd@vga-hpd.html

  * igt@kms_color@deep-color@pipe-b-edp-1-degamma:
    - shard-mtlp:         NOTRUN -> [FAIL][111] ([i915#6892]) +3 other tests fail
   [111]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-mtlp-2/igt@kms_color@deep-color@pipe-b-edp-1-degamma.html

  * igt@kms_content_protection@atomic-dpms:
    - shard-tglu:         NOTRUN -> [SKIP][112] ([i915#6944] / [i915#7116] / [i915#7118])
   [112]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-tglu-7/igt@kms_content_protection@atomic-dpms.html

  * igt@kms_content_protection@dp-mst-type-1:
    - shard-dg2:          NOTRUN -> [SKIP][113] ([i915#3299]) +1 other test skip
   [113]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg2-11/igt@kms_content_protection@dp-mst-type-1.html

  * igt@kms_content_protection@legacy:
    - shard-dg2:          NOTRUN -> [SKIP][114] ([i915#7118]) +2 other tests skip
   [114]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg2-6/igt@kms_content_protection@legacy.html

  * igt@kms_content_protection@srm:
    - shard-mtlp:         NOTRUN -> [SKIP][115] ([i915#6944])
   [115]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-mtlp-1/igt@kms_content_protection@srm.html

  * igt@kms_cursor_crc@cursor-random-32x10:
    - shard-mtlp:         NOTRUN -> [SKIP][116] ([i915#3555] / [i915#8814])
   [116]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-mtlp-8/igt@kms_cursor_crc@cursor-random-32x10.html

  * igt@kms_cursor_crc@cursor-sliding-32x10:
    - shard-dg2:          NOTRUN -> [SKIP][117] ([i915#3555]) +6 other tests skip
   [117]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg2-2/igt@kms_cursor_crc@cursor-sliding-32x10.html

  * igt@kms_cursor_crc@cursor-sliding-512x170:
    - shard-mtlp:         NOTRUN -> [SKIP][118] ([i915#3359]) +1 other test skip
   [118]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-mtlp-2/igt@kms_cursor_crc@cursor-sliding-512x170.html

  * igt@kms_cursor_crc@cursor-sliding-512x512:
    - shard-tglu:         NOTRUN -> [SKIP][119] ([i915#3359])
   [119]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-tglu-3/igt@kms_cursor_crc@cursor-sliding-512x512.html

  * igt@kms_cursor_legacy@2x-flip-vs-cursor-atomic:
    - shard-dg2:          NOTRUN -> [SKIP][120] ([fdo#109274] / [fdo#111767] / [i915#5354])
   [120]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg2-2/igt@kms_cursor_legacy@2x-flip-vs-cursor-atomic.html

  * igt@kms_cursor_legacy@2x-long-nonblocking-modeset-vs-cursor-atomic:
    - shard-dg2:          NOTRUN -> [SKIP][121] ([fdo#109274] / [i915#5354]) +4 other tests skip
   [121]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg2-10/igt@kms_cursor_legacy@2x-long-nonblocking-modeset-vs-cursor-atomic.html

  * igt@kms_cursor_legacy@basic-busy-flip-before-cursor-atomic:
    - shard-dg2:          NOTRUN -> [SKIP][122] ([i915#4103] / [i915#4213] / [i915#5608])
   [122]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg2-11/igt@kms_cursor_legacy@basic-busy-flip-before-cursor-atomic.html

  * igt@kms_cursor_legacy@basic-busy-flip-before-cursor-legacy:
    - shard-dg1:          NOTRUN -> [SKIP][123] ([i915#4103] / [i915#4213])
   [123]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg1-18/igt@kms_cursor_legacy@basic-busy-flip-before-cursor-legacy.html

  * igt@kms_cursor_legacy@cursorb-vs-flipb-atomic-transitions-varying-size:
    - shard-mtlp:         NOTRUN -> [SKIP][124] ([i915#3546]) +2 other tests skip
   [124]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-mtlp-8/igt@kms_cursor_legacy@cursorb-vs-flipb-atomic-transitions-varying-size.html

  * igt@kms_cursor_legacy@short-busy-flip-before-cursor-atomic-transitions:
    - shard-dg2:          NOTRUN -> [SKIP][125] ([i915#4103] / [i915#4213])
   [125]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg2-11/igt@kms_cursor_legacy@short-busy-flip-before-cursor-atomic-transitions.html

  * igt@kms_cursor_legacy@single-bo@all-pipes:
    - shard-mtlp:         [PASS][126] -> [DMESG-WARN][127] ([i915#2017])
   [126]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13910/shard-mtlp-7/igt@kms_cursor_legacy@single-bo@all-pipes.html
   [127]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-mtlp-4/igt@kms_cursor_legacy@single-bo@all-pipes.html

  * igt@kms_display_modes@mst-extended-mode-negative:
    - shard-dg2:          NOTRUN -> [SKIP][128] ([i915#8588])
   [128]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg2-11/igt@kms_display_modes@mst-extended-mode-negative.html
    - shard-mtlp:         NOTRUN -> [SKIP][129] ([i915#8588])
   [129]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-mtlp-7/igt@kms_display_modes@mst-extended-mode-negative.html

  * igt@kms_draw_crc@draw-method-mmap-gtt:
    - shard-mtlp:         NOTRUN -> [SKIP][130] ([i915#3555] / [i915#8812])
   [130]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-mtlp-5/igt@kms_draw_crc@draw-method-mmap-gtt.html

  * igt@kms_dsc@dsc-fractional-bpp:
    - shard-dg2:          NOTRUN -> [SKIP][131] ([i915#3840] / [i915#9688])
   [131]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg2-2/igt@kms_dsc@dsc-fractional-bpp.html

  * igt@kms_dsc@dsc-with-bpc-formats:
    - shard-tglu:         NOTRUN -> [SKIP][132] ([i915#3555] / [i915#3840])
   [132]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-tglu-9/igt@kms_dsc@dsc-with-bpc-formats.html

  * igt@kms_dsc@dsc-with-formats:
    - shard-mtlp:         NOTRUN -> [SKIP][133] ([i915#3555] / [i915#3840] / [i915#4098])
   [133]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-mtlp-6/igt@kms_dsc@dsc-with-formats.html

  * igt@kms_flip@2x-blocking-absolute-wf_vblank:
    - shard-mtlp:         NOTRUN -> [SKIP][134] ([i915#3637]) +4 other tests skip
   [134]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-mtlp-5/igt@kms_flip@2x-blocking-absolute-wf_vblank.html

  * igt@kms_flip@2x-flip-vs-expired-vblank-interruptible:
    - shard-dg2:          NOTRUN -> [SKIP][135] ([fdo#109274] / [fdo#111767])
   [135]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg2-2/igt@kms_flip@2x-flip-vs-expired-vblank-interruptible.html

  * igt@kms_flip@2x-flip-vs-fences-interruptible:
    - shard-dg2:          NOTRUN -> [SKIP][136] ([i915#8381]) +1 other test skip
   [136]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg2-5/igt@kms_flip@2x-flip-vs-fences-interruptible.html

  * igt@kms_flip@2x-flip-vs-panning:
    - shard-dg2:          NOTRUN -> [SKIP][137] ([fdo#109274]) +7 other tests skip
   [137]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg2-2/igt@kms_flip@2x-flip-vs-panning.html

  * igt@kms_flip@2x-flip-vs-rmfb-interruptible:
    - shard-mtlp:         NOTRUN -> [SKIP][138] ([fdo#111767] / [i915#3637])
   [138]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-mtlp-8/igt@kms_flip@2x-flip-vs-rmfb-interruptible.html
    - shard-tglu:         NOTRUN -> [SKIP][139] ([fdo#109274] / [fdo#111767] / [i915#3637])
   [139]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-tglu-3/igt@kms_flip@2x-flip-vs-rmfb-interruptible.html

  * igt@kms_flip@2x-modeset-vs-vblank-race-interruptible:
    - shard-snb:          NOTRUN -> [SKIP][140] ([fdo#109271]) +4 other tests skip
   [140]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-snb4/igt@kms_flip@2x-modeset-vs-vblank-race-interruptible.html

  * igt@kms_flip@2x-nonexisting-fb:
    - shard-tglu:         NOTRUN -> [SKIP][141] ([fdo#109274] / [i915#3637]) +3 other tests skip
   [141]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-tglu-6/igt@kms_flip@2x-nonexisting-fb.html

  * igt@kms_flip@flip-vs-fences-interruptible:
    - shard-mtlp:         NOTRUN -> [SKIP][142] ([i915#8381])
   [142]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-mtlp-2/igt@kms_flip@flip-vs-fences-interruptible.html

  * igt@kms_flip@flip-vs-suspend-interruptible@a-edp1:
    - shard-mtlp:         NOTRUN -> [ABORT][143] ([i915#9414])
   [143]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-mtlp-1/igt@kms_flip@flip-vs-suspend-interruptible@a-edp1.html

  * igt@kms_flip_scaled_crc@flip-32bpp-yftileccs-to-64bpp-yftile-upscaling@pipe-a-valid-mode:
    - shard-tglu:         NOTRUN -> [SKIP][144] ([i915#2587] / [i915#2672]) +2 other tests skip
   [144]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-tglu-6/igt@kms_flip_scaled_crc@flip-32bpp-yftileccs-to-64bpp-yftile-upscaling@pipe-a-valid-mode.html

  * igt@kms_flip_scaled_crc@flip-64bpp-4tile-to-32bpp-4tiledg2rcccs-downscaling@pipe-a-default-mode:
    - shard-mtlp:         NOTRUN -> [SKIP][145] ([i915#2672]) +1 other test skip
   [145]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-mtlp-4/igt@kms_flip_scaled_crc@flip-64bpp-4tile-to-32bpp-4tiledg2rcccs-downscaling@pipe-a-default-mode.html

  * igt@kms_flip_scaled_crc@flip-64bpp-linear-to-16bpp-linear-downscaling@pipe-a-default-mode:
    - shard-mtlp:         NOTRUN -> [SKIP][146] ([i915#3555] / [i915#8810]) +1 other test skip
   [146]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-mtlp-7/igt@kms_flip_scaled_crc@flip-64bpp-linear-to-16bpp-linear-downscaling@pipe-a-default-mode.html

  * igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-16bpp-ytile-downscaling@pipe-a-valid-mode:
    - shard-dg2:          NOTRUN -> [SKIP][147] ([i915#2672]) +2 other tests skip
   [147]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg2-6/igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-16bpp-ytile-downscaling@pipe-a-valid-mode.html

  * igt@kms_force_connector_basic@prune-stale-modes:
    - shard-mtlp:         NOTRUN -> [SKIP][148] ([i915#5274])
   [148]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-mtlp-1/igt@kms_force_connector_basic@prune-stale-modes.html

  * igt@kms_frontbuffer_tracking@fbc-1p-indfb-fliptrack-mmap-gtt:
    - shard-mtlp:         NOTRUN -> [SKIP][149] ([i915#8708]) +11 other tests skip
   [149]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-mtlp-8/igt@kms_frontbuffer_tracking@fbc-1p-indfb-fliptrack-mmap-gtt.html

  * igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-cur-indfb-draw-blt:
    - shard-mtlp:         NOTRUN -> [SKIP][150] ([i915#1825]) +35 other tests skip
   [150]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-mtlp-2/igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-cur-indfb-draw-blt.html

  * igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-shrfb-plflip-blt:
    - shard-tglu:         NOTRUN -> [SKIP][151] ([fdo#109280]) +13 other tests skip
   [151]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-tglu-6/igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-shrfb-plflip-blt.html

  * igt@kms_frontbuffer_tracking@fbc-stridechange:
    - shard-dg2:          [PASS][152] -> [FAIL][153] ([i915#6880])
   [152]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13910/shard-dg2-5/igt@kms_frontbuffer_tracking@fbc-stridechange.html
   [153]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg2-5/igt@kms_frontbuffer_tracking@fbc-stridechange.html

  * igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-spr-indfb-draw-blt:
    - shard-dg1:          NOTRUN -> [SKIP][154] ([i915#3458]) +3 other tests skip
   [154]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg1-18/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-spr-indfb-draw-blt.html

  * igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-pri-indfb-draw-render:
    - shard-dg1:          NOTRUN -> [SKIP][155] ([fdo#111825]) +5 other tests skip
   [155]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg1-15/igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-pri-indfb-draw-render.html

  * igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-pri-shrfb-draw-mmap-wc:
    - shard-dg2:          NOTRUN -> [SKIP][156] ([i915#8708]) +22 other tests skip
   [156]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg2-10/igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-pri-shrfb-draw-mmap-wc.html

  * igt@kms_frontbuffer_tracking@fbcpsr-rgb101010-draw-mmap-wc:
    - shard-dg1:          NOTRUN -> [SKIP][157] ([i915#8708]) +2 other tests skip
   [157]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg1-16/igt@kms_frontbuffer_tracking@fbcpsr-rgb101010-draw-mmap-wc.html

  * igt@kms_frontbuffer_tracking@psr-2p-primscrn-pri-indfb-draw-pwrite:
    - shard-dg2:          NOTRUN -> [SKIP][158] ([i915#5354]) +42 other tests skip
   [158]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg2-6/igt@kms_frontbuffer_tracking@psr-2p-primscrn-pri-indfb-draw-pwrite.html

  * igt@kms_frontbuffer_tracking@psr-indfb-scaledprimary:
    - shard-dg2:          NOTRUN -> [SKIP][159] ([i915#3458]) +24 other tests skip
   [159]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg2-10/igt@kms_frontbuffer_tracking@psr-indfb-scaledprimary.html

  * igt@kms_frontbuffer_tracking@psr-shrfb-scaledprimary:
    - shard-tglu:         NOTRUN -> [SKIP][160] ([fdo#110189]) +9 other tests skip
   [160]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-tglu-9/igt@kms_frontbuffer_tracking@psr-shrfb-scaledprimary.html

  * igt@kms_hdr@static-toggle-dpms:
    - shard-tglu:         NOTRUN -> [SKIP][161] ([i915#3555] / [i915#8228])
   [161]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-tglu-6/igt@kms_hdr@static-toggle-dpms.html

  * igt@kms_hdr@static-toggle-suspend:
    - shard-dg1:          NOTRUN -> [SKIP][162] ([i915#3555] / [i915#8228])
   [162]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg1-17/igt@kms_hdr@static-toggle-suspend.html

  * igt@kms_multipipe_modeset@basic-max-pipe-crc-check:
    - shard-mtlp:         NOTRUN -> [SKIP][163] ([i915#4816])
   [163]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-mtlp-4/igt@kms_multipipe_modeset@basic-max-pipe-crc-check.html

  * igt@kms_panel_fitting@atomic-fastset:
    - shard-dg2:          NOTRUN -> [SKIP][164] ([i915#6301])
   [164]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg2-6/igt@kms_panel_fitting@atomic-fastset.html

  * igt@kms_pipe_b_c_ivb@pipe-b-double-modeset-then-modeset-pipe-c:
    - shard-mtlp:         NOTRUN -> [SKIP][165] ([fdo#109289]) +3 other tests skip
   [165]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-mtlp-5/igt@kms_pipe_b_c_ivb@pipe-b-double-modeset-then-modeset-pipe-c.html

  * igt@kms_plane_lowres@tiling-yf:
    - shard-tglu:         NOTRUN -> [SKIP][166] ([i915#3555]) +1 other test skip
   [166]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-tglu-2/igt@kms_plane_lowres@tiling-yf.html
    - shard-mtlp:         NOTRUN -> [SKIP][167] ([i915#3555] / [i915#8821])
   [167]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-mtlp-4/igt@kms_plane_lowres@tiling-yf.html

  * igt@kms_plane_multiple@tiling-yf:
    - shard-dg1:          NOTRUN -> [SKIP][168] ([i915#3555]) +2 other tests skip
   [168]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg1-13/igt@kms_plane_multiple@tiling-yf.html

  * igt@kms_plane_scaling@2x-scaler-multi-pipe:
    - shard-tglu:         NOTRUN -> [SKIP][169] ([fdo#109274]) +1 other test skip
   [169]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-tglu-6/igt@kms_plane_scaling@2x-scaler-multi-pipe.html

  * igt@kms_plane_scaling@intel-max-src-size@pipe-a-hdmi-a-4:
    - shard-dg1:          NOTRUN -> [FAIL][170] ([i915#8292])
   [170]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg1-17/igt@kms_plane_scaling@intel-max-src-size@pipe-a-hdmi-a-4.html

  * igt@kms_plane_scaling@plane-scaler-with-clipping-clamping-rotation@pipe-c-hdmi-a-4:
    - shard-dg1:          NOTRUN -> [SKIP][171] ([i915#5176] / [i915#9423]) +3 other tests skip
   [171]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg1-16/igt@kms_plane_scaling@plane-scaler-with-clipping-clamping-rotation@pipe-c-hdmi-a-4.html

  * igt@kms_plane_scaling@planes-downscale-factor-0-25-upscale-20x20@pipe-d-hdmi-a-4:
    - shard-dg1:          NOTRUN -> [SKIP][172] ([i915#5235]) +7 other tests skip
   [172]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg1-19/igt@kms_plane_scaling@planes-downscale-factor-0-25-upscale-20x20@pipe-d-hdmi-a-4.html

  * igt@kms_plane_scaling@planes-downscale-factor-0-25-upscale-factor-0-25@pipe-b-edp-1:
    - shard-mtlp:         NOTRUN -> [SKIP][173] ([i915#5235]) +6 other tests skip
   [173]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-mtlp-5/igt@kms_plane_scaling@planes-downscale-factor-0-25-upscale-factor-0-25@pipe-b-edp-1.html

  * igt@kms_plane_scaling@planes-downscale-factor-0-25-upscale-factor-0-25@pipe-d-edp-1:
    - shard-mtlp:         NOTRUN -> [SKIP][174] ([i915#3555] / [i915#5235])
   [174]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-mtlp-5/igt@kms_plane_scaling@planes-downscale-factor-0-25-upscale-factor-0-25@pipe-d-edp-1.html

  * igt@kms_plane_scaling@planes-downscale-factor-0-25-upscale-factor-0-25@pipe-d-hdmi-a-3:
    - shard-dg2:          NOTRUN -> [SKIP][175] ([i915#5235]) +15 other tests skip
   [175]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg2-6/igt@kms_plane_scaling@planes-downscale-factor-0-25-upscale-factor-0-25@pipe-d-hdmi-a-3.html

  * igt@kms_plane_scaling@planes-upscale-20x20-downscale-factor-0-25@pipe-a-hdmi-a-1:
    - shard-tglu:         NOTRUN -> [SKIP][176] ([i915#5235]) +7 other tests skip
   [176]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-tglu-10/igt@kms_plane_scaling@planes-upscale-20x20-downscale-factor-0-25@pipe-a-hdmi-a-1.html

  * igt@kms_prime@basic-crc-hybrid:
    - shard-dg2:          NOTRUN -> [SKIP][177] ([i915#6524] / [i915#6805])
   [177]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg2-6/igt@kms_prime@basic-crc-hybrid.html

  * igt@kms_psr2_sf@cursor-plane-move-continuous-exceed-sf:
    - shard-dg1:          NOTRUN -> [SKIP][178] ([i915#9683])
   [178]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg1-13/igt@kms_psr2_sf@cursor-plane-move-continuous-exceed-sf.html

  * igt@kms_psr2_sf@cursor-plane-move-continuous-sf:
    - shard-dg2:          NOTRUN -> [SKIP][179] ([i915#9683]) +1 other test skip
   [179]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg2-5/igt@kms_psr2_sf@cursor-plane-move-continuous-sf.html

  * igt@kms_psr2_sf@overlay-primary-update-sf-dmg-area:
    - shard-tglu:         NOTRUN -> [SKIP][180] ([fdo#111068] / [i915#9683]) +1 other test skip
   [180]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-tglu-8/igt@kms_psr2_sf@overlay-primary-update-sf-dmg-area.html

  * igt@kms_psr2_su@page_flip-nv12:
    - shard-mtlp:         NOTRUN -> [SKIP][181] ([i915#4348])
   [181]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-mtlp-4/igt@kms_psr2_su@page_flip-nv12.html

  * igt@kms_psr@psr2_cursor_blt:
    - shard-dg2:          NOTRUN -> [SKIP][182] ([i915#9681]) +3 other tests skip
   [182]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg2-6/igt@kms_psr@psr2_cursor_blt.html

  * igt@kms_psr@psr2_sprite_mmap_gtt:
    - shard-dg1:          NOTRUN -> [SKIP][183] ([i915#9673]) +1 other test skip
   [183]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg1-16/igt@kms_psr@psr2_sprite_mmap_gtt.html

  * igt@kms_psr@psr2_sprite_render:
    - shard-tglu:         NOTRUN -> [SKIP][184] ([i915#9673]) +1 other test skip
   [184]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-tglu-6/igt@kms_psr@psr2_sprite_render.html

  * igt@kms_rotation_crc@primary-4-tiled-reflect-x-180:
    - shard-tglu:         NOTRUN -> [SKIP][185] ([i915#5289])
   [185]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-tglu-6/igt@kms_rotation_crc@primary-4-tiled-reflect-x-180.html

  * igt@kms_rotation_crc@primary-rotation-90:
    - shard-mtlp:         NOTRUN -> [SKIP][186] ([i915#4235]) +1 other test skip
   [186]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-mtlp-4/igt@kms_rotation_crc@primary-rotation-90.html

  * igt@kms_setmode@clone-exclusive-crtc:
    - shard-dg2:          NOTRUN -> [SKIP][187] ([i915#3555] / [i915#4098])
   [187]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg2-10/igt@kms_setmode@clone-exclusive-crtc.html

  * igt@kms_setmode@invalid-clone-exclusive-crtc:
    - shard-mtlp:         NOTRUN -> [SKIP][188] ([i915#3555] / [i915#8823])
   [188]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-mtlp-6/igt@kms_setmode@invalid-clone-exclusive-crtc.html

  * igt@kms_tiled_display@basic-test-pattern:
    - shard-mtlp:         NOTRUN -> [SKIP][189] ([i915#8623])
   [189]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-mtlp-2/igt@kms_tiled_display@basic-test-pattern.html

  * igt@kms_universal_plane@cursor-fb-leak@pipe-b-hdmi-a-1:
    - shard-tglu:         [PASS][190] -> [FAIL][191] ([i915#9196])
   [190]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13910/shard-tglu-9/igt@kms_universal_plane@cursor-fb-leak@pipe-b-hdmi-a-1.html
   [191]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-tglu-7/igt@kms_universal_plane@cursor-fb-leak@pipe-b-hdmi-a-1.html

  * igt@kms_vrr@flip-suspend:
    - shard-mtlp:         NOTRUN -> [SKIP][192] ([i915#3555] / [i915#8808])
   [192]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-mtlp-2/igt@kms_vrr@flip-suspend.html

  * igt@perf@per-context-mode-unprivileged:
    - shard-tglu:         NOTRUN -> [SKIP][193] ([fdo#109289]) +1 other test skip
   [193]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-tglu-10/igt@perf@per-context-mode-unprivileged.html

  * igt@perf_pmu@cpu-hotplug:
    - shard-dg1:          NOTRUN -> [SKIP][194] ([i915#8850])
   [194]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg1-19/igt@perf_pmu@cpu-hotplug.html

  * igt@perf_pmu@rc6@other-idle-gt0:
    - shard-dg2:          NOTRUN -> [SKIP][195] ([i915#8516])
   [195]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg2-11/igt@perf_pmu@rc6@other-idle-gt0.html

  * igt@prime_vgem@basic-fence-read:
    - shard-mtlp:         NOTRUN -> [SKIP][196] ([i915#3708]) +1 other test skip
   [196]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-mtlp-2/igt@prime_vgem@basic-fence-read.html

  * igt@prime_vgem@basic-gtt:
    - shard-mtlp:         NOTRUN -> [SKIP][197] ([i915#3708] / [i915#4077])
   [197]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-mtlp-8/igt@prime_vgem@basic-gtt.html

  * igt@prime_vgem@basic-write:
    - shard-dg1:          NOTRUN -> [SKIP][198] ([i915#3708])
   [198]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg1-16/igt@prime_vgem@basic-write.html

  * igt@prime_vgem@fence-flip-hang:
    - shard-dg2:          NOTRUN -> [SKIP][199] ([i915#3708]) +1 other test skip
   [199]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg2-5/igt@prime_vgem@fence-flip-hang.html

  * igt@tools_test@sysfs_l3_parity:
    - shard-dg2:          NOTRUN -> [SKIP][200] ([i915#4818])
   [200]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg2-10/igt@tools_test@sysfs_l3_parity.html

  * igt@v3d/v3d_perfmon@get-values-invalid-perfmon:
    - shard-tglu:         NOTRUN -> [SKIP][201] ([fdo#109315] / [i915#2575]) +5 other tests skip
   [201]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-tglu-2/igt@v3d/v3d_perfmon@get-values-invalid-perfmon.html

  * igt@v3d/v3d_perfmon@get-values-valid-perfmon:
    - shard-dg1:          NOTRUN -> [SKIP][202] ([i915#2575])
   [202]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg1-17/igt@v3d/v3d_perfmon@get-values-valid-perfmon.html

  * igt@v3d/v3d_submit_cl@simple-flush-cache:
    - shard-dg2:          NOTRUN -> [SKIP][203] ([i915#2575]) +14 other tests skip
   [203]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg2-11/igt@v3d/v3d_submit_cl@simple-flush-cache.html

  * igt@v3d/v3d_submit_cl@valid-submission:
    - shard-mtlp:         NOTRUN -> [SKIP][204] ([i915#2575]) +13 other tests skip
   [204]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-mtlp-4/igt@v3d/v3d_submit_cl@valid-submission.html

  * igt@vc4/vc4_label_bo@set-bad-name:
    - shard-tglu:         NOTRUN -> [SKIP][205] ([i915#2575]) +1 other test skip
   [205]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-tglu-8/igt@vc4/vc4_label_bo@set-bad-name.html

  * igt@vc4/vc4_purgeable_bo@free-purged-bo:
    - shard-mtlp:         NOTRUN -> [SKIP][206] ([i915#7711]) +4 other tests skip
   [206]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-mtlp-7/igt@vc4/vc4_purgeable_bo@free-purged-bo.html

  * igt@vc4/vc4_tiling@get-bad-modifier:
    - shard-dg2:          NOTRUN -> [SKIP][207] ([i915#7711]) +9 other tests skip
   [207]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg2-11/igt@vc4/vc4_tiling@get-bad-modifier.html

  * igt@vc4/vc4_wait_bo@bad-bo:
    - shard-dg1:          NOTRUN -> [SKIP][208] ([i915#7711]) +1 other test skip
   [208]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg1-16/igt@vc4/vc4_wait_bo@bad-bo.html

  
#### Possible fixes ####

  * igt@gem_ctx_exec@basic-nohangcheck:
    - shard-tglu:         [FAIL][209] ([i915#6268]) -> [PASS][210]
   [209]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13910/shard-tglu-9/igt@gem_ctx_exec@basic-nohangcheck.html
   [210]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-tglu-8/igt@gem_ctx_exec@basic-nohangcheck.html

  * igt@gem_eio@reset-stress:
    - shard-dg1:          [FAIL][211] ([i915#5784]) -> [PASS][212]
   [211]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13910/shard-dg1-19/igt@gem_eio@reset-stress.html
   [212]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg1-17/igt@gem_eio@reset-stress.html

  * igt@gem_eio@wait-10ms:
    - shard-mtlp:         [ABORT][213] ([i915#9414]) -> [PASS][214]
   [213]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13910/shard-mtlp-4/igt@gem_eio@wait-10ms.html
   [214]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-mtlp-4/igt@gem_eio@wait-10ms.html

  * igt@gem_exec_suspend@basic-s3@smem:
    - shard-mtlp:         [ABORT][215] ([i915#8213] / [i915#9414]) -> [PASS][216]
   [215]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13910/shard-mtlp-8/igt@gem_exec_suspend@basic-s3@smem.html
   [216]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-mtlp-6/igt@gem_exec_suspend@basic-s3@smem.html

  * igt@gem_exec_suspend@basic-s4-devices@lmem0:
    - shard-dg2:          [ABORT][217] ([i915#7975] / [i915#8213]) -> [PASS][218]
   [217]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13910/shard-dg2-5/igt@gem_exec_suspend@basic-s4-devices@lmem0.html
   [218]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg2-11/igt@gem_exec_suspend@basic-s4-devices@lmem0.html

  * igt@i915_module_load@reload-no-display:
    - shard-snb:          [INCOMPLETE][219] -> [PASS][220]
   [219]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13910/shard-snb7/igt@i915_module_load@reload-no-display.html
   [220]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-snb4/igt@i915_module_load@reload-no-display.html

  * igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions:
    - shard-glk:          [FAIL][221] ([i915#2346]) -> [PASS][222]
   [221]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13910/shard-glk4/igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions.html
   [222]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-glk4/igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions.html

  * igt@kms_frontbuffer_tracking@fbc-1p-primscrn-shrfb-plflip-blt:
    - shard-dg2:          [FAIL][223] ([i915#6880]) -> [PASS][224]
   [223]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13910/shard-dg2-7/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-shrfb-plflip-blt.html
   [224]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg2-5/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-shrfb-plflip-blt.html

  * igt@kms_plane_scaling@intel-max-src-size@pipe-a-hdmi-a-1:
    - shard-tglu:         [FAIL][225] ([i915#8292]) -> [PASS][226]
   [225]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13910/shard-tglu-6/igt@kms_plane_scaling@intel-max-src-size@pipe-a-hdmi-a-1.html
   [226]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-tglu-9/igt@kms_plane_scaling@intel-max-src-size@pipe-a-hdmi-a-1.html

  * {igt@kms_pm_dc@dc6-dpms}:
    - shard-tglu:         [FAIL][227] ([i915#9295]) -> [PASS][228]
   [227]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13910/shard-tglu-10/igt@kms_pm_dc@dc6-dpms.html
   [228]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-tglu-2/igt@kms_pm_dc@dc6-dpms.html

  * {igt@kms_pm_rpm@modeset-non-lpsp-stress-no-wait}:
    - shard-dg2:          [SKIP][229] ([i915#9519]) -> [PASS][230] +3 other tests pass
   [229]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13910/shard-dg2-10/igt@kms_pm_rpm@modeset-non-lpsp-stress-no-wait.html
   [230]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/shard-dg2-7/igt@kms_pm_rpm@modeset-non-lpsp-stress-no-wait.html

  
  {name}: This element is suppressed. This means it is ignored when computing
          the status of the difference (SUCCESS, WARNING, or FAILURE).

  [fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
  [fdo#109274]: https://bugs.freedesktop.org/show_bug.cgi?id=109274
  [fdo#109280]: https://bugs.freedesktop.org/show_bug.cgi?id=109280
  [fdo#109289]: https://bugs.freedesktop.org/show_bug.cgi?id=109289
  [fdo#109293]: https://bugs.freedesktop.org/show_bug.cgi?id=109293
  [fdo#109303]: https://bugs.freedesktop.org/show_bug.cgi?id=109303
  [fdo#109314]: https://bugs.freedesktop.org/show_bug.cgi?id=109314
  [fdo#109315]: https://bugs.freedesktop.org/show_bug.cgi?id=109315
  [fdo#109506]: https://bugs.freedesktop.org/show_bug.cgi?id=109506
  [fdo#110189]: https://bugs.freedesktop.org/show_bug.cgi?id=110189
  [fdo#111068]: https://bugs.freedesktop.org/show_bug.cgi?id=111068
  [fdo#111614]: https://bugs.freedesktop.org/show_bug.cgi?id=111614
  [fdo#111615]: https://bugs.freedesktop.org/show_bug.cgi?id=111615
  [fdo#111767]: https://bugs.freedesktop.org/show_bug.cgi?id=111767
  [fdo#111825]: https://bugs.freedesktop.org/show_bug.cgi?id=111825
  [fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
  [i915#1769]: https://gitlab.freedesktop.org/drm/intel/issues/1769
  [i915#1825]: https://gitlab.freedesktop.org/drm/intel/issues/1825
  [i915#1839]: https://gitlab.freedesktop.org/drm/intel/issues/1839
  [i915#2017]: https://gitlab.freedesktop.org/drm/intel/issues/2017
  [i915#2346]: https://gitlab.freedesktop.org/drm/intel/issues/2346
  [i915#2527]: https://gitlab.freedesktop.org/drm/intel/issues/2527
  [i915#2575]: https://gitlab.freedesktop.org/drm/intel/issues/2575
  [i915#2587]: https://gitlab.freedesktop.org/drm/intel/issues/2587
  [i915#2672]: https://gitlab.freedesktop.org/drm/intel/issues/2672
  [i915#2705]: https://gitlab.freedesktop.org/drm/intel/issues/2705
  [i915#280]: https://gitlab.freedesktop.org/drm/intel/issues/280
  [i915#2856]: https://gitlab.freedesktop.org/drm/intel/issues/2856
  [i915#3281]: https://gitlab.freedesktop.org/drm/intel/issues/3281
  [i915#3282]: https://gitlab.freedesktop.org/drm/intel/issues/3282
  [i915#3297]: https://gitlab.freedesktop.org/drm/intel/issues/3297
  [i915#3299]: https://gitlab.freedesktop.org/drm/intel/issues/3299
  [i915#3359]: https://gitlab.freedesktop.org/drm/intel/issues/3359
  [i915#3458]: https://gitlab.freedesktop.org/drm/intel/issues/3458
  [i915#3539]: https://gitlab.freedesktop.org/drm/intel/issues/3539
  [i915#3546]: https://gitlab.freedesktop.org/drm/intel/issues/3546
  [i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
  [i915#3591]: https://gitlab.freedesktop.org/drm/intel/issues/3591
  [i915#3637]: https://gitlab.freedesktop.org/drm/intel/issues/3637
  [i915#3638]: https://gitlab.freedesktop.org/drm/intel/issues/3638
  [i915#3708]: https://gitlab.freedesktop.org/drm/intel/issues/3708
  [i915#3743]: https://gitlab.freedesktop.org/drm/intel/issues/3743
  [i915#3826]: https://gitlab.freedesktop.org/drm/intel/issues/3826
  [i915#3840]: https://gitlab.freedesktop.org/drm/intel/issues/3840
  [i915#3936]: https://gitlab.freedesktop.org/drm/intel/issues/3936
  [i915#4036]: https://gitlab.freedesktop.org/drm/intel/issues/4036
  [i915#4077]: https://gitlab.freedesktop.org/drm/intel/issues/4077
  [i915#4079]: https://gitlab.freedesktop.org/drm/intel/issues/4079
  [i915#4083]: https://gitlab.freedesktop.org/drm/intel/issues/4083
  [i915#4087]: https://gitlab.freedesktop.org/drm/intel/issues/4087
  [i915#4098]: https://gitlab.freedesktop.org/drm/intel/issues/4098
  [i915#4103]: https://gitlab.freedesktop.org/drm/intel/issues/4103
  [i915#4212]: https://gitlab.freedesktop.org/drm/intel/issues/4212
  [i915#4213]: https://gitlab.freedesktop.org/drm/intel/issues/4213
  [i915#4235]: https://gitlab.freedesktop.org/drm/intel/issues/4235
  [i915#4270]: https://gitlab.freedesktop.org/drm/intel/issues/4270
  [i915#4348]: https://gitlab.freedesktop.org/drm/intel/issues/4348
  [i915#4473]: https://gitlab.freedesktop.org/drm/intel/issues/4473
  [i915#4537]: https://gitlab.freedesktop.org/drm/intel/issues/4537
  [i915#4538]: https://gitlab.freedesktop.org/drm/intel/issues/4538
  [i915#4565]: https://gitlab.freedesktop.org/drm/intel/issues/4565
  [i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
  [i915#4771]: https://gitlab.freedesktop.org/drm/intel/issues/4771
  [i915#4812]: https://gitlab.freedesktop.org/drm/intel/issues/4812
  [i915#4816]: https://gitlab.freedesktop.org/drm/intel/issues/4816
  [i915#4818]: https://gitlab.freedesktop.org/drm/intel/issues/4818
  [i915#4852]: https://gitlab.freedesktop.org/drm/intel/issues/4852
  [i915#4860]: https://gitlab.freedesktop.org/drm/intel/issues/4860
  [i915#4873]: https://gitlab.freedesktop.org/drm/intel/issues/4873
  [i915#5138]: https://gitlab.freedesktop.org/drm/intel/issues/5138
  [i915#5176]: https://gitlab.freedesktop.org/drm/intel/issues/5176
  [i915#5190]: https://gitlab.freedesktop.org/drm/intel/issues/5190
  [i915#5235]: https://gitlab.freedesktop.org/drm/intel/issues/5235
  [i915#5274]: https://gitlab.freedesktop.org/drm/intel/issues/5274
  [i915#5286]: https://gitlab.freedesktop.org/drm/intel/issues/5286
  [i915#5289]: https://gitlab.freedesktop.org/drm/intel/issues/5289
  [i915#5354]: https://gitlab.freedesktop.org/drm/intel/issues/5354
  [i915#5493]: https://gitlab.freedesktop.org/drm/intel/issues/5493
  [i915#5608]: https://gitlab.freedesktop.org/drm/intel/issues/5608
  [i915#5784]: https://gitlab.freedesktop.org/drm/intel/issues/5784
  [i915#5889]: https://gitlab.freedesktop.org/drm/intel/issues/5889
  [i915#6095]: https://gitlab.freedesktop.org/drm/intel/issues/6095
  [i915#6117]: https://gitlab.freedesktop.org/drm/intel/issues/6117
  [i915#6122]: https://gitlab.freedesktop.org/drm/intel/issues/6122
  [i915#6188]: https://gitlab.freedesktop.org/drm/intel/issues/6188
  [i915#6227]: https://gitlab.freedesktop.org/drm/intel/issues/6227
  [i915#6228]: https://gitlab.freedesktop.org/drm/intel/issues/6228
  [i915#6268]: https://gitlab.freedesktop.org/drm/intel/issues/6268
  [i915#6301]: https://gitlab.freedesktop.org/drm/intel/issues/6301
  [i915#6334]: https://gitlab.freedesktop.org/drm/intel/issues/6334
  [i915#6344]: https://gitlab.freedesktop.org/drm/intel/issues/6344
  [i915#6524]: https://gitlab.freedesktop.org/drm/intel/issues/6524
  [i915#6645]: https://gitlab.freedesktop.org/drm/intel/issues/6645
  [i915#6805]: https://gitlab.freedesktop.org/drm/intel/issues/6805
  [i915#6880]: https://gitlab.freedesktop.org/drm/intel/issues/6880
  [i915#6892]: https://gitlab.freedesktop.org/drm/intel/issues/6892
  [i915#6944]: https://gitlab.freedesktop.org/drm/intel/issues/6944
  [i915#7116]: https://gitlab.freedesktop.org/drm/intel/issues/7116
  [i915#7118]: https://gitlab.freedesktop.org/drm/intel/issues/7118
  [i915#7213]: https://gitlab.freedesktop.org/drm/intel/issues/7213
  [i915#7707]: https://gitlab.freedesktop.org/drm/intel/issues/7707
  [i915#7711]: https://gitlab.freedesktop.org/drm/intel/issues/7711
  [i915#7828]: https://gitlab.freedesktop.org/drm/intel/issues/7828
  [i915#7975]: https://gitlab.freedesktop.org/drm/intel/issues/7975
  [i915#8063]: https://gitlab.freedesktop.org/drm/intel/issues/8063
  [i915#8213]: https://gitlab.freedesktop.org/drm/intel/issues/8213
  [i915#8228]: https://gitlab.freedesktop.org/drm/intel/issues/8228
  [i915#8247]: https://gitlab.freedesktop.org/drm/intel/issues/8247
  [i915#8292]: https://gitlab.freedesktop.org/drm/intel/issues/8292
  [i915#8381]: https://gitlab.freedesktop.org/drm/intel/issues/8381
  [i915#8399]: https://gitlab.freedesktop.org/drm/intel/issues/8399
  [i915#8411]: https://gitlab.freedesktop.org/drm/intel/issues/8411
  [i915#8414]: https://gitlab.freedesktop.org/drm/intel/issues/8414
  [i915#8428]: https://gitlab.freedesktop.org/drm/intel/issues/8428
  [i915#8516]: https://gitlab.freedesktop.org/drm/intel/issues/8516
  [i915#8555]: https://gitlab.freedesktop.org/drm/intel/issues/8555
  [i915#8562]: https://gitlab.freedesktop.org/drm/intel/issues/8562
  [i915#8588]: https://gitlab.freedesktop.org/drm/intel/issues/8588
  [i915#8623]: https://gitlab.freedesktop.org/drm/intel/issues/8623
  [i915#8708]: https://gitlab.freedesktop.org/drm/intel/issues/8708
  [i915#8709]: https://gitlab.freedesktop.org/drm/intel/issues/8709
  [i915#8808]: https://gitlab.freedesktop.org/drm/intel/issues/8808
  [i915#8810]: https://gitlab.freedesktop.org/drm/intel/issues/8810
  [i915#8812]: https://gitlab.freedesktop.org/drm/intel/issues/8812
  [i915#8814]: https://gitlab.freedesktop.org/drm/intel/issues/8814
  [i915#8821]: https://gitlab.freedesktop.org/drm/intel/issues/8821
  [i915#8823]: https://gitlab.freedesktop.org/drm/intel/issues/8823
  [i915#8850]: https://gitlab.freedesktop.org/drm/intel/issues/8850
  [i915#9067]: https://gitlab.freedesktop.org/drm/intel/issues/9067
  [i915#9196]: https://gitlab.freedesktop.org/drm/intel/issues/9196
  [i915#9262]: https://gitlab.freedesktop.org/drm/intel/issues/9262
  [i915#9295]: https://gitlab.freedesktop.org/drm/intel/issues/9295
  [i915#9311]: https://gitlab.freedesktop.org/drm/intel/issues/9311
  [i915#9323]: https://gitlab.freedesktop.org/drm/intel/issues/9323
  [i915#9337]: https://gitlab.freedesktop.org/drm/intel/issues/9337
  [i915#9414]: https://gitlab.freedesktop.org/drm/intel/issues/9414
  [i915#9423]: https://gitlab.freedesktop.org/drm/intel/issues/9423
  [i915#9433]: https://gitlab.freedesktop.org/drm/intel/issues/9433
  [i915#9519]: https://gitlab.freedesktop.org/drm/intel/issues/9519
  [i915#9606]: https://gitlab.freedesktop.org/drm/intel/issues/9606
  [i915#9653]: https://gitlab.freedesktop.org/drm/intel/issues/9653
  [i915#9673]: https://gitlab.freedesktop.org/drm/intel/issues/9673
  [i915#9681]: https://gitlab.freedesktop.org/drm/intel/issues/9681
  [i915#9683]: https://gitlab.freedesktop.org/drm/intel/issues/9683
  [i915#9688]: https://gitlab.freedesktop.org/drm/intel/issues/9688


Build changes
-------------

  * CI: CI-20190529 -> None
  * IGT: IGT_7595 -> IGTPW_10235
  * Piglit: piglit_4509 -> None

  CI-20190529: 20190529
  CI_DRM_13910: a6fa1fefc44d92897a3be86430dde647f665f3a3 @ git://anongit.freedesktop.org/gfx-ci/linux
  IGTPW_10235: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/index.html
  IGT_7595: cfa00d99b1dfa0621ea552d1ed54907798da1a1a @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
  piglit_4509: fdc5a4ca11124ab8413c7988896eec4c97336694 @ git://anongit.freedesktop.org/piglit

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10235/index.html

[-- Attachment #2: Type: text/html, Size: 79014 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [igt-dev] [PATCH i-g-t] xe_create: create-big-vram subtest
  2023-11-22 16:16 ` [igt-dev] [PATCH i-g-t] xe_create: create-big-vram subtest Kamil Konieczny
@ 2023-11-23 10:24   ` Bernatowicz, Marcin
  0 siblings, 0 replies; 13+ messages in thread
From: Bernatowicz, Marcin @ 2023-11-23 10:24 UTC (permalink / raw)
  To: Kamil Konieczny, igt-dev, Marcin Bernatowicz, matthew.auld,
	zbigniew.kempczynski, lukasz.laguna, adam.miszczak,
	jakub1.kolakowski



On 11/22/2023 5:16 PM, Kamil Konieczny wrote:
> Hi Marcin,
> On 2023-11-22 at 11:19:51 +0100, Marcin Bernatowicz wrote:
> 
> please add version info to your patches and also add tests/intel/
> or lib/xe as prefix, for example instead of:
> 
> [PATCH i-g-t] xe_create: create-big-vram subtest
> 
> write:
> 
> [PATCH v3 i-g-t] tests/intel/xe_create: create-big-vram subtest
> 
> For lib change:
> 
> [PATCH v3 i-g-t] lib/xe/xe_query: describe here your change
> 
>> Validates the creation of significant Buffer Object (BO) within VRAM,
>> considering the entire available CPU-visible VRAM size.
>> The size of the created BO can be adjusted using
>> '-S' command line parameter, representing BO size in MB.
>>
>> v2: rebased, updated to uAPI changes (DRM_XE_VM_CREATE_FLAG_ASYNC_DEFAULT),
>>      after review corrections: 1024UL -> 1024ULL,
>>      int -> unsigned int (Kamil)
>> v3: provided a flag to allocate the memory within the CPU-visible
>>        portion of VRAM (Matt)
>>      __create_bo replaced with xe_bo_create_flags (Lukasz)
>>      removed the percent command line parameter (Lukasz)
>>      renamed size_MB to size_mb (Lukasz)
>>      added helper function to query available CPU-visible VRAM size,
>>      renamed 'xe_vram_available' to 'xe_available_vram_size' for
>>        consistency with other function names
>>
>> Signed-off-by: Marcin Bernatowicz <marcin.bernatowicz@intel.com>
>> ---
>>   lib/xe/xe_query.c          | 57 ++++++++++++++++++++++-------
>>   lib/xe/xe_query.h          |  3 +-
> 
> Please split this into separate patch and send Cc to Francois Dugas,
> he is currently changing xe uapi.

Just realized I touched more files and forgot to split patches :/

> 
>>   tests/intel/xe_create.c    | 75 +++++++++++++++++++++++++++++++++++++-
>>   tests/intel/xe_evict_ccs.c |  2 +-
>>   4 files changed, 120 insertions(+), 17 deletions(-)
>>
>> diff --git a/lib/xe/xe_query.c b/lib/xe/xe_query.c
>> index afd443be3..de3296062 100644
>> --- a/lib/xe/xe_query.c
>> +++ b/lib/xe/xe_query.c
>> @@ -629,20 +629,20 @@ uint64_t xe_visible_vram_size(int fd, int gt)
>>   
>>   	return visible_size;
>>   }
>> -/**
>> - * xe_vram_available:
>> - * @fd: xe device fd
>> - * @gt: gt
>> - *
>> - * Returns available vram of xe device @fd and @gt.
>> - */
>> -uint64_t xe_vram_available(int fd, int gt)
>> +
>> +struct __available_vram {
>> +	uint64_t total_available;
>> +	uint64_t cpu_visible_available;
>> +};
>> +
>> +static void __xe_available_vram_size_snapshot(int fd, int gt, struct __available_vram *avail_vram)
>>   {
>>   	struct xe_device *xe_dev;
>>   	int region_idx;
>>   	struct drm_xe_query_mem_region *mem_region;
>>   	struct drm_xe_query_mem_regions *mem_regions;
>>   
>> +	igt_assert(avail_vram);
>>   	xe_dev = find_in_cache(fd);
>>   	igt_assert(xe_dev);
>>   
>> @@ -650,19 +650,48 @@ uint64_t xe_vram_available(int fd, int gt)
>>   	mem_region = &xe_dev->mem_regions->regions[region_idx];
>>   
>>   	if (XE_IS_CLASS_VRAM(mem_region)) {
>> -		uint64_t available_vram;
>> -
>>   		mem_regions = xe_query_mem_regions_new(fd);
>>   		pthread_mutex_lock(&cache.cache_mutex);
>>   		mem_region->used = mem_regions->regions[region_idx].used;
>> -		available_vram = mem_region->total_size - mem_region->used;
>> +		mem_region->cpu_visible_used = mem_regions->regions[region_idx].cpu_visible_used;
>> +		avail_vram->total_available = mem_region->total_size - mem_region->used;
>> +		avail_vram->cpu_visible_available =
>> +			mem_region->cpu_visible_size - mem_region->cpu_visible_used;
>>   		pthread_mutex_unlock(&cache.cache_mutex);
>>   		free(mem_regions);
>> -
>> -		return available_vram;
>>   	}
>> +}
>>   
>> -	return 0;
>> +/**
>> + * xe_available_vram_size:
>> + * @fd: xe device fd
>> + * @gt: gt
>> + *
>> + * Returns size of available vram of xe device @fd and @gt.
>> + */
>> +uint64_t xe_available_vram_size(int fd, int gt)
>> +{
>> +	struct __available_vram available_vram = {};
>> +
>> +	__xe_available_vram_size_snapshot(fd, gt, &available_vram);
>> +
>> +	return available_vram.total_available;
>> +}
>> +
>> +/**
>> + * xe_visible_available_vram_size:
>> + * @fd: xe device fd
>> + * @gt: gt
>> + *
>> + * Returns size of visible available vram of xe device @fd and @gt.
>> + */
>> +uint64_t xe_visible_available_vram_size(int fd, int gt)
>> +{
>> +	struct __available_vram available_vram = {};
>> +
>> +	__xe_available_vram_size_snapshot(fd, gt, &available_vram);
>> +
>> +	return available_vram.cpu_visible_available;
>>   }
>>   
>>   /**
>> diff --git a/lib/xe/xe_query.h b/lib/xe/xe_query.h
>> index 38e9aa440..503d60b44 100644
>> --- a/lib/xe/xe_query.h
>> +++ b/lib/xe/xe_query.h
>> @@ -92,7 +92,8 @@ unsigned int xe_number_hw_engines(int fd);
>>   bool xe_has_vram(int fd);
>>   uint64_t xe_vram_size(int fd, int gt);
>>   uint64_t xe_visible_vram_size(int fd, int gt);
>> -uint64_t xe_vram_available(int fd, int gt);
>> +uint64_t xe_available_vram_size(int fd, int gt);
>> +uint64_t xe_visible_available_vram_size(int fd, int gt);
>>   uint32_t xe_get_default_alignment(int fd);
>>   uint32_t xe_va_bits(int fd);
>>   uint16_t xe_dev_id(int fd);
>> diff --git a/tests/intel/xe_create.c b/tests/intel/xe_create.c
>> index f4633cfb3..082e9b440 100644
>> --- a/tests/intel/xe_create.c
>> +++ b/tests/intel/xe_create.c
>> @@ -18,6 +18,12 @@
>>   
>>   #define PAGE_SIZE 0x1000
>>   
>> +static struct param {
>> +	unsigned int size_mb;
>> +} params = {
>> +	.size_mb = 0,
>> +};
>> +
>>   static int __create_bo(int fd, uint32_t vm, uint64_t size, uint32_t flags,
>>   		       uint32_t *handlep)
>>   {
>> @@ -214,7 +220,70 @@ static void create_massive_size(int fd)
>>   	}
>>   }
>>   
>> -igt_main
>> +/**
>> + * SUBTEST: create-big-vram
>> + * Functionality: BO creation
>> + * Test category: functionality test
>> + * Description: Verifies the creation of substantial BO within VRAM,
>> + *		constituting all available CPU-visible VRAM.
>> + */
>> +static void create_big_vram(int fd)
>> +{
>> +	uint64_t bo_size, size, visible_avail_size, alignment;
>> +	uint32_t bo_handle;
>> +	char *bo_ptr = NULL;
>> +	uint64_t vm = 0;
>> +	int gt;
>> +
>> +	igt_require(xe_has_vram(fd));
>> +	alignment = xe_get_default_alignment(fd);
>> +	vm = xe_vm_create(fd, DRM_XE_VM_CREATE_FLAG_ASYNC_DEFAULT, 0);
>> +
>> +	xe_for_each_gt(fd, gt) {
>> +		visible_avail_size = xe_visible_available_vram_size(fd, gt);
>> +		bo_size = params.size_mb ? params.size_mb * 1024ULL * 1024ULL
>> +					 : ALIGN_DOWN(visible_avail_size, alignment);
>> +		igt_debug("gt%u bo_size=%lu visible_available_vram_size=%lu\n",
>> +			gt, bo_size, visible_avail_size);
>> +
>> +		bo_handle = xe_bo_create_flags(fd, vm, bo_size, visible_vram_memory(fd, gt));
>> +		bo_ptr = xe_bo_map(fd, bo_handle, bo_size);
>> +
>> +		size = bo_size - 1;
>> +		while (size > SZ_64K) {
>> +			igt_assert_eq(0, READ_ONCE(bo_ptr[size]));
>> +			WRITE_ONCE(bo_ptr[size], 'A');
>> +			igt_assert_eq('A', READ_ONCE(bo_ptr[size]));
>> +			size >>= 1;
>> +		}
>> +		igt_assert_eq(0, bo_ptr[0]);
>> +
>> +		munmap(bo_ptr, bo_size);
>> +		gem_close(fd, bo_handle);
>> +	}
>> +
>> +	xe_vm_destroy(fd, vm);
>> +}
>> +
>> +static int opt_handler(int opt, int opt_index, void *data)
>> +{
>> +	switch (opt) {
>> +	case 'S':
>> +		params.size_mb = atoi(optarg);
>> +		igt_debug("Size MB: %d\n", params.size_mb);
>> +		break;
>> +	default:
>> +		return IGT_OPT_HANDLER_ERROR;
>> +	}
>> +
>> +	return IGT_OPT_HANDLER_SUCCESS;
>> +}
>> +
>> +const char *help_str =
>> +	"  -S\tBO size in MB\n"
> 
> Why not percentage? imho percentage is easier to use.

I can revert to the first version and keep both options. In some 
scenarios, size is more beneficial, for example, when we want to verify 
the provisioned LMEM value in SR-IOV.

> 
>> +	;
>> +
>> +igt_main_args("S:", NULL, help_str, opt_handler, NULL)
>>   {
>>   	int xe;
>>   
>> @@ -254,6 +323,10 @@ igt_main
>>   	}
>>   
>>   
> 
> Remove one empty line.
ok
> 
>> +	igt_subtest("create-big-vram") {
>> +		create_big_vram(xe);
>> +	}
>> +
>>   	igt_fixture
>>   		drm_close_driver(xe);
>>   }
>> diff --git a/tests/intel/xe_evict_ccs.c b/tests/intel/xe_evict_ccs.c
>> index d7244f620..b04c20935 100644
>> --- a/tests/intel/xe_evict_ccs.c
>> +++ b/tests/intel/xe_evict_ccs.c
>> @@ -325,7 +325,7 @@ static void set_config(int fd, uint32_t flags, const struct param *param,
>>   	config->param = param;
>>   	config->flags = flags;
>>   	config->free_mb = xe_visible_vram_size(fd, 0) / SZ_1M;
>> -	config->total_mb = xe_vram_available(fd, 0) / SZ_1M;
>> +	config->total_mb = xe_available_vram_size(fd, 0) / SZ_1M;
> 
> This should go with lib change.
ok
> 
> Regards,
> Kamil

Thanks for review,
marcin
> 
>>   	config->test_mb = min_t(int, config->free_mb * config->param->vram_percent / 100,
>>   				config->total_mb * config->param->vram_percent / 100);
>>   
>> -- 
>> 2.31.1
>>

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2023-11-23 10:24 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-22 10:19 [igt-dev] [PATCH i-g-t] xe_create: create-big-vram subtest Marcin Bernatowicz
2023-11-22 11:04 ` Laguna, Lukasz
2023-11-22 11:18 ` [igt-dev] ✓ Fi.CI.BAT: success for xe_create: create-big-vram subtest (rev3) Patchwork
2023-11-22 11:36 ` [igt-dev] ✓ CI.xeBAT: " Patchwork
2023-11-22 16:16 ` [igt-dev] [PATCH i-g-t] xe_create: create-big-vram subtest Kamil Konieczny
2023-11-23 10:24   ` Bernatowicz, Marcin
2023-11-23  1:48 ` [igt-dev] ✓ Fi.CI.IGT: success for xe_create: create-big-vram subtest (rev3) Patchwork
  -- strict thread matches above, loose matches on Subject: below --
2023-11-21 13:50 [igt-dev] [PATCH i-g-t] xe_create: create-big-vram subtest Marcin Bernatowicz
2023-11-21 13:56 ` Laguna, Lukasz
2023-11-21 15:42 ` Matthew Auld
2023-11-22 10:26   ` Bernatowicz, Marcin
2023-11-13 19:20 Marcin Bernatowicz
2023-11-20 17:51 ` Kamil Konieczny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox