* [igt-dev] [PATCH v5 0/1] test/gem_create: exercise gem_create_ext_set_pat
@ 2023-05-24 15:56 fei.yang
2023-05-24 15:56 ` [igt-dev] [PATCH v5 1/1] " fei.yang
` (4 more replies)
0 siblings, 5 replies; 9+ messages in thread
From: fei.yang @ 2023-05-24 15:56 UTC (permalink / raw)
To: igt-dev; +Cc: Fei Yang
From: Fei Yang <fei.yang@intel.com>
This is the first draft of a new test case exercising the set_pat
extension for GEM_CREATE.
v2: make sure {get|set}_caching ioctls are disabled.
v3: move header change to lib/i915/i915_drm_local.h, will submit a
separate patch for include/uapi/drm/i915_drm.h after the kernel
change lands in upstream.
v4: GEM_CREATE returns -EINVAL if set_pat is unsupported.
v5: address comments from Kamil Konieczny
Fei Yang (1):
test/gem_create: exercise gem_create_ext_set_pat
lib/i915/i915_drm_local.h | 34 +++++++++++++++++++++++
tests/i915/gem_create.c | 58 +++++++++++++++++++++++++++++++++++++++
2 files changed, 92 insertions(+)
--
2.25.1
^ permalink raw reply [flat|nested] 9+ messages in thread
* [igt-dev] [PATCH v5 1/1] test/gem_create: exercise gem_create_ext_set_pat
2023-05-24 15:56 [igt-dev] [PATCH v5 0/1] test/gem_create: exercise gem_create_ext_set_pat fei.yang
@ 2023-05-24 15:56 ` fei.yang
2023-05-24 17:08 ` Kamil Konieczny
2023-05-24 18:06 ` Andi Shyti
2023-05-24 18:39 ` [igt-dev] ✗ GitLab.Pipeline: warning for " Patchwork
` (3 subsequent siblings)
4 siblings, 2 replies; 9+ messages in thread
From: fei.yang @ 2023-05-24 15:56 UTC (permalink / raw)
To: igt-dev; +Cc: Fei Yang
From: Fei Yang <fei.yang@intel.com>
Gem_create uAPI has been extended with capability of setting PAT index.
Add a test case to exercise it.
PAT index is a page attribute that gets programmed into Page Table
Entry (PTE) for caching policy control. Please refer to kernel patch
for implementation details.
https://patchwork.freedesktop.org/series/116870/
Signed-off-by: Fei Yang <fei.yang@intel.com>
---
lib/i915/i915_drm_local.h | 34 +++++++++++++++++++++++
tests/i915/gem_create.c | 58 +++++++++++++++++++++++++++++++++++++++
2 files changed, 92 insertions(+)
diff --git a/lib/i915/i915_drm_local.h b/lib/i915/i915_drm_local.h
index bb2ebef3..0f47578c 100644
--- a/lib/i915/i915_drm_local.h
+++ b/lib/i915/i915_drm_local.h
@@ -41,6 +41,40 @@ extern "C" {
#define __I915_PMU_RC6_RESIDENCY(gt) ___I915_PMU_OTHER(gt, 3)
#define __I915_PMU_SOFTWARE_GT_AWAKE_TIME(gt) ___I915_PMU_OTHER(gt, 4)
+#define I915_GEM_CREATE_EXT_SET_PAT 2
+
+/**
+ * struct drm_i915_gem_create_ext_set_pat - The
+ * I915_GEM_CREATE_EXT_SET_PAT extension.
+ *
+ * If this extension is provided, the specified caching policy (PAT index) is
+ * applied to the buffer object.
+ *
+ * Below is an example on how to create an object with specific caching policy:
+ *
+ * .. code-block:: C
+ *
+ * struct drm_i915_gem_create_ext_set_pat set_pat_ext = {
+ * .base = { .name = I915_GEM_CREATE_EXT_SET_PAT },
+ * .pat_index = 0,
+ * };
+ * struct drm_i915_gem_create_ext create_ext = {
+ * .size = PAGE_SIZE,
+ * .extensions = (uintptr_t)&set_pat_ext,
+ * };
+ *
+ * int err = ioctl(fd, DRM_IOCTL_I915_GEM_CREATE_EXT, &create_ext);
+ * if (err) ...
+ */
+struct drm_i915_gem_create_ext_set_pat {
+ /** @base: Extension link. See struct i915_user_extension. */
+ struct i915_user_extension base;
+ /** @pat_index: PAT index to be set */
+ __u32 pat_index;
+ /** @rsvd: reserved for future use */
+ __u32 rsvd;
+};
+
#if defined(__cplusplus)
}
#endif
diff --git a/tests/i915/gem_create.c b/tests/i915/gem_create.c
index fc991894..2e0c0ab9 100644
--- a/tests/i915/gem_create.c
+++ b/tests/i915/gem_create.c
@@ -587,6 +587,60 @@ static void create_ext_placement_each(int fd)
free(regions);
}
+/**
+ * TEST: GEM create uAPI
+ * Category: Infrastructure
+ * Description: Tests the DRM_IOCTL_I915_GEM_CREATE_EXT ioctl.
+ * Feature: core
+ * Functionality: Create GEM object with specific PAT index
+ * Run type: BAT
+ * Sub-category: i915
+ * Test category: GEM_Legacy
+ *
+ * SUBTEST: create-ext-set-pat
+ */
+static void create_ext_set_pat(int fd)
+{
+ struct drm_i915_gem_create_ext_set_pat setparam_pat = {
+ .base = { .name = I915_GEM_CREATE_EXT_SET_PAT },
+ .pat_index = 0,
+ };
+ struct drm_i915_gem_create_ext_set_pat setparam_inv_pat = {
+ .base = { .name = I915_GEM_CREATE_EXT_SET_PAT },
+ .pat_index = 65,
+ };
+ struct drm_i915_gem_caching arg;
+ uint64_t size;
+ uint32_t handle;
+ int ret;
+
+ size = PAGE_SIZE;
+
+ ret = __gem_create_ext(fd, &size, 0, &handle, &setparam_pat.base);
+
+ /*
+ * With a valid PAT index specified, returning -EINVAL here
+ * indicates set_pat extension is not supported
+ */
+ if (ret == -EINVAL)
+ igt_skip("I915_GEM_CREATE_EXT_SET_PAT is not supported\n");
+ igt_assert(ret == 0);
+
+ /* {set|get}_caching ioctl should fail for objects created with set_pat */
+ igt_assert_eq(__gem_set_caching(fd, handle, 1), -EOPNOTSUPP);
+
+ memset(&arg, 0, sizeof(arg));
+ arg.handle = handle;
+ igt_assert(ioctl(fd, DRM_IOCTL_I915_GEM_GET_CACHING, &arg) < 0 &&
+ errno == EOPNOTSUPP);
+
+ /* gem_create should fail with -EINVAL if invalid pat index specified */
+ igt_assert_eq(__gem_create_ext(fd, &size, 0, &handle, &setparam_inv_pat.base),
+ -EINVAL);
+
+ gem_close(fd, handle);
+}
+
static bool supports_needs_cpu_access(int fd)
{
struct drm_i915_gem_memory_class_instance regions[] = {
@@ -947,6 +1001,10 @@ igt_main
igt_subtest("create-ext-placement-all")
create_ext_placement_all(fd);
+ igt_describe("Validate basic creation of objects with PAT cache setting.");
+ igt_subtest("create-ext-set-pat")
+ create_ext_set_pat(fd);
+
igt_describe("Verify the basic functionally and expected ABI contract around I915_GEM_CREATE_EXT_FLAG_NEEDS_CPU_ACCESS");
igt_subtest("create-ext-cpu-access-sanity-check") {
igt_require(supports_needs_cpu_access(fd));
--
2.25.1
^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: [igt-dev] [PATCH v5 1/1] test/gem_create: exercise gem_create_ext_set_pat
2023-05-24 15:56 ` [igt-dev] [PATCH v5 1/1] " fei.yang
@ 2023-05-24 17:08 ` Kamil Konieczny
2023-05-24 18:06 ` Andi Shyti
1 sibling, 0 replies; 9+ messages in thread
From: Kamil Konieczny @ 2023-05-24 17:08 UTC (permalink / raw)
To: igt-dev; +Cc: fei.yang
On 2023-05-24 at 08:56:10 -0700, fei.yang@intel.com wrote:
> From: Fei Yang <fei.yang@intel.com>
>
> Gem_create uAPI has been extended with capability of setting PAT index.
> Add a test case to exercise it.
>
> PAT index is a page attribute that gets programmed into Page Table
> Entry (PTE) for caching policy control. Please refer to kernel patch
> for implementation details.
>
> https://patchwork.freedesktop.org/series/116870/
Before merging imho we should add here also:
("drm/i915: Allow user to set cache at BO creation")
as this is likely easier to search for (and www link can break
in future).
Reviewed-by: Kamil Konieczny <kamil.konieczny@linux.intel.com>
--
Kamil
>
> Signed-off-by: Fei Yang <fei.yang@intel.com>
> ---
> lib/i915/i915_drm_local.h | 34 +++++++++++++++++++++++
> tests/i915/gem_create.c | 58 +++++++++++++++++++++++++++++++++++++++
> 2 files changed, 92 insertions(+)
>
> diff --git a/lib/i915/i915_drm_local.h b/lib/i915/i915_drm_local.h
> index bb2ebef3..0f47578c 100644
> --- a/lib/i915/i915_drm_local.h
> +++ b/lib/i915/i915_drm_local.h
> @@ -41,6 +41,40 @@ extern "C" {
> #define __I915_PMU_RC6_RESIDENCY(gt) ___I915_PMU_OTHER(gt, 3)
> #define __I915_PMU_SOFTWARE_GT_AWAKE_TIME(gt) ___I915_PMU_OTHER(gt, 4)
>
> +#define I915_GEM_CREATE_EXT_SET_PAT 2
> +
> +/**
> + * struct drm_i915_gem_create_ext_set_pat - The
> + * I915_GEM_CREATE_EXT_SET_PAT extension.
> + *
> + * If this extension is provided, the specified caching policy (PAT index) is
> + * applied to the buffer object.
> + *
> + * Below is an example on how to create an object with specific caching policy:
> + *
> + * .. code-block:: C
> + *
> + * struct drm_i915_gem_create_ext_set_pat set_pat_ext = {
> + * .base = { .name = I915_GEM_CREATE_EXT_SET_PAT },
> + * .pat_index = 0,
> + * };
> + * struct drm_i915_gem_create_ext create_ext = {
> + * .size = PAGE_SIZE,
> + * .extensions = (uintptr_t)&set_pat_ext,
> + * };
> + *
> + * int err = ioctl(fd, DRM_IOCTL_I915_GEM_CREATE_EXT, &create_ext);
> + * if (err) ...
> + */
> +struct drm_i915_gem_create_ext_set_pat {
> + /** @base: Extension link. See struct i915_user_extension. */
> + struct i915_user_extension base;
> + /** @pat_index: PAT index to be set */
> + __u32 pat_index;
> + /** @rsvd: reserved for future use */
> + __u32 rsvd;
> +};
> +
> #if defined(__cplusplus)
> }
> #endif
> diff --git a/tests/i915/gem_create.c b/tests/i915/gem_create.c
> index fc991894..2e0c0ab9 100644
> --- a/tests/i915/gem_create.c
> +++ b/tests/i915/gem_create.c
> @@ -587,6 +587,60 @@ static void create_ext_placement_each(int fd)
> free(regions);
> }
>
> +/**
> + * TEST: GEM create uAPI
> + * Category: Infrastructure
> + * Description: Tests the DRM_IOCTL_I915_GEM_CREATE_EXT ioctl.
> + * Feature: core
> + * Functionality: Create GEM object with specific PAT index
> + * Run type: BAT
> + * Sub-category: i915
> + * Test category: GEM_Legacy
> + *
> + * SUBTEST: create-ext-set-pat
> + */
> +static void create_ext_set_pat(int fd)
> +{
> + struct drm_i915_gem_create_ext_set_pat setparam_pat = {
> + .base = { .name = I915_GEM_CREATE_EXT_SET_PAT },
> + .pat_index = 0,
> + };
> + struct drm_i915_gem_create_ext_set_pat setparam_inv_pat = {
> + .base = { .name = I915_GEM_CREATE_EXT_SET_PAT },
> + .pat_index = 65,
> + };
> + struct drm_i915_gem_caching arg;
> + uint64_t size;
> + uint32_t handle;
> + int ret;
> +
> + size = PAGE_SIZE;
> +
> + ret = __gem_create_ext(fd, &size, 0, &handle, &setparam_pat.base);
> +
> + /*
> + * With a valid PAT index specified, returning -EINVAL here
> + * indicates set_pat extension is not supported
> + */
> + if (ret == -EINVAL)
> + igt_skip("I915_GEM_CREATE_EXT_SET_PAT is not supported\n");
> + igt_assert(ret == 0);
> +
> + /* {set|get}_caching ioctl should fail for objects created with set_pat */
> + igt_assert_eq(__gem_set_caching(fd, handle, 1), -EOPNOTSUPP);
> +
> + memset(&arg, 0, sizeof(arg));
> + arg.handle = handle;
> + igt_assert(ioctl(fd, DRM_IOCTL_I915_GEM_GET_CACHING, &arg) < 0 &&
> + errno == EOPNOTSUPP);
> +
> + /* gem_create should fail with -EINVAL if invalid pat index specified */
> + igt_assert_eq(__gem_create_ext(fd, &size, 0, &handle, &setparam_inv_pat.base),
> + -EINVAL);
> +
> + gem_close(fd, handle);
> +}
> +
> static bool supports_needs_cpu_access(int fd)
> {
> struct drm_i915_gem_memory_class_instance regions[] = {
> @@ -947,6 +1001,10 @@ igt_main
> igt_subtest("create-ext-placement-all")
> create_ext_placement_all(fd);
>
> + igt_describe("Validate basic creation of objects with PAT cache setting.");
> + igt_subtest("create-ext-set-pat")
> + create_ext_set_pat(fd);
> +
> igt_describe("Verify the basic functionally and expected ABI contract around I915_GEM_CREATE_EXT_FLAG_NEEDS_CPU_ACCESS");
> igt_subtest("create-ext-cpu-access-sanity-check") {
> igt_require(supports_needs_cpu_access(fd));
> --
> 2.25.1
>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [igt-dev] [PATCH v5 1/1] test/gem_create: exercise gem_create_ext_set_pat
2023-05-24 15:56 ` [igt-dev] [PATCH v5 1/1] " fei.yang
2023-05-24 17:08 ` Kamil Konieczny
@ 2023-05-24 18:06 ` Andi Shyti
2023-05-24 19:37 ` Yang, Fei
1 sibling, 1 reply; 9+ messages in thread
From: Andi Shyti @ 2023-05-24 18:06 UTC (permalink / raw)
To: fei.yang; +Cc: igt-dev
Hi Fei,
On Wed, May 24, 2023 at 08:56:10AM -0700, fei.yang@intel.com wrote:
> From: Fei Yang <fei.yang@intel.com>
>
> Gem_create uAPI has been extended with capability of setting PAT index.
> Add a test case to exercise it.
As we discussed offline, can we:
/PAT/PAT (Page Attribute Table)/
But I think Kamil can fix this before pushing it.
> PAT index is a page attribute that gets programmed into Page Table
> Entry (PTE) for caching policy control. Please refer to kernel patch
> for implementation details.
>
> https://patchwork.freedesktop.org/series/116870/
>
> Signed-off-by: Fei Yang <fei.yang@intel.com>
> ---
> lib/i915/i915_drm_local.h | 34 +++++++++++++++++++++++
> tests/i915/gem_create.c | 58 +++++++++++++++++++++++++++++++++++++++
> 2 files changed, 92 insertions(+)
>
> diff --git a/lib/i915/i915_drm_local.h b/lib/i915/i915_drm_local.h
> index bb2ebef3..0f47578c 100644
> --- a/lib/i915/i915_drm_local.h
> +++ b/lib/i915/i915_drm_local.h
> @@ -41,6 +41,40 @@ extern "C" {
> #define __I915_PMU_RC6_RESIDENCY(gt) ___I915_PMU_OTHER(gt, 3)
> #define __I915_PMU_SOFTWARE_GT_AWAKE_TIME(gt) ___I915_PMU_OTHER(gt, 4)
>
> +#define I915_GEM_CREATE_EXT_SET_PAT 2
> +
> +/**
> + * struct drm_i915_gem_create_ext_set_pat - The
> + * I915_GEM_CREATE_EXT_SET_PAT extension.
> + *
> + * If this extension is provided, the specified caching policy (PAT index) is
> + * applied to the buffer object.
> + *
> + * Below is an example on how to create an object with specific caching policy:
> + *
> + * .. code-block:: C
> + *
> + * struct drm_i915_gem_create_ext_set_pat set_pat_ext = {
> + * .base = { .name = I915_GEM_CREATE_EXT_SET_PAT },
> + * .pat_index = 0,
> + * };
> + * struct drm_i915_gem_create_ext create_ext = {
> + * .size = PAGE_SIZE,
> + * .extensions = (uintptr_t)&set_pat_ext,
> + * };
> + *
> + * int err = ioctl(fd, DRM_IOCTL_I915_GEM_CREATE_EXT, &create_ext);
> + * if (err) ...
> + */
> +struct drm_i915_gem_create_ext_set_pat {
> + /** @base: Extension link. See struct i915_user_extension. */
> + struct i915_user_extension base;
> + /** @pat_index: PAT index to be set */
> + __u32 pat_index;
> + /** @rsvd: reserved for future use */
> + __u32 rsvd;
> +};
> +
> #if defined(__cplusplus)
> }
> #endif
> diff --git a/tests/i915/gem_create.c b/tests/i915/gem_create.c
> index fc991894..2e0c0ab9 100644
> --- a/tests/i915/gem_create.c
> +++ b/tests/i915/gem_create.c
> @@ -587,6 +587,60 @@ static void create_ext_placement_each(int fd)
> free(regions);
> }
>
> +/**
> + * TEST: GEM create uAPI
> + * Category: Infrastructure
> + * Description: Tests the DRM_IOCTL_I915_GEM_CREATE_EXT ioctl.
> + * Feature: core
> + * Functionality: Create GEM object with specific PAT index
> + * Run type: BAT
> + * Sub-category: i915
> + * Test category: GEM_Legacy
> + *
> + * SUBTEST: create-ext-set-pat
> + */
> +static void create_ext_set_pat(int fd)
> +{
> + struct drm_i915_gem_create_ext_set_pat setparam_pat = {
> + .base = { .name = I915_GEM_CREATE_EXT_SET_PAT },
> + .pat_index = 0,
> + };
> + struct drm_i915_gem_create_ext_set_pat setparam_inv_pat = {
> + .base = { .name = I915_GEM_CREATE_EXT_SET_PAT },
> + .pat_index = 65,
> + };
> + struct drm_i915_gem_caching arg;
> + uint64_t size;
> + uint32_t handle;
> + int ret;
> +
> + size = PAGE_SIZE;
> +
> + ret = __gem_create_ext(fd, &size, 0, &handle, &setparam_pat.base);
Tvrtko was talking about a -EFAULT path that can come only from
the use extention, unless I missed any other path.
I'm OK if we skip it as it would triggered by setting:
"name = <something_random>"
right?
In any case:
Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com>
Andi
> + /*
> + * With a valid PAT index specified, returning -EINVAL here
> + * indicates set_pat extension is not supported
> + */
> + if (ret == -EINVAL)
> + igt_skip("I915_GEM_CREATE_EXT_SET_PAT is not supported\n");
> + igt_assert(ret == 0);
> +
> + /* {set|get}_caching ioctl should fail for objects created with set_pat */
> + igt_assert_eq(__gem_set_caching(fd, handle, 1), -EOPNOTSUPP);
> +
> + memset(&arg, 0, sizeof(arg));
> + arg.handle = handle;
> + igt_assert(ioctl(fd, DRM_IOCTL_I915_GEM_GET_CACHING, &arg) < 0 &&
> + errno == EOPNOTSUPP);
> +
> + /* gem_create should fail with -EINVAL if invalid pat index specified */
> + igt_assert_eq(__gem_create_ext(fd, &size, 0, &handle, &setparam_inv_pat.base),
> + -EINVAL);
> +
> + gem_close(fd, handle);
> +}
> +
> static bool supports_needs_cpu_access(int fd)
> {
> struct drm_i915_gem_memory_class_instance regions[] = {
> @@ -947,6 +1001,10 @@ igt_main
> igt_subtest("create-ext-placement-all")
> create_ext_placement_all(fd);
>
> + igt_describe("Validate basic creation of objects with PAT cache setting.");
> + igt_subtest("create-ext-set-pat")
> + create_ext_set_pat(fd);
> +
> igt_describe("Verify the basic functionally and expected ABI contract around I915_GEM_CREATE_EXT_FLAG_NEEDS_CPU_ACCESS");
> igt_subtest("create-ext-cpu-access-sanity-check") {
> igt_require(supports_needs_cpu_access(fd));
> --
> 2.25.1
^ permalink raw reply [flat|nested] 9+ messages in thread
* [igt-dev] ✗ GitLab.Pipeline: warning for test/gem_create: exercise gem_create_ext_set_pat
2023-05-24 15:56 [igt-dev] [PATCH v5 0/1] test/gem_create: exercise gem_create_ext_set_pat fei.yang
2023-05-24 15:56 ` [igt-dev] [PATCH v5 1/1] " fei.yang
@ 2023-05-24 18:39 ` Patchwork
2023-05-24 19:04 ` [igt-dev] ✓ Fi.CI.BAT: success " Patchwork
` (2 subsequent siblings)
4 siblings, 0 replies; 9+ messages in thread
From: Patchwork @ 2023-05-24 18:39 UTC (permalink / raw)
To: fei.yang; +Cc: igt-dev
== Series Details ==
Series: test/gem_create: exercise gem_create_ext_set_pat
URL : https://patchwork.freedesktop.org/series/118314/
State : warning
== Summary ==
Pipeline status: FAILED.
see https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/pipelines/889677 for the overview.
build-containers:build-debian has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/42387229):
time="2023-05-24T18:35:17Z" level=fatal msg="Invalid status code returned when fetching blob 500 (Internal Server Error)"
Building!
STEP 1: FROM debian:buster
Getting image source signatures
Copying blob sha256:c722db24a050621ee87ea07acd5d066d3d6a94737c32012f27d73a1ad5cc645c
Copying config sha256:8b5601a5a7f855241ac7f372ec0042e793b0b3eb3f3a601014845f22bd371c90
Writing manifest to image destination
Storing signatures
STEP 2: RUN apt-get update
error running container: error creating container for [/bin/sh -c apt-get update]: time="2023-05-24T18:35:22Z" level=warning msg="signal: killed"
time="2023-05-24T18:35:22Z" level=error msg="container_linux.go:346: starting container process caused \"process_linux.go:297: applying cgroup configuration for process caused \\\"mountpoint for cgroup not found\\\"\"\n"
container_linux.go:346: starting container process caused "process_linux.go:297: applying cgroup configuration for process caused \"mountpoint for cgroup not found\""
: exit status 1
Error: error building at STEP "RUN apt-get update": error while running runtime: exit status 1
section_end:1684953323:step_script
section_start:1684953323:cleanup_file_variables
Cleaning up project directory and file based variables
section_end:1684953325:cleanup_file_variables
ERROR: Job failed: exit code 1
build-containers:build-debian-arm64 has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/42387231):
time="2023-05-24T18:35:15Z" level=fatal msg="Error determining repository tags: Invalid status code returned when fetching tags list 500 (Internal Server Error)"
Building!
STEP 1: FROM debian:buster
Getting image source signatures
Copying blob sha256:c722db24a050621ee87ea07acd5d066d3d6a94737c32012f27d73a1ad5cc645c
Copying config sha256:8b5601a5a7f855241ac7f372ec0042e793b0b3eb3f3a601014845f22bd371c90
Writing manifest to image destination
Storing signatures
STEP 2: RUN apt-get update
error running container: error creating container for [/bin/sh -c apt-get update]: time="2023-05-24T18:35:24Z" level=warning msg="signal: killed"
time="2023-05-24T18:35:24Z" level=error msg="container_linux.go:346: starting container process caused \"process_linux.go:297: applying cgroup configuration for process caused \\\"mountpoint for cgroup not found\\\"\"\n"
container_linux.go:346: starting container process caused "process_linux.go:297: applying cgroup configuration for process caused \"mountpoint for cgroup not found\""
: exit status 1
Error: error building at STEP "RUN apt-get update": error while running runtime: exit status 1
section_end:1684953325:step_script
section_start:1684953325:cleanup_file_variables
Cleaning up project directory and file based variables
section_end:1684953327:cleanup_file_variables
ERROR: Job failed: exit code 1
build-containers:build-debian-armhf has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/42387230):
time="2023-05-24T18:35:17Z" level=fatal msg="Invalid status code returned when fetching blob 500 (Internal Server Error)"
Building!
STEP 1: FROM debian:buster
Getting image source signatures
Copying blob sha256:c722db24a050621ee87ea07acd5d066d3d6a94737c32012f27d73a1ad5cc645c
Copying config sha256:8b5601a5a7f855241ac7f372ec0042e793b0b3eb3f3a601014845f22bd371c90
Writing manifest to image destination
Storing signatures
STEP 2: RUN apt-get update
error running container: error creating container for [/bin/sh -c apt-get update]: time="2023-05-24T18:35:22Z" level=warning msg="signal: killed"
time="2023-05-24T18:35:22Z" level=error msg="container_linux.go:346: starting container process caused \"process_linux.go:297: applying cgroup configuration for process caused \\\"mountpoint for cgroup not found\\\"\"\n"
container_linux.go:346: starting container process caused "process_linux.go:297: applying cgroup configuration for process caused \"mountpoint for cgroup not found\""
: exit status 1
Error: error building at STEP "RUN apt-get update": error while running runtime: exit status 1
section_end:1684953323:step_script
section_start:1684953323:cleanup_file_variables
Cleaning up project directory and file based variables
section_end:1684953326:cleanup_file_variables
ERROR: Job failed: exit code 1
build-containers:build-debian-mips has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/42387232):
time="2023-05-24T18:35:18Z" level=fatal msg="Invalid status code returned when fetching blob 500 (Internal Server Error)"
Building!
STEP 1: FROM debian:buster
Getting image source signatures
Copying blob sha256:c722db24a050621ee87ea07acd5d066d3d6a94737c32012f27d73a1ad5cc645c
Copying config sha256:8b5601a5a7f855241ac7f372ec0042e793b0b3eb3f3a601014845f22bd371c90
Writing manifest to image destination
Storing signatures
STEP 2: RUN apt-get update
error running container: error creating container for [/bin/sh -c apt-get update]: time="2023-05-24T18:35:23Z" level=warning msg="signal: killed"
time="2023-05-24T18:35:23Z" level=error msg="container_linux.go:346: starting container process caused \"process_linux.go:297: applying cgroup configuration for process caused \\\"mountpoint for cgroup not found\\\"\"\n"
container_linux.go:346: starting container process caused "process_linux.go:297: applying cgroup configuration for process caused \"mountpoint for cgroup not found\""
: exit status 1
Error: error building at STEP "RUN apt-get update": error while running runtime: exit status 1
section_end:1684953324:step_script
section_start:1684953324:cleanup_file_variables
Cleaning up project directory and file based variables
section_end:1684953327:cleanup_file_variables
ERROR: Job failed: exit code 1
build-containers:build-fedora has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/42387233):
time="2023-05-24T18:35:27Z" level=fatal msg="Invalid status code returned when fetching blob 500 (Internal Server Error)"
Building!
STEP 1: FROM fedora:31
Getting image source signatures
Copying blob sha256:854946d575a439a894349addd141568875d7c1e673d3286b08250f3dde002e6a
Copying config sha256:7e94ed77b448a8d2ff08b92d3ca743e4e862c744892d6886c73487581eb5863a
Writing manifest to image destination
Storing signatures
STEP 2: RUN dnf install -y gcc flex bison libatomic meson ninja-build xdotool 'pkgconfig(libdrm)' 'pkgconfig(pciaccess)' 'pkgconfig(libkmod)' 'pkgconfig(libprocps)' 'pkgconfig(libunwind)' 'pkgconfig(libdw)' 'pkgconfig(pixman-1)' 'pkgconfig(valgrind)' 'pkgconfig(cairo)' 'pkgconfig(libudev)' 'pkgconfig(glib-2.0)' 'pkgconfig(gsl)' 'pkgconfig(alsa)' 'pkgconfig(xmlrpc)' 'pkgconfig(xmlrpc_util)' 'pkgconfig(xmlrpc_client)' 'pkgconfig(json-c)' 'pkgconfig(gtk-doc)' 'pkgconfig(xv)' 'pkgconfig(xrandr)' python3-docutils
error running container: error creating container for [/bin/sh -c dnf install -y gcc flex bison libatomic meson ninja-build xdotool 'pkgconfig(libdrm)' 'pkgconfig(pciaccess)' 'pkgconfig(libkmod)' 'pkgconfig(libprocps)' 'pkgconfig(libunwind)' 'pkgconfig(libdw)' 'pkgconfig(pixman-1)' 'pkgconfig(valgrind)' 'pkgconfig(cairo)' 'pkgconfig(libudev)' 'pkgconfig(glib-2.0)' 'pkgconfig(gsl)' 'pkgconfig(alsa)' 'pkgconfig(xmlrpc)' 'pkgconfig(xmlrpc_util)' 'pkgconfig(xmlrpc_client)' 'pkgconfig(json-c)' 'pkgconfig(gtk-doc)' 'pkgconfig(xv)' 'pkgconfig(xrandr)' python3-docutils]: time="2023-05-24T18:35:35Z" level=warning msg="signal: killed"
time="2023-05-24T18:35:35Z" level=error msg="container_linux.go:346: starting container process caused \"process_linux.go:297: applying cgroup configuration for process caused \\\"mountpoint for cgroup not found\\\"\"\n"
container_linux.go:346: starting container process caused "process_linux.go:297: applying cgroup configuration for process caused \"mountpoint for cgroup not found\""
: exit status 1
Error: error building at STEP "RUN dnf install -y gcc flex bison libatomic meson ninja-build xdotool 'pkgconfig(libdrm)' 'pkgconfig(pciaccess)' 'pkgconfig(libkmod)' 'pkgconfig(libprocps)' 'pkgconfig(libunwind)' 'pkgconfig(libdw)' 'pkgconfig(pixman-1)' 'pkgconfig(valgrind)' 'pkgconfig(cairo)' 'pkgconfig(libudev)' 'pkgconfig(glib-2.0)' 'pkgconfig(gsl)' 'pkgconfig(alsa)' 'pkgconfig(xmlrpc)' 'pkgconfig(xmlrpc_util)' 'pkgconfig(xmlrpc_client)' 'pkgconfig(json-c)' 'pkgconfig(gtk-doc)' 'pkgconfig(xv)' 'pkgconfig(xrandr)' python3-docutils": error while running runtime: exit status 1
section_end:1684953336:step_script
section_start:1684953336:cleanup_file_variables
Cleaning up project directory and file based variables
section_end:1684953338:cleanup_file_variables
ERROR: Job failed: exit code 1
== Logs ==
For more details see: https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/pipelines/889677
^ permalink raw reply [flat|nested] 9+ messages in thread
* [igt-dev] ✓ Fi.CI.BAT: success for test/gem_create: exercise gem_create_ext_set_pat
2023-05-24 15:56 [igt-dev] [PATCH v5 0/1] test/gem_create: exercise gem_create_ext_set_pat fei.yang
2023-05-24 15:56 ` [igt-dev] [PATCH v5 1/1] " fei.yang
2023-05-24 18:39 ` [igt-dev] ✗ GitLab.Pipeline: warning for " Patchwork
@ 2023-05-24 19:04 ` Patchwork
2023-05-25 11:26 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2023-05-25 19:06 ` [igt-dev] ✗ Fi.CI.BAT: failure for test/gem_create: exercise gem_create_ext_set_pat (rev2) Patchwork
4 siblings, 0 replies; 9+ messages in thread
From: Patchwork @ 2023-05-24 19:04 UTC (permalink / raw)
To: fei.yang; +Cc: igt-dev
[-- Attachment #1: Type: text/plain, Size: 8658 bytes --]
== Series Details ==
Series: test/gem_create: exercise gem_create_ext_set_pat
URL : https://patchwork.freedesktop.org/series/118314/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_13187 -> IGTPW_9032
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9032/index.html
Participating hosts (39 -> 38)
------------------------------
Additional (1): fi-tgl-1115g4
Missing (2): fi-kbl-soraka fi-snb-2520m
Known issues
------------
Here are the changes found in IGTPW_9032 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@debugfs_test@basic-hwmon:
- fi-tgl-1115g4: NOTRUN -> [SKIP][1] ([i915#7456])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9032/fi-tgl-1115g4/igt@debugfs_test@basic-hwmon.html
* igt@gem_huc_copy@huc-copy:
- fi-tgl-1115g4: NOTRUN -> [SKIP][2] ([i915#2190])
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9032/fi-tgl-1115g4/igt@gem_huc_copy@huc-copy.html
* igt@gem_lmem_swapping@parallel-random-engines:
- fi-tgl-1115g4: NOTRUN -> [SKIP][3] ([i915#4613]) +3 similar issues
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9032/fi-tgl-1115g4/igt@gem_lmem_swapping@parallel-random-engines.html
* igt@i915_pm_backlight@basic-brightness:
- fi-tgl-1115g4: NOTRUN -> [SKIP][4] ([i915#3546] / [i915#7561])
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9032/fi-tgl-1115g4/igt@i915_pm_backlight@basic-brightness.html
* igt@i915_pm_backlight@basic-brightness@edp-1:
- bat-rplp-1: NOTRUN -> [ABORT][5] ([i915#7077])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9032/bat-rplp-1/igt@i915_pm_backlight@basic-brightness@edp-1.html
* igt@i915_selftest@live@reset:
- bat-rpls-2: NOTRUN -> [ABORT][6] ([i915#4983] / [i915#7461] / [i915#7913] / [i915#7981] / [i915#8347])
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9032/bat-rpls-2/igt@i915_selftest@live@reset.html
- bat-rpls-1: [PASS][7] -> [ABORT][8] ([i915#4983] / [i915#7461] / [i915#7981] / [i915#8347] / [i915#8384])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13187/bat-rpls-1/igt@i915_selftest@live@reset.html
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9032/bat-rpls-1/igt@i915_selftest@live@reset.html
* igt@i915_suspend@basic-s3-without-i915:
- fi-tgl-1115g4: NOTRUN -> [INCOMPLETE][9] ([i915#7443] / [i915#8102])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9032/fi-tgl-1115g4/igt@i915_suspend@basic-s3-without-i915.html
* igt@kms_chamelium_edid@dp-edid-read:
- fi-tgl-1115g4: NOTRUN -> [SKIP][10] ([i915#7828]) +7 similar issues
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9032/fi-tgl-1115g4/igt@kms_chamelium_edid@dp-edid-read.html
* igt@kms_cursor_legacy@basic-busy-flip-before-cursor-atomic:
- fi-tgl-1115g4: NOTRUN -> [SKIP][11] ([i915#4103]) +1 similar issue
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9032/fi-tgl-1115g4/igt@kms_cursor_legacy@basic-busy-flip-before-cursor-atomic.html
* igt@kms_force_connector_basic@force-load-detect:
- fi-tgl-1115g4: NOTRUN -> [SKIP][12] ([fdo#109285])
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9032/fi-tgl-1115g4/igt@kms_force_connector_basic@force-load-detect.html
* igt@kms_pipe_crc_basic@nonblocking-crc-frame-sequence:
- bat-dg2-11: NOTRUN -> [SKIP][13] ([i915#1845] / [i915#5354]) +2 similar issues
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9032/bat-dg2-11/igt@kms_pipe_crc_basic@nonblocking-crc-frame-sequence.html
* igt@kms_psr@cursor_plane_move:
- fi-tgl-1115g4: NOTRUN -> [SKIP][14] ([fdo#110189]) +3 similar issues
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9032/fi-tgl-1115g4/igt@kms_psr@cursor_plane_move.html
* igt@kms_setmode@basic-clone-single-crtc:
- fi-tgl-1115g4: NOTRUN -> [SKIP][15] ([i915#3555] / [i915#4579])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9032/fi-tgl-1115g4/igt@kms_setmode@basic-clone-single-crtc.html
#### Possible fixes ####
* igt@i915_selftest@live@migrate:
- bat-dg2-11: [DMESG-WARN][16] ([i915#7699]) -> [PASS][17]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13187/bat-dg2-11/igt@i915_selftest@live@migrate.html
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9032/bat-dg2-11/igt@i915_selftest@live@migrate.html
* igt@i915_selftest@live@mman:
- bat-rpls-2: [TIMEOUT][18] ([i915#6794] / [i915#7392]) -> [PASS][19]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13187/bat-rpls-2/igt@i915_selftest@live@mman.html
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9032/bat-rpls-2/igt@i915_selftest@live@mman.html
* igt@i915_selftest@live@slpc:
- {bat-mtlp-6}: [DMESG-WARN][20] ([i915#6367]) -> [PASS][21]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13187/bat-mtlp-6/igt@i915_selftest@live@slpc.html
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9032/bat-mtlp-6/igt@i915_selftest@live@slpc.html
* igt@kms_pipe_crc_basic@nonblocking-crc@pipe-c-dp-1:
- bat-dg2-8: [FAIL][22] ([i915#7932]) -> [PASS][23]
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13187/bat-dg2-8/igt@kms_pipe_crc_basic@nonblocking-crc@pipe-c-dp-1.html
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9032/bat-dg2-8/igt@kms_pipe_crc_basic@nonblocking-crc@pipe-c-dp-1.html
#### Warnings ####
* igt@kms_setmode@basic-clone-single-crtc:
- bat-rplp-1: [ABORT][24] ([i915#4579] / [i915#8260]) -> [SKIP][25] ([i915#3555] / [i915#4579])
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13187/bat-rplp-1/igt@kms_setmode@basic-clone-single-crtc.html
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9032/bat-rplp-1/igt@kms_setmode@basic-clone-single-crtc.html
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#109285]: https://bugs.freedesktop.org/show_bug.cgi?id=109285
[fdo#110189]: https://bugs.freedesktop.org/show_bug.cgi?id=110189
[i915#1845]: https://gitlab.freedesktop.org/drm/intel/issues/1845
[i915#2190]: https://gitlab.freedesktop.org/drm/intel/issues/2190
[i915#3546]: https://gitlab.freedesktop.org/drm/intel/issues/3546
[i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
[i915#4103]: https://gitlab.freedesktop.org/drm/intel/issues/4103
[i915#4579]: https://gitlab.freedesktop.org/drm/intel/issues/4579
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[i915#4983]: https://gitlab.freedesktop.org/drm/intel/issues/4983
[i915#5354]: https://gitlab.freedesktop.org/drm/intel/issues/5354
[i915#6367]: https://gitlab.freedesktop.org/drm/intel/issues/6367
[i915#6794]: https://gitlab.freedesktop.org/drm/intel/issues/6794
[i915#7059]: https://gitlab.freedesktop.org/drm/intel/issues/7059
[i915#7077]: https://gitlab.freedesktop.org/drm/intel/issues/7077
[i915#7392]: https://gitlab.freedesktop.org/drm/intel/issues/7392
[i915#7443]: https://gitlab.freedesktop.org/drm/intel/issues/7443
[i915#7456]: https://gitlab.freedesktop.org/drm/intel/issues/7456
[i915#7461]: https://gitlab.freedesktop.org/drm/intel/issues/7461
[i915#7561]: https://gitlab.freedesktop.org/drm/intel/issues/7561
[i915#7699]: https://gitlab.freedesktop.org/drm/intel/issues/7699
[i915#7828]: https://gitlab.freedesktop.org/drm/intel/issues/7828
[i915#7913]: https://gitlab.freedesktop.org/drm/intel/issues/7913
[i915#7932]: https://gitlab.freedesktop.org/drm/intel/issues/7932
[i915#7981]: https://gitlab.freedesktop.org/drm/intel/issues/7981
[i915#8102]: https://gitlab.freedesktop.org/drm/intel/issues/8102
[i915#8260]: https://gitlab.freedesktop.org/drm/intel/issues/8260
[i915#8347]: https://gitlab.freedesktop.org/drm/intel/issues/8347
[i915#8384]: https://gitlab.freedesktop.org/drm/intel/issues/8384
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_7303 -> IGTPW_9032
CI-20190529: 20190529
CI_DRM_13187: e72bc131968e21d9deeae208605481c93581f142 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_9032: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9032/index.html
IGT_7303: 8f09a9f1da506db907b549bb477f3233b5416733 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Testlist changes
----------------
+igt@gem_create@create-ext-set-pat
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9032/index.html
[-- Attachment #2: Type: text/html, Size: 10097 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [igt-dev] [PATCH v5 1/1] test/gem_create: exercise gem_create_ext_set_pat
2023-05-24 18:06 ` Andi Shyti
@ 2023-05-24 19:37 ` Yang, Fei
0 siblings, 0 replies; 9+ messages in thread
From: Yang, Fei @ 2023-05-24 19:37 UTC (permalink / raw)
To: Andi Shyti; +Cc: igt-dev
[-- Attachment #1: Type: text/plain, Size: 6036 bytes --]
> Hi Fei,
>
> On Wed, May 24, 2023 at 08:56:10AM -0700, fei.yang@intel.com wrote:
>> From: Fei Yang <fei.yang@intel.com>
>>
>> Gem_create uAPI has been extended with capability of setting PAT index.
>> Add a test case to exercise it.
>
> As we discussed offline, can we:
>
> /PAT/PAT (Page Attribute Table)/
I did explain "PAT is a page attribute" below. If that's not good enough I
have no objection to add what you proposed above.
> But I think Kamil can fix this before pushing it.
>
>> PAT index is a page attribute that gets programmed into Page Table
>> Entry (PTE) for caching policy control. Please refer to kernel patch
>> for implementation details.
>>
>> https://patchwork.freedesktop.org/series/116870/
>>
>> Signed-off-by: Fei Yang <fei.yang@intel.com>
>> ---
>> lib/i915/i915_drm_local.h | 34 +++++++++++++++++++++++
>> tests/i915/gem_create.c | 58 +++++++++++++++++++++++++++++++++++++++
>> 2 files changed, 92 insertions(+)
>>
>> diff --git a/lib/i915/i915_drm_local.h b/lib/i915/i915_drm_local.h
>> index bb2ebef3..0f47578c 100644
>> --- a/lib/i915/i915_drm_local.h
>> +++ b/lib/i915/i915_drm_local.h
>> @@ -41,6 +41,40 @@ extern "C" {
>> #define __I915_PMU_RC6_RESIDENCY(gt) ___I915_PMU_OTHER(gt, 3)
>> #define __I915_PMU_SOFTWARE_GT_AWAKE_TIME(gt) ___I915_PMU_OTHER(gt, 4)
>>
>> +#define I915_GEM_CREATE_EXT_SET_PAT 2
>> +
>> +/**
>> + * struct drm_i915_gem_create_ext_set_pat - The
>> + * I915_GEM_CREATE_EXT_SET_PAT extension.
>> + *
>> + * If this extension is provided, the specified caching policy (PAT index) is
>> + * applied to the buffer object.
>> + *
>> + * Below is an example on how to create an object with specific caching policy:
>> + *
>> + * .. code-block:: C
>> + *
>> + * struct drm_i915_gem_create_ext_set_pat set_pat_ext = {
>> + * .base = { .name = I915_GEM_CREATE_EXT_SET_PAT },
>> + * .pat_index = 0,
>> + * };
>> + * struct drm_i915_gem_create_ext create_ext = {
>> + * .size = PAGE_SIZE,
>> + * .extensions = (uintptr_t)&set_pat_ext,
>> + * };
>> + *
>> + * int err = ioctl(fd, DRM_IOCTL_I915_GEM_CREATE_EXT, &create_ext);
>> + * if (err) ...
>> + */
>> +struct drm_i915_gem_create_ext_set_pat {
>> + /** @base: Extension link. See struct i915_user_extension. */
>> + struct i915_user_extension base;
>> + /** @pat_index: PAT index to be set */
>> + __u32 pat_index;
>> + /** @rsvd: reserved for future use */
>> + __u32 rsvd;
>> +};
>> +
>> #if defined(__cplusplus)
>> }
>> #endif
>> diff --git a/tests/i915/gem_create.c b/tests/i915/gem_create.c
>> index fc991894..2e0c0ab9 100644
>> --- a/tests/i915/gem_create.c
>> +++ b/tests/i915/gem_create.c
>> @@ -587,6 +587,60 @@ static void create_ext_placement_each(int fd)
>> free(regions);
>> }
>>
>> +/**
>> + * TEST: GEM create uAPI
>> + * Category: Infrastructure
>> + * Description: Tests the DRM_IOCTL_I915_GEM_CREATE_EXT ioctl.
>> + * Feature: core
>> + * Functionality: Create GEM object with specific PAT index
>> + * Run type: BAT
>> + * Sub-category: i915
>> + * Test category: GEM_Legacy
>> + *
>> + * SUBTEST: create-ext-set-pat
>> + */
>> +static void create_ext_set_pat(int fd)
>> +{
>> + struct drm_i915_gem_create_ext_set_pat setparam_pat = {
>> + .base = { .name = I915_GEM_CREATE_EXT_SET_PAT },
>> + .pat_index = 0,
>> + };
>> + struct drm_i915_gem_create_ext_set_pat setparam_inv_pat = {
>> + .base = { .name = I915_GEM_CREATE_EXT_SET_PAT },
>> + .pat_index = 65,
>> + };
>> + struct drm_i915_gem_caching arg;
>> + uint64_t size;
>> + uint32_t handle;
>> + int ret;
>> +
>> + size = PAGE_SIZE;
>> +
>> + ret = __gem_create_ext(fd, &size, 0, &handle, &setparam_pat.base);
>
> Tvrtko was talking about a -EFAULT path that can come only from
> the use extention, unless I missed any other path.
>
> I'm OK if we skip it as it would triggered by setting:
>
> "name = <something_random>"
>
> right?
The point is that we want specifically check if a failure here is due to
kernel not up-to-date. Otherwise any none-zero return should be
treated as failure.
> In any case:
>
> Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com>
>
> Andi
>
>> + /*
>> + * With a valid PAT index specified, returning -EINVAL here
>> + * indicates set_pat extension is not supported
>> + */
>> + if (ret == -EINVAL)
>> + igt_skip("I915_GEM_CREATE_EXT_SET_PAT is not supported\n");
>> + igt_assert(ret == 0);
>> +
>> + /* {set|get}_caching ioctl should fail for objects created with set_pat */
>> + igt_assert_eq(__gem_set_caching(fd, handle, 1), -EOPNOTSUPP);
>> +
>> + memset(&arg, 0, sizeof(arg));
>> + arg.handle = handle;
>> + igt_assert(ioctl(fd, DRM_IOCTL_I915_GEM_GET_CACHING, &arg) < 0 &&
>> + errno == EOPNOTSUPP);
>> +
>> + /* gem_create should fail with -EINVAL if invalid pat index specified */
>> + igt_assert_eq(__gem_create_ext(fd, &size, 0, &handle, &setparam_inv_pat.base),
>> + -EINVAL);
>> +
>> + gem_close(fd, handle);
>> +}
>> +
>> static bool supports_needs_cpu_access(int fd)
>> {
>> struct drm_i915_gem_memory_class_instance regions[] = {
>> @@ -947,6 +1001,10 @@ igt_main
>> igt_subtest("create-ext-placement-all")
>> create_ext_placement_all(fd);
>>
>> + igt_describe("Validate basic creation of objects with PAT cache setting.");
>> + igt_subtest("create-ext-set-pat")
>> + create_ext_set_pat(fd);
>> +
>> igt_describe("Verify the basic functionally and expected ABI contract around I915_GEM_CREATE_EXT_FLAG_NEEDS_CPU_ACCESS");
>> igt_subtest("create-ext-cpu-access-sanity-check") {
>> igt_require(supports_needs_cpu_access(fd));
>> --
>> 2.25.1
[-- Attachment #2: Type: text/html, Size: 14454 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* [igt-dev] ✓ Fi.CI.IGT: success for test/gem_create: exercise gem_create_ext_set_pat
2023-05-24 15:56 [igt-dev] [PATCH v5 0/1] test/gem_create: exercise gem_create_ext_set_pat fei.yang
` (2 preceding siblings ...)
2023-05-24 19:04 ` [igt-dev] ✓ Fi.CI.BAT: success " Patchwork
@ 2023-05-25 11:26 ` Patchwork
2023-05-25 19:06 ` [igt-dev] ✗ Fi.CI.BAT: failure for test/gem_create: exercise gem_create_ext_set_pat (rev2) Patchwork
4 siblings, 0 replies; 9+ messages in thread
From: Patchwork @ 2023-05-25 11:26 UTC (permalink / raw)
To: fei.yang; +Cc: igt-dev
[-- Attachment #1: Type: text/plain, Size: 14238 bytes --]
== Series Details ==
Series: test/gem_create: exercise gem_create_ext_set_pat
URL : https://patchwork.freedesktop.org/series/118314/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_13187_full -> IGTPW_9032_full
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9032/index.html
Participating hosts (7 -> 7)
------------------------------
No changes in participating hosts
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in IGTPW_9032_full:
### IGT changes ###
#### Possible regressions ####
* {igt@gem_create@create-ext-set-pat} (NEW):
- {shard-rkl}: NOTRUN -> [SKIP][1]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9032/shard-rkl-1/igt@gem_create@create-ext-set-pat.html
- {shard-dg1}: NOTRUN -> [SKIP][2]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9032/shard-dg1-15/igt@gem_create@create-ext-set-pat.html
- {shard-tglu}: NOTRUN -> [SKIP][3]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9032/shard-tglu-3/igt@gem_create@create-ext-set-pat.html
New tests
---------
New tests have been introduced between CI_DRM_13187_full and IGTPW_9032_full:
### New IGT tests (1) ###
* igt@gem_create@create-ext-set-pat:
- Statuses : 6 skip(s)
- Exec time: [0.0] s
Known issues
------------
Here are the changes found in IGTPW_9032_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* {igt@gem_create@create-ext-set-pat} (NEW):
- shard-apl: NOTRUN -> [SKIP][4] ([fdo#109271])
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9032/shard-apl1/igt@gem_create@create-ext-set-pat.html
* igt@gem_exec_fair@basic-none-solo@rcs0:
- shard-apl: [PASS][5] -> [FAIL][6] ([i915#2842]) +1 similar issue
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13187/shard-apl2/igt@gem_exec_fair@basic-none-solo@rcs0.html
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9032/shard-apl6/igt@gem_exec_fair@basic-none-solo@rcs0.html
* igt@gem_exec_fair@basic-throttle@rcs0:
- shard-glk: NOTRUN -> [FAIL][7] ([i915#2842])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9032/shard-glk7/igt@gem_exec_fair@basic-throttle@rcs0.html
* igt@gem_lmem_swapping@basic:
- shard-glk: NOTRUN -> [SKIP][8] ([fdo#109271] / [i915#4613])
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9032/shard-glk6/igt@gem_lmem_swapping@basic.html
* igt@kms_ccs@pipe-c-bad-aux-stride-y_tiled_gen12_rc_ccs_cc:
- shard-glk: NOTRUN -> [SKIP][9] ([fdo#109271] / [i915#3886]) +1 similar issue
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9032/shard-glk5/igt@kms_ccs@pipe-c-bad-aux-stride-y_tiled_gen12_rc_ccs_cc.html
* igt@kms_ccs@pipe-c-bad-rotation-90-y_tiled_gen12_rc_ccs:
- shard-glk: NOTRUN -> [SKIP][10] ([fdo#109271]) +16 similar issues
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9032/shard-glk9/igt@kms_ccs@pipe-c-bad-rotation-90-y_tiled_gen12_rc_ccs.html
* igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions-varying-size:
- shard-apl: [PASS][11] -> [FAIL][12] ([IGT#6] / [i915#2346])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13187/shard-apl3/igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions-varying-size.html
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9032/shard-apl2/igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions-varying-size.html
* igt@kms_flip@flip-vs-suspend-interruptible@a-vga1:
- shard-snb: [PASS][13] -> [DMESG-WARN][14] ([i915#5090])
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13187/shard-snb2/igt@kms_flip@flip-vs-suspend-interruptible@a-vga1.html
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9032/shard-snb6/igt@kms_flip@flip-vs-suspend-interruptible@a-vga1.html
* igt@kms_frontbuffer_tracking@psr-1p-offscren-pri-indfb-draw-mmap-cpu:
- shard-glk: NOTRUN -> [SKIP][15] ([IGT#6] / [fdo#109271]) +10 similar issues
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9032/shard-glk5/igt@kms_frontbuffer_tracking@psr-1p-offscren-pri-indfb-draw-mmap-cpu.html
* igt@kms_plane_scaling@invalid-num-scalers@pipe-a-hdmi-a-1-invalid-num-scalers:
- shard-snb: NOTRUN -> [SKIP][16] ([fdo#109271]) +12 similar issues
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9032/shard-snb1/igt@kms_plane_scaling@invalid-num-scalers@pipe-a-hdmi-a-1-invalid-num-scalers.html
* igt@kms_plane_scaling@plane-upscale-with-pixel-format-20x20@pipe-b-hdmi-a-1:
- shard-snb: NOTRUN -> [SKIP][17] ([fdo#109271] / [i915#4579]) +9 similar issues
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9032/shard-snb1/igt@kms_plane_scaling@plane-upscale-with-pixel-format-20x20@pipe-b-hdmi-a-1.html
* igt@kms_plane_scaling@planes-downscale-factor-0-25@pipe-c-hdmi-a-1:
- shard-glk: NOTRUN -> [SKIP][18] ([fdo#109271] / [i915#4579]) +2 similar issues
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9032/shard-glk7/igt@kms_plane_scaling@planes-downscale-factor-0-25@pipe-c-hdmi-a-1.html
#### Possible fixes ####
* igt@gem_exec_fair@basic-none@bcs0:
- {shard-rkl}: [FAIL][19] ([i915#2842]) -> [PASS][20] +2 similar issues
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13187/shard-rkl-1/igt@gem_exec_fair@basic-none@bcs0.html
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9032/shard-rkl-2/igt@gem_exec_fair@basic-none@bcs0.html
* igt@gem_exec_fair@basic-pace-share@rcs0:
- shard-glk: [FAIL][21] ([i915#2842]) -> [PASS][22] +3 similar issues
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13187/shard-glk9/igt@gem_exec_fair@basic-pace-share@rcs0.html
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9032/shard-glk1/igt@gem_exec_fair@basic-pace-share@rcs0.html
* igt@gem_lmem_swapping@smem-oom@lmem0:
- {shard-dg1}: [TIMEOUT][23] ([i915#5493]) -> [PASS][24]
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13187/shard-dg1-16/igt@gem_lmem_swapping@smem-oom@lmem0.html
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9032/shard-dg1-18/igt@gem_lmem_swapping@smem-oom@lmem0.html
* igt@gem_spin_batch@user-each:
- shard-apl: [FAIL][25] ([i915#2898]) -> [PASS][26]
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13187/shard-apl3/igt@gem_spin_batch@user-each.html
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9032/shard-apl1/igt@gem_spin_batch@user-each.html
* igt@gen9_exec_parse@allowed-single:
- shard-glk: [ABORT][27] ([i915#5566]) -> [PASS][28]
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13187/shard-glk2/igt@gen9_exec_parse@allowed-single.html
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9032/shard-glk4/igt@gen9_exec_parse@allowed-single.html
* igt@i915_pm_dc@dc9-dpms:
- shard-apl: [SKIP][29] ([fdo#109271]) -> [PASS][30]
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13187/shard-apl3/igt@i915_pm_dc@dc9-dpms.html
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9032/shard-apl1/igt@i915_pm_dc@dc9-dpms.html
* igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions-varying-size:
- shard-glk: [FAIL][31] ([IGT#6] / [i915#2346]) -> [PASS][32]
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13187/shard-glk6/igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions-varying-size.html
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9032/shard-glk9/igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions-varying-size.html
* igt@kms_flip@2x-flip-vs-expired-vblank-interruptible@bc-hdmi-a1-hdmi-a2:
- shard-glk: [FAIL][33] ([i915#79]) -> [PASS][34] +1 similar issue
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13187/shard-glk4/igt@kms_flip@2x-flip-vs-expired-vblank-interruptible@bc-hdmi-a1-hdmi-a2.html
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9032/shard-glk4/igt@kms_flip@2x-flip-vs-expired-vblank-interruptible@bc-hdmi-a1-hdmi-a2.html
* igt@perf_pmu@busy-idle-check-all@vecs0:
- {shard-dg1}: [FAIL][35] ([i915#4521]) -> [PASS][36] +2 similar issues
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13187/shard-dg1-14/igt@perf_pmu@busy-idle-check-all@vecs0.html
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9032/shard-dg1-15/igt@perf_pmu@busy-idle-check-all@vecs0.html
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[IGT#6]: https://gitlab.freedesktop.org/drm/igt-gpu-tools/issues/6
[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#109285]: https://bugs.freedesktop.org/show_bug.cgi?id=109285
[fdo#109314]: https://bugs.freedesktop.org/show_bug.cgi?id=109314
[fdo#109315]: https://bugs.freedesktop.org/show_bug.cgi?id=109315
[fdo#110189]: https://bugs.freedesktop.org/show_bug.cgi?id=110189
[fdo#110723]: https://bugs.freedesktop.org/show_bug.cgi?id=110723
[fdo#111615]: https://bugs.freedesktop.org/show_bug.cgi?id=111615
[fdo#111825]: https://bugs.freedesktop.org/show_bug.cgi?id=111825
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[i915#1072]: https://gitlab.freedesktop.org/drm/intel/issues/1072
[i915#1397]: https://gitlab.freedesktop.org/drm/intel/issues/1397
[i915#1825]: https://gitlab.freedesktop.org/drm/intel/issues/1825
[i915#1839]: https://gitlab.freedesktop.org/drm/intel/issues/1839
[i915#2346]: https://gitlab.freedesktop.org/drm/intel/issues/2346
[i915#2527]: https://gitlab.freedesktop.org/drm/intel/issues/2527
[i915#2658]: https://gitlab.freedesktop.org/drm/intel/issues/2658
[i915#2672]: https://gitlab.freedesktop.org/drm/intel/issues/2672
[i915#2681]: https://gitlab.freedesktop.org/drm/intel/issues/2681
[i915#2842]: https://gitlab.freedesktop.org/drm/intel/issues/2842
[i915#2898]: https://gitlab.freedesktop.org/drm/intel/issues/2898
[i915#3023]: https://gitlab.freedesktop.org/drm/intel/issues/3023
[i915#3281]: https://gitlab.freedesktop.org/drm/intel/issues/3281
[i915#3297]: https://gitlab.freedesktop.org/drm/intel/issues/3297
[i915#3359]: https://gitlab.freedesktop.org/drm/intel/issues/3359
[i915#3458]: https://gitlab.freedesktop.org/drm/intel/issues/3458
[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#3689]: https://gitlab.freedesktop.org/drm/intel/issues/3689
[i915#3708]: https://gitlab.freedesktop.org/drm/intel/issues/3708
[i915#3734]: https://gitlab.freedesktop.org/drm/intel/issues/3734
[i915#3804]: https://gitlab.freedesktop.org/drm/intel/issues/3804
[i915#3886]: https://gitlab.freedesktop.org/drm/intel/issues/3886
[i915#3955]: https://gitlab.freedesktop.org/drm/intel/issues/3955
[i915#4070]: https://gitlab.freedesktop.org/drm/intel/issues/4070
[i915#4077]: https://gitlab.freedesktop.org/drm/intel/issues/4077
[i915#4078]: https://gitlab.freedesktop.org/drm/intel/issues/4078
[i915#4083]: https://gitlab.freedesktop.org/drm/intel/issues/4083
[i915#4098]: https://gitlab.freedesktop.org/drm/intel/issues/4098
[i915#4521]: https://gitlab.freedesktop.org/drm/intel/issues/4521
[i915#4525]: https://gitlab.freedesktop.org/drm/intel/issues/4525
[i915#4579]: https://gitlab.freedesktop.org/drm/intel/issues/4579
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[i915#4816]: https://gitlab.freedesktop.org/drm/intel/issues/4816
[i915#5090]: https://gitlab.freedesktop.org/drm/intel/issues/5090
[i915#5176]: https://gitlab.freedesktop.org/drm/intel/issues/5176
[i915#5235]: https://gitlab.freedesktop.org/drm/intel/issues/5235
[i915#5286]: https://gitlab.freedesktop.org/drm/intel/issues/5286
[i915#533]: https://gitlab.freedesktop.org/drm/intel/issues/533
[i915#5354]: https://gitlab.freedesktop.org/drm/intel/issues/5354
[i915#5439]: https://gitlab.freedesktop.org/drm/intel/issues/5439
[i915#5493]: https://gitlab.freedesktop.org/drm/intel/issues/5493
[i915#5566]: https://gitlab.freedesktop.org/drm/intel/issues/5566
[i915#5723]: https://gitlab.freedesktop.org/drm/intel/issues/5723
[i915#5784]: https://gitlab.freedesktop.org/drm/intel/issues/5784
[i915#6095]: https://gitlab.freedesktop.org/drm/intel/issues/6095
[i915#6268]: https://gitlab.freedesktop.org/drm/intel/issues/6268
[i915#658]: https://gitlab.freedesktop.org/drm/intel/issues/658
[i915#6590]: https://gitlab.freedesktop.org/drm/intel/issues/6590
[i915#6768]: https://gitlab.freedesktop.org/drm/intel/issues/6768
[i915#6786]: https://gitlab.freedesktop.org/drm/intel/issues/6786
[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#7711]: https://gitlab.freedesktop.org/drm/intel/issues/7711
[i915#7828]: https://gitlab.freedesktop.org/drm/intel/issues/7828
[i915#79]: https://gitlab.freedesktop.org/drm/intel/issues/79
[i915#8011]: https://gitlab.freedesktop.org/drm/intel/issues/8011
[i915#8411]: https://gitlab.freedesktop.org/drm/intel/issues/8411
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_7303 -> IGTPW_9032
* Piglit: piglit_4509 -> None
CI-20190529: 20190529
CI_DRM_13187: e72bc131968e21d9deeae208605481c93581f142 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_9032: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9032/index.html
IGT_7303: 8f09a9f1da506db907b549bb477f3233b5416733 @ 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_9032/index.html
[-- Attachment #2: Type: text/html, Size: 12478 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* [igt-dev] ✗ Fi.CI.BAT: failure for test/gem_create: exercise gem_create_ext_set_pat (rev2)
2023-05-24 15:56 [igt-dev] [PATCH v5 0/1] test/gem_create: exercise gem_create_ext_set_pat fei.yang
` (3 preceding siblings ...)
2023-05-25 11:26 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
@ 2023-05-25 19:06 ` Patchwork
4 siblings, 0 replies; 9+ messages in thread
From: Patchwork @ 2023-05-25 19:06 UTC (permalink / raw)
To: fei.yang; +Cc: igt-dev
[-- Attachment #1: Type: text/plain, Size: 8916 bytes --]
== Series Details ==
Series: test/gem_create: exercise gem_create_ext_set_pat (rev2)
URL : https://patchwork.freedesktop.org/series/118314/
State : failure
== Summary ==
CI Bug Log - changes from CI_DRM_13187 -> IGTPW_9037
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with IGTPW_9037 absolutely need to be
verified manually.
If you think the reported changes have nothing to do with the changes
introduced in IGTPW_9037, please notify your bug team to allow them
to document this new failure mode, which will reduce false positives in CI.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9037/index.html
Participating hosts (39 -> 39)
------------------------------
Additional (1): fi-tgl-1115g4
Missing (1): fi-snb-2520m
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in IGTPW_9037:
### IGT changes ###
#### Possible regressions ####
* igt@i915_selftest@live@hugepages:
- bat-atsm-1: [PASS][1] -> [INCOMPLETE][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13187/bat-atsm-1/igt@i915_selftest@live@hugepages.html
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9037/bat-atsm-1/igt@i915_selftest@live@hugepages.html
Known issues
------------
Here are the changes found in IGTPW_9037 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@debugfs_test@basic-hwmon:
- fi-tgl-1115g4: NOTRUN -> [SKIP][3] ([i915#7456])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9037/fi-tgl-1115g4/igt@debugfs_test@basic-hwmon.html
* igt@gem_huc_copy@huc-copy:
- fi-tgl-1115g4: NOTRUN -> [SKIP][4] ([i915#2190])
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9037/fi-tgl-1115g4/igt@gem_huc_copy@huc-copy.html
* igt@gem_lmem_swapping@parallel-random-engines:
- fi-tgl-1115g4: NOTRUN -> [SKIP][5] ([i915#4613]) +3 similar issues
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9037/fi-tgl-1115g4/igt@gem_lmem_swapping@parallel-random-engines.html
* igt@i915_pm_backlight@basic-brightness:
- fi-tgl-1115g4: NOTRUN -> [SKIP][6] ([i915#3546] / [i915#7561])
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9037/fi-tgl-1115g4/igt@i915_pm_backlight@basic-brightness.html
* igt@i915_pm_backlight@basic-brightness@edp-1:
- bat-rplp-1: NOTRUN -> [ABORT][7] ([i915#7077])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9037/bat-rplp-1/igt@i915_pm_backlight@basic-brightness@edp-1.html
* igt@i915_selftest@live@reset:
- bat-rpls-1: [PASS][8] -> [ABORT][9] ([i915#4983] / [i915#7461] / [i915#7981] / [i915#8347] / [i915#8384])
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13187/bat-rpls-1/igt@i915_selftest@live@reset.html
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9037/bat-rpls-1/igt@i915_selftest@live@reset.html
* igt@i915_selftest@live@slpc:
- bat-rpls-2: NOTRUN -> [DMESG-WARN][10] ([i915#6367])
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9037/bat-rpls-2/igt@i915_selftest@live@slpc.html
* igt@i915_suspend@basic-s3-without-i915:
- fi-tgl-1115g4: NOTRUN -> [INCOMPLETE][11] ([i915#7443] / [i915#8102])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9037/fi-tgl-1115g4/igt@i915_suspend@basic-s3-without-i915.html
* igt@kms_chamelium_edid@dp-edid-read:
- fi-tgl-1115g4: NOTRUN -> [SKIP][12] ([i915#7828]) +7 similar issues
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9037/fi-tgl-1115g4/igt@kms_chamelium_edid@dp-edid-read.html
* igt@kms_cursor_legacy@basic-busy-flip-before-cursor-atomic:
- fi-tgl-1115g4: NOTRUN -> [SKIP][13] ([i915#4103]) +1 similar issue
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9037/fi-tgl-1115g4/igt@kms_cursor_legacy@basic-busy-flip-before-cursor-atomic.html
* igt@kms_force_connector_basic@force-load-detect:
- fi-tgl-1115g4: NOTRUN -> [SKIP][14] ([fdo#109285])
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9037/fi-tgl-1115g4/igt@kms_force_connector_basic@force-load-detect.html
* igt@kms_pipe_crc_basic@read-crc:
- bat-adlp-9: NOTRUN -> [SKIP][15] ([i915#3546]) +1 similar issue
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9037/bat-adlp-9/igt@kms_pipe_crc_basic@read-crc.html
* igt@kms_psr@cursor_plane_move:
- fi-tgl-1115g4: NOTRUN -> [SKIP][16] ([fdo#110189]) +3 similar issues
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9037/fi-tgl-1115g4/igt@kms_psr@cursor_plane_move.html
* igt@kms_setmode@basic-clone-single-crtc:
- fi-tgl-1115g4: NOTRUN -> [SKIP][17] ([i915#3555] / [i915#4579])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9037/fi-tgl-1115g4/igt@kms_setmode@basic-clone-single-crtc.html
#### Possible fixes ####
* igt@i915_module_load@load:
- {bat-adlp-11}: [ABORT][18] ([i915#4423] / [i915#8189]) -> [PASS][19]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13187/bat-adlp-11/igt@i915_module_load@load.html
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9037/bat-adlp-11/igt@i915_module_load@load.html
* igt@i915_selftest@live@migrate:
- bat-dg2-11: [DMESG-WARN][20] ([i915#7699]) -> [PASS][21]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13187/bat-dg2-11/igt@i915_selftest@live@migrate.html
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9037/bat-dg2-11/igt@i915_selftest@live@migrate.html
* igt@i915_selftest@live@mman:
- bat-rpls-2: [TIMEOUT][22] ([i915#6794] / [i915#7392]) -> [PASS][23]
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13187/bat-rpls-2/igt@i915_selftest@live@mman.html
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9037/bat-rpls-2/igt@i915_selftest@live@mman.html
#### Warnings ####
* igt@kms_setmode@basic-clone-single-crtc:
- bat-rplp-1: [ABORT][24] ([i915#4579] / [i915#8260]) -> [SKIP][25] ([i915#3555] / [i915#4579])
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13187/bat-rplp-1/igt@kms_setmode@basic-clone-single-crtc.html
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9037/bat-rplp-1/igt@kms_setmode@basic-clone-single-crtc.html
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#109285]: https://bugs.freedesktop.org/show_bug.cgi?id=109285
[fdo#110189]: https://bugs.freedesktop.org/show_bug.cgi?id=110189
[i915#2190]: https://gitlab.freedesktop.org/drm/intel/issues/2190
[i915#3282]: https://gitlab.freedesktop.org/drm/intel/issues/3282
[i915#3546]: https://gitlab.freedesktop.org/drm/intel/issues/3546
[i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
[i915#4103]: https://gitlab.freedesktop.org/drm/intel/issues/4103
[i915#4423]: https://gitlab.freedesktop.org/drm/intel/issues/4423
[i915#4579]: https://gitlab.freedesktop.org/drm/intel/issues/4579
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[i915#4983]: https://gitlab.freedesktop.org/drm/intel/issues/4983
[i915#6367]: https://gitlab.freedesktop.org/drm/intel/issues/6367
[i915#6794]: https://gitlab.freedesktop.org/drm/intel/issues/6794
[i915#7059]: https://gitlab.freedesktop.org/drm/intel/issues/7059
[i915#7077]: https://gitlab.freedesktop.org/drm/intel/issues/7077
[i915#7392]: https://gitlab.freedesktop.org/drm/intel/issues/7392
[i915#7443]: https://gitlab.freedesktop.org/drm/intel/issues/7443
[i915#7456]: https://gitlab.freedesktop.org/drm/intel/issues/7456
[i915#7461]: https://gitlab.freedesktop.org/drm/intel/issues/7461
[i915#7561]: https://gitlab.freedesktop.org/drm/intel/issues/7561
[i915#7699]: https://gitlab.freedesktop.org/drm/intel/issues/7699
[i915#7828]: https://gitlab.freedesktop.org/drm/intel/issues/7828
[i915#7981]: https://gitlab.freedesktop.org/drm/intel/issues/7981
[i915#8102]: https://gitlab.freedesktop.org/drm/intel/issues/8102
[i915#8189]: https://gitlab.freedesktop.org/drm/intel/issues/8189
[i915#8260]: https://gitlab.freedesktop.org/drm/intel/issues/8260
[i915#8347]: https://gitlab.freedesktop.org/drm/intel/issues/8347
[i915#8384]: https://gitlab.freedesktop.org/drm/intel/issues/8384
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_7303 -> IGTPW_9037
CI-20190529: 20190529
CI_DRM_13187: e72bc131968e21d9deeae208605481c93581f142 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_9037: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9037/index.html
IGT_7303: 8f09a9f1da506db907b549bb477f3233b5416733 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Testlist changes
----------------
+igt@gem_create@create-ext-set-pat
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9037/index.html
[-- Attachment #2: Type: text/html, Size: 10113 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2023-05-25 19:06 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-24 15:56 [igt-dev] [PATCH v5 0/1] test/gem_create: exercise gem_create_ext_set_pat fei.yang
2023-05-24 15:56 ` [igt-dev] [PATCH v5 1/1] " fei.yang
2023-05-24 17:08 ` Kamil Konieczny
2023-05-24 18:06 ` Andi Shyti
2023-05-24 19:37 ` Yang, Fei
2023-05-24 18:39 ` [igt-dev] ✗ GitLab.Pipeline: warning for " Patchwork
2023-05-24 19:04 ` [igt-dev] ✓ Fi.CI.BAT: success " Patchwork
2023-05-25 11:26 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2023-05-25 19:06 ` [igt-dev] ✗ Fi.CI.BAT: failure for test/gem_create: exercise gem_create_ext_set_pat (rev2) Patchwork
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.