* [PATCH i-g-t 1/4] tests/intel/xe_pm: Update runtime pm conditions
@ 2024-05-10 12:22 Rodrigo Vivi
2024-05-10 12:22 ` [PATCH i-g-t 2/4] tests/intel/xe_pm: Also disable display for mmap_system test Rodrigo Vivi
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: Rodrigo Vivi @ 2024-05-10 12:22 UTC (permalink / raw)
To: igt-dev; +Cc: intel-xe, Rodrigo Vivi
Xe is no longer holding a runtime pm reference for the life
of a VM or exec_queue.
Also, IGT changes autosuspend time to a minimal time, so we
cannot guarantee that rpm is still suspended after the execution
has finished.
So, the reference usage is not a reliable reference.
Hence, start using runtime_active_time as the indicator
that runtime_pm resumed upon our actions.
v2: Usage of runtime_active_pm and inclusion of mmap tests.
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
---
lib/igt_pm.c | 18 +++++++++++
lib/igt_pm.h | 1 +
tests/intel/xe_pm.c | 77 +++++++++++++++++----------------------------
3 files changed, 47 insertions(+), 49 deletions(-)
diff --git a/lib/igt_pm.c b/lib/igt_pm.c
index fe7692960..98cc8d969 100644
--- a/lib/igt_pm.c
+++ b/lib/igt_pm.c
@@ -1412,6 +1412,24 @@ int igt_pm_get_runtime_suspended_time(struct pci_device *pci_dev)
return -1;
}
+int igt_pm_get_runtime_active_time(struct pci_device *pci_dev)
+{
+ char time_str[64];
+ int time, time_fd;
+
+ time_fd = igt_pm_get_power_attr_fd_rdonly(pci_dev, "runtime_active_time");
+ if (igt_pm_read_power_attr(time_fd, time_str, 64, false)) {
+ igt_assert(sscanf(time_str, "%d", &time) > 0);
+
+ igt_debug("runtime active time for PCI '%04x:%02x:%02x.%01x' = %d\n",
+ pci_dev->domain, pci_dev->bus, pci_dev->dev, pci_dev->func, time);
+
+ return time;
+ }
+
+ return -1;
+}
+
/**
* igt_pm_get_runtime_usage:
* @pci_dev: pci device
diff --git a/lib/igt_pm.h b/lib/igt_pm.h
index 91ee05cd1..b71f7c440 100644
--- a/lib/igt_pm.h
+++ b/lib/igt_pm.h
@@ -94,6 +94,7 @@ void igt_pm_print_pci_card_runtime_status(void);
bool i915_is_slpc_enabled_gt(int drm_fd, int gt);
bool i915_is_slpc_enabled(int drm_fd);
int igt_pm_get_runtime_suspended_time(struct pci_device *pci_dev);
+int igt_pm_get_runtime_active_time(struct pci_device *pci_dev);
int igt_pm_get_runtime_usage(struct pci_device *pci_dev);
void igt_pm_ignore_slpc_efficient_freq(int i915, int gtfd, bool val);
diff --git a/tests/intel/xe_pm.c b/tests/intel/xe_pm.c
index e81a75d88..3f963bd9b 100644
--- a/tests/intel/xe_pm.c
+++ b/tests/intel/xe_pm.c
@@ -184,34 +184,6 @@ static bool in_d3(device_t device, enum igt_acpi_d_state state)
return true;
}
-static bool out_of_d3(device_t device, enum igt_acpi_d_state state)
-{
- uint16_t val;
-
- /* Runtime resume needs to be immediate action without any wait */
- if (runtime_usage_available(device.pci_xe) &&
- igt_pm_get_runtime_usage(device.pci_xe) <= 0)
- return false;
-
- if (igt_get_runtime_pm_status() != IGT_RUNTIME_PM_STATUS_ACTIVE)
- return false;
-
- switch (state) {
- case IGT_ACPI_D3Hot:
- igt_assert_eq(pci_device_cfg_read_u16(device.pci_xe,
- &val, 0xd4), 0);
- return (val & 0x3) == 0;
- case IGT_ACPI_D3Cold:
- return igt_pm_get_acpi_real_d_state(device.pci_root) ==
- IGT_ACPI_D0;
- default:
- igt_info("Invalid D3 State\n");
- igt_assert(0);
- }
-
- return true;
-}
-
static void close_fw_handle(int sig)
{
if (fw_handle < 0)
@@ -326,27 +298,27 @@ test_exec(device_t device, struct drm_xe_engine_class_instance *eci,
uint64_t pad;
uint32_t data;
} *data;
- int i, b, rpm_usage;
+ int i, b, active_time;
bool check_rpm = (d_state == IGT_ACPI_D3Hot ||
d_state == IGT_ACPI_D3Cold);
igt_assert(n_exec_queues <= MAX_N_EXEC_QUEUES);
igt_assert(n_execs > 0);
- if (check_rpm)
+ if (check_rpm) {
igt_assert(in_d3(device, d_state));
+ active_time = igt_pm_get_runtime_active_time(device.pci_xe);
+ }
vm = xe_vm_create(device.fd_xe, 0, 0);
if (check_rpm)
- igt_assert(out_of_d3(device, d_state));
+ igt_assert(igt_pm_get_runtime_active_time(device.pci_xe) >
+ active_time);
bo_size = sizeof(*data) * n_execs;
bo_size = xe_bb_size(device.fd_xe, bo_size);
- if (check_rpm && runtime_usage_available(device.pci_xe))
- rpm_usage = igt_pm_get_runtime_usage(device.pci_xe);
-
if (flags & USERPTR) {
data = aligned_alloc(xe_get_default_alignment(device.fd_xe), bo_size);
memset(data, 0, bo_size);
@@ -384,8 +356,10 @@ test_exec(device_t device, struct drm_xe_engine_class_instance *eci,
xe_vm_prefetch_async(device.fd_xe, vm, bind_exec_queues[0], 0, addr,
bo_size, sync, 1, 0);
- if (check_rpm && runtime_usage_available(device.pci_xe))
- igt_assert(igt_pm_get_runtime_usage(device.pci_xe) > rpm_usage);
+ if (check_rpm) {
+ igt_assert(in_d3(device, d_state));
+ active_time = igt_pm_get_runtime_active_time(device.pci_xe);
+ }
for (i = 0; i < n_execs; i++) {
uint64_t batch_offset = (char *)&data[i].batch - (char *)data;
@@ -429,9 +403,6 @@ test_exec(device_t device, struct drm_xe_engine_class_instance *eci,
igt_assert(syncobj_wait(device.fd_xe, &sync[0].handle, 1, INT64_MAX, 0,
NULL));
- if (check_rpm && runtime_usage_available(device.pci_xe))
- rpm_usage = igt_pm_get_runtime_usage(device.pci_xe);
-
sync[0].flags |= DRM_XE_SYNC_FLAG_SIGNAL;
if (n_vmas > 1)
xe_vm_unbind_all_async(device.fd_xe, vm, 0, bo, sync, 1);
@@ -459,15 +430,13 @@ NULL));
free(data);
}
- if (check_rpm && runtime_usage_available(device.pci_xe))
- igt_assert(igt_pm_get_runtime_usage(device.pci_xe) < rpm_usage);
- if (check_rpm)
- igt_assert(out_of_d3(device, d_state));
-
xe_vm_destroy(device.fd_xe, vm);
- if (check_rpm)
+ if (check_rpm) {
+ igt_assert(igt_pm_get_runtime_active_time(device.pci_xe) >
+ active_time);
igt_assert(in_d3(device, d_state));
+ }
}
/**
@@ -561,10 +530,13 @@ static void test_mmap(device_t device, uint32_t placement, uint32_t flags)
size_t bo_size = 8192;
uint32_t *map = NULL;
uint32_t bo;
- int i;
+ int i, active_time;
igt_require_f(placement, "Device doesn't support such memory region\n");
+ igt_assert(igt_wait_for_pm_status(IGT_RUNTIME_PM_STATUS_SUSPENDED));
+ active_time = igt_pm_get_runtime_active_time(device.pci_xe);
+
bo_size = ALIGN(bo_size, xe_get_default_alignment(device.fd_xe));
bo = xe_bo_create(device.fd_xe, 0, bo_size, placement, flags);
@@ -575,7 +547,8 @@ static void test_mmap(device_t device, uint32_t placement, uint32_t flags)
fw_handle = igt_debugfs_open(device.fd_xe, "forcewake_all", O_RDONLY);
igt_assert(fw_handle >= 0);
- igt_assert(igt_get_runtime_pm_status() == IGT_RUNTIME_PM_STATUS_ACTIVE);
+ igt_assert(igt_pm_get_runtime_active_time(device.pci_xe) >
+ active_time);
for (i = 0; i < bo_size / sizeof(*map); i++)
map[i] = MAGIC_1;
@@ -585,22 +558,28 @@ static void test_mmap(device_t device, uint32_t placement, uint32_t flags)
/* Runtime suspend and validate the pattern and changed the pattern */
close(fw_handle);
+ sleep(1);
+
igt_assert(igt_wait_for_pm_status(IGT_RUNTIME_PM_STATUS_SUSPENDED));
+ active_time = igt_pm_get_runtime_active_time(device.pci_xe);
for (i = 0; i < bo_size / sizeof(*map); i++)
igt_assert(map[i] == MAGIC_1);
/* dgfx page-fault on mmaping should wake the gpu */
if (xe_has_vram(device.fd_xe) && flags & DRM_XE_GEM_CREATE_FLAG_NEEDS_VISIBLE_VRAM)
- igt_assert(igt_get_runtime_pm_status() == IGT_RUNTIME_PM_STATUS_ACTIVE);
+ igt_assert(igt_pm_get_runtime_active_time(device.pci_xe) >
+ active_time);
igt_assert(igt_wait_for_pm_status(IGT_RUNTIME_PM_STATUS_SUSPENDED));
+ active_time = igt_pm_get_runtime_active_time(device.pci_xe);
for (i = 0; i < bo_size / sizeof(*map); i++)
map[i] = MAGIC_2;
if (xe_has_vram(device.fd_xe) && flags & DRM_XE_GEM_CREATE_FLAG_NEEDS_VISIBLE_VRAM)
- igt_assert(igt_get_runtime_pm_status() == IGT_RUNTIME_PM_STATUS_ACTIVE);
+ igt_assert(igt_pm_get_runtime_active_time(device.pci_xe) >
+ active_time);
igt_assert(igt_wait_for_pm_status(IGT_RUNTIME_PM_STATUS_SUSPENDED));
--
2.44.0
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH i-g-t 2/4] tests/intel/xe_pm: Also disable display for mmap_system test
2024-05-10 12:22 [PATCH i-g-t 1/4] tests/intel/xe_pm: Update runtime pm conditions Rodrigo Vivi
@ 2024-05-10 12:22 ` Rodrigo Vivi
2024-05-10 12:22 ` [PATCH i-g-t 3/4] tests/intel/xe_pm: Only check the rpm resume after the first mmap operation Rodrigo Vivi
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Rodrigo Vivi @ 2024-05-10 12:22 UTC (permalink / raw)
To: igt-dev; +Cc: intel-xe, Rodrigo Vivi, Francois Dugast
If display is enabled, the always-on components will always
keeps runtime pm references, unless you put DPMS_OFF.
Cc: Francois Dugast <francois.dugast@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
---
tests/intel/xe_pm.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/intel/xe_pm.c b/tests/intel/xe_pm.c
index 3f963bd9b..72d484163 100644
--- a/tests/intel/xe_pm.c
+++ b/tests/intel/xe_pm.c
@@ -780,7 +780,9 @@ igt_main
igt_describe("Validate mmap memory mappings with system region,"
"when device along with parent bridge in d3");
igt_subtest("d3-mmap-system") {
+ dpms_on_off(device, DRM_MODE_DPMS_OFF);
test_mmap(device, system_memory(device.fd_xe), 0);
+ dpms_on_off(device, DRM_MODE_DPMS_ON);
}
igt_describe("Validate mmap memory mappings with vram region,"
--
2.44.0
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH i-g-t 3/4] tests/intel/xe_pm: Only check the rpm resume after the first mmap operation
2024-05-10 12:22 [PATCH i-g-t 1/4] tests/intel/xe_pm: Update runtime pm conditions Rodrigo Vivi
2024-05-10 12:22 ` [PATCH i-g-t 2/4] tests/intel/xe_pm: Also disable display for mmap_system test Rodrigo Vivi
@ 2024-05-10 12:22 ` Rodrigo Vivi
2024-05-10 12:22 ` [PATCH i-g-t 4/4] tests/intel/xe_pm: Convert mmap tests to use existing d3 helpers Rodrigo Vivi
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Rodrigo Vivi @ 2024-05-10 12:22 UTC (permalink / raw)
To: igt-dev; +Cc: intel-xe, Rodrigo Vivi
The very first memory operation on a mmaped region after runtime suspend,
the device will be resumed if the memory used is vram.
However, after this first operation with page fault, the memory
can be migrated to the system memory.
During this migration, Xe kernel will get a notification at
xe_bo_move_notify, and the bo will be removed from the
vram_userfault list. Then, on the next suspend, we won't mark
bo for page fault and resume won't happen and the active count
won't increase. This is okay, since the bo is now in the system
memory we don't need to wake up the device. But the current
test is wrong, because it assumes that the bo keeps forever
in vram, what is the issue here.
Only checking the resume after the first operation is the
enough. But also, ensure that both read and write operations
are actually validated.
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
---
tests/intel/xe_pm.c | 36 +++++++++++++++++++++++++-----------
1 file changed, 25 insertions(+), 11 deletions(-)
diff --git a/tests/intel/xe_pm.c b/tests/intel/xe_pm.c
index 72d484163..81226a910 100644
--- a/tests/intel/xe_pm.c
+++ b/tests/intel/xe_pm.c
@@ -37,6 +37,11 @@
#define PREFETCH (0x1 << 1)
#define UNBIND_ALL (0x1 << 2)
+enum mem_op {
+ READ,
+ WRITE,
+};
+
typedef struct {
int fd_xe;
struct pci_device *pci_xe;
@@ -525,7 +530,8 @@ static void test_vram_d3cold_threshold(device_t device, int sysfs_fd)
*
* Functionality: pm-d3
*/
-static void test_mmap(device_t device, uint32_t placement, uint32_t flags)
+static void test_mmap(device_t device, uint32_t placement, uint32_t flags,
+ enum mem_op first_op)
{
size_t bo_size = 8192;
uint32_t *map = NULL;
@@ -563,8 +569,12 @@ static void test_mmap(device_t device, uint32_t placement, uint32_t flags)
igt_assert(igt_wait_for_pm_status(IGT_RUNTIME_PM_STATUS_SUSPENDED));
active_time = igt_pm_get_runtime_active_time(device.pci_xe);
- for (i = 0; i < bo_size / sizeof(*map); i++)
- igt_assert(map[i] == MAGIC_1);
+ for (i = 0; i < bo_size / sizeof(*map); i++) {
+ if (first_op == READ)
+ igt_assert(map[i] == MAGIC_1);
+ else
+ map[i] = MAGIC_2;
+ }
/* dgfx page-fault on mmaping should wake the gpu */
if (xe_has_vram(device.fd_xe) && flags & DRM_XE_GEM_CREATE_FLAG_NEEDS_VISIBLE_VRAM)
@@ -574,12 +584,12 @@ static void test_mmap(device_t device, uint32_t placement, uint32_t flags)
igt_assert(igt_wait_for_pm_status(IGT_RUNTIME_PM_STATUS_SUSPENDED));
active_time = igt_pm_get_runtime_active_time(device.pci_xe);
- for (i = 0; i < bo_size / sizeof(*map); i++)
- map[i] = MAGIC_2;
-
- if (xe_has_vram(device.fd_xe) && flags & DRM_XE_GEM_CREATE_FLAG_NEEDS_VISIBLE_VRAM)
- igt_assert(igt_pm_get_runtime_active_time(device.pci_xe) >
- active_time);
+ for (i = 0; i < bo_size / sizeof(*map); i++) {
+ if (first_op == READ)
+ map[i] = MAGIC_2;
+ else
+ igt_assert(map[i] == MAGIC_2);
+ }
igt_assert(igt_wait_for_pm_status(IGT_RUNTIME_PM_STATUS_SUSPENDED));
@@ -781,7 +791,8 @@ igt_main
"when device along with parent bridge in d3");
igt_subtest("d3-mmap-system") {
dpms_on_off(device, DRM_MODE_DPMS_OFF);
- test_mmap(device, system_memory(device.fd_xe), 0);
+ test_mmap(device, system_memory(device.fd_xe), 0, READ);
+ test_mmap(device, system_memory(device.fd_xe), 0, WRITE);
dpms_on_off(device, DRM_MODE_DPMS_ON);
}
@@ -800,7 +811,10 @@ igt_main
/* Give some auto suspend delay to validate rpm active during page fault */
igt_pm_set_autosuspend_delay(device.pci_xe, 1000);
dpms_on_off(device, DRM_MODE_DPMS_OFF);
- test_mmap(device, vram_memory(device.fd_xe, 0), DRM_XE_GEM_CREATE_FLAG_NEEDS_VISIBLE_VRAM);
+ test_mmap(device, vram_memory(device.fd_xe, 0),
+ DRM_XE_GEM_CREATE_FLAG_NEEDS_VISIBLE_VRAM, READ);
+ test_mmap(device, vram_memory(device.fd_xe, 0),
+ DRM_XE_GEM_CREATE_FLAG_NEEDS_VISIBLE_VRAM, WRITE);
dpms_on_off(device, DRM_MODE_DPMS_ON);
igt_pm_set_autosuspend_delay(device.pci_xe, delay_ms);
}
--
2.44.0
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH i-g-t 4/4] tests/intel/xe_pm: Convert mmap tests to use existing d3 helpers
2024-05-10 12:22 [PATCH i-g-t 1/4] tests/intel/xe_pm: Update runtime pm conditions Rodrigo Vivi
2024-05-10 12:22 ` [PATCH i-g-t 2/4] tests/intel/xe_pm: Also disable display for mmap_system test Rodrigo Vivi
2024-05-10 12:22 ` [PATCH i-g-t 3/4] tests/intel/xe_pm: Only check the rpm resume after the first mmap operation Rodrigo Vivi
@ 2024-05-10 12:22 ` Rodrigo Vivi
2024-05-10 14:07 ` ✓ CI.xeBAT: success for series starting with [i-g-t,1/4] tests/intel/xe_pm: Update runtime pm conditions Patchwork
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Rodrigo Vivi @ 2024-05-10 12:22 UTC (permalink / raw)
To: igt-dev; +Cc: intel-xe, Rodrigo Vivi
Standardize d3 setup and ensure that it tests with D3cold and
D3hot.
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
---
tests/intel/xe_pm.c | 80 ++++++++++++++++++++++++---------------------
1 file changed, 42 insertions(+), 38 deletions(-)
diff --git a/tests/intel/xe_pm.c b/tests/intel/xe_pm.c
index 81226a910..4aeddaea8 100644
--- a/tests/intel/xe_pm.c
+++ b/tests/intel/xe_pm.c
@@ -519,19 +519,25 @@ static void test_vram_d3cold_threshold(device_t device, int sysfs_fd)
}
/**
- * SUBTEST: d3-mmap-%s
+ * SUBTEST: %s-mmap-%s
* Description:
* Validate mmap memory mapping with d3 state, for %arg[1] region,
* if supported by device.
+ *
* arg[1]:
*
+ * @d3hot: d3hot
+ * @d3cold: d3cold
+ *
+ * arg[2]:
+ *
* @vram: vram region
* @system: system region
*
* Functionality: pm-d3
*/
static void test_mmap(device_t device, uint32_t placement, uint32_t flags,
- enum mem_op first_op)
+ enum mem_op first_op, enum igt_acpi_d_state d_state)
{
size_t bo_size = 8192;
uint32_t *map = NULL;
@@ -540,7 +546,7 @@ static void test_mmap(device_t device, uint32_t placement, uint32_t flags,
igt_require_f(placement, "Device doesn't support such memory region\n");
- igt_assert(igt_wait_for_pm_status(IGT_RUNTIME_PM_STATUS_SUSPENDED));
+ igt_assert(in_d3(device, d_state));
active_time = igt_pm_get_runtime_active_time(device.pci_xe);
bo_size = ALIGN(bo_size, xe_get_default_alignment(device.fd_xe));
@@ -566,7 +572,7 @@ static void test_mmap(device_t device, uint32_t placement, uint32_t flags,
close(fw_handle);
sleep(1);
- igt_assert(igt_wait_for_pm_status(IGT_RUNTIME_PM_STATUS_SUSPENDED));
+ igt_assert(in_d3(device, d_state));
active_time = igt_pm_get_runtime_active_time(device.pci_xe);
for (i = 0; i < bo_size / sizeof(*map); i++) {
@@ -581,7 +587,7 @@ static void test_mmap(device_t device, uint32_t placement, uint32_t flags,
igt_assert(igt_pm_get_runtime_active_time(device.pci_xe) >
active_time);
- igt_assert(igt_wait_for_pm_status(IGT_RUNTIME_PM_STATUS_SUSPENDED));
+ igt_assert(in_d3(device, d_state));
active_time = igt_pm_get_runtime_active_time(device.pci_xe);
for (i = 0; i < bo_size / sizeof(*map); i++) {
@@ -591,7 +597,7 @@ static void test_mmap(device_t device, uint32_t placement, uint32_t flags,
igt_assert(map[i] == MAGIC_2);
}
- igt_assert(igt_wait_for_pm_status(IGT_RUNTIME_PM_STATUS_SUSPENDED));
+ igt_assert(in_d3(device, d_state));
/* Runtime resume and check the pattern */
fw_handle = igt_debugfs_open(device.fd_xe, "forcewake_all", O_RDONLY);
@@ -772,6 +778,36 @@ igt_main
NO_SUSPEND, d->state, 0);
cleanup_d3(device);
}
+
+ igt_describe_f("Validate mmap memory mappings with system region,"
+ "when device along with parent bridge in %s", d->name);
+ igt_subtest_f("%s-mmap-system", d->name) {
+ igt_assert(setup_d3(device, d->state));
+ test_mmap(device, system_memory(device.fd_xe), 0,
+ READ, d->state);
+ test_mmap(device, system_memory(device.fd_xe), 0,
+ WRITE, d->state);
+ cleanup_d3(device);
+ }
+
+ igt_describe_f("Validate mmap memory mappings with vram region,"
+ "when device along with parent bridge in %s", d->name);
+ igt_subtest_f("%s-mmap-vram", d->name) {
+ int delay_ms = igt_pm_get_autosuspend_delay(device.pci_xe);
+
+ /* Give some auto suspend delay to validate rpm active during page fault */
+ igt_pm_set_autosuspend_delay(device.pci_xe, 1000);
+ igt_assert(setup_d3(device, d->state));
+ test_mmap(device, vram_memory(device.fd_xe, 0),
+ DRM_XE_GEM_CREATE_FLAG_NEEDS_VISIBLE_VRAM,
+ READ, d->state);
+ test_mmap(device, vram_memory(device.fd_xe, 0),
+ DRM_XE_GEM_CREATE_FLAG_NEEDS_VISIBLE_VRAM,
+ WRITE, d->state);
+ cleanup_d3(device);
+
+ igt_pm_set_autosuspend_delay(device.pci_xe, delay_ms);
+ }
}
igt_subtest_group {
@@ -787,38 +823,6 @@ igt_main
test_vram_d3cold_threshold(device, sysfs_fd);
}
- igt_describe("Validate mmap memory mappings with system region,"
- "when device along with parent bridge in d3");
- igt_subtest("d3-mmap-system") {
- dpms_on_off(device, DRM_MODE_DPMS_OFF);
- test_mmap(device, system_memory(device.fd_xe), 0, READ);
- test_mmap(device, system_memory(device.fd_xe), 0, WRITE);
- dpms_on_off(device, DRM_MODE_DPMS_ON);
- }
-
- igt_describe("Validate mmap memory mappings with vram region,"
- "when device along with parent bridge in d3");
- igt_subtest("d3-mmap-vram") {
- int delay_ms;
-
- if (device.pci_root != device.pci_xe) {
- igt_pm_enable_pci_card_runtime_pm(device.pci_root, NULL);
- igt_pm_set_d3cold_allowed(device.pci_slot_name, 1);
- }
-
- delay_ms = igt_pm_get_autosuspend_delay(device.pci_xe);
-
- /* Give some auto suspend delay to validate rpm active during page fault */
- igt_pm_set_autosuspend_delay(device.pci_xe, 1000);
- dpms_on_off(device, DRM_MODE_DPMS_OFF);
- test_mmap(device, vram_memory(device.fd_xe, 0),
- DRM_XE_GEM_CREATE_FLAG_NEEDS_VISIBLE_VRAM, READ);
- test_mmap(device, vram_memory(device.fd_xe, 0),
- DRM_XE_GEM_CREATE_FLAG_NEEDS_VISIBLE_VRAM, WRITE);
- dpms_on_off(device, DRM_MODE_DPMS_ON);
- igt_pm_set_autosuspend_delay(device.pci_xe, delay_ms);
- }
-
igt_subtest("mocs_suspend_resume")
test_mocs_suspend_resume(device, 1, 0);
}
--
2.44.0
^ permalink raw reply related [flat|nested] 8+ messages in thread
* ✓ CI.xeBAT: success for series starting with [i-g-t,1/4] tests/intel/xe_pm: Update runtime pm conditions
2024-05-10 12:22 [PATCH i-g-t 1/4] tests/intel/xe_pm: Update runtime pm conditions Rodrigo Vivi
` (2 preceding siblings ...)
2024-05-10 12:22 ` [PATCH i-g-t 4/4] tests/intel/xe_pm: Convert mmap tests to use existing d3 helpers Rodrigo Vivi
@ 2024-05-10 14:07 ` Patchwork
2024-05-10 14:16 ` ✗ Fi.CI.BAT: failure " Patchwork
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Patchwork @ 2024-05-10 14:07 UTC (permalink / raw)
To: Rodrigo Vivi; +Cc: igt-dev
[-- Attachment #1: Type: text/plain, Size: 1104 bytes --]
== Series Details ==
Series: series starting with [i-g-t,1/4] tests/intel/xe_pm: Update runtime pm conditions
URL : https://patchwork.freedesktop.org/series/133448/
State : success
== Summary ==
CI Bug Log - changes from XEIGT_7846_BAT -> XEIGTPW_11127_BAT
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Participating hosts (5 -> 5)
------------------------------
No changes in participating hosts
Changes
-------
No changes found
Build changes
-------------
* IGT: IGT_7846 -> IGTPW_11127
* Linux: xe-1263-92f877dd46245e4a44b6d24b5e303b8c03c40c75 -> xe-1273-b885b00e7fc01fc109887d59ce2d1283714b07c6
IGTPW_11127: 11127
IGT_7846: 4a5fd4e7cb2798636f6464e2bd61399f3242b322 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
xe-1263-92f877dd46245e4a44b6d24b5e303b8c03c40c75: 92f877dd46245e4a44b6d24b5e303b8c03c40c75
xe-1273-b885b00e7fc01fc109887d59ce2d1283714b07c6: b885b00e7fc01fc109887d59ce2d1283714b07c6
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11127/index.html
[-- Attachment #2: Type: text/html, Size: 1663 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* ✗ Fi.CI.BAT: failure for series starting with [i-g-t,1/4] tests/intel/xe_pm: Update runtime pm conditions
2024-05-10 12:22 [PATCH i-g-t 1/4] tests/intel/xe_pm: Update runtime pm conditions Rodrigo Vivi
` (3 preceding siblings ...)
2024-05-10 14:07 ` ✓ CI.xeBAT: success for series starting with [i-g-t,1/4] tests/intel/xe_pm: Update runtime pm conditions Patchwork
@ 2024-05-10 14:16 ` Patchwork
2024-05-10 15:25 ` ✗ CI.xeFULL: " Patchwork
2024-05-10 16:02 ` [PATCH i-g-t 1/4] " Kamil Konieczny
6 siblings, 0 replies; 8+ messages in thread
From: Patchwork @ 2024-05-10 14:16 UTC (permalink / raw)
To: Rodrigo Vivi; +Cc: igt-dev
[-- Attachment #1: Type: text/plain, Size: 8826 bytes --]
== Series Details ==
Series: series starting with [i-g-t,1/4] tests/intel/xe_pm: Update runtime pm conditions
URL : https://patchwork.freedesktop.org/series/133448/
State : failure
== Summary ==
CI Bug Log - changes from CI_DRM_14747 -> IGTPW_11127
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with IGTPW_11127 absolutely need to be
verified manually.
If you think the reported changes have nothing to do with the changes
introduced in IGTPW_11127, please notify your bug team ('I915-ci-infra@lists.freedesktop.org') 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_11127/index.html
Participating hosts (42 -> 41)
------------------------------
Additional (2): fi-glk-j4005 bat-mtlp-8
Missing (3): fi-cfl-8109u bat-jsl-1 fi-snb-2520m
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in IGTPW_11127:
### IGT changes ###
#### Possible regressions ####
* igt@gem_exec_store@basic:
- bat-dg2-9: [PASS][1] -> [TIMEOUT][2] +3 other tests timeout
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14747/bat-dg2-9/igt@gem_exec_store@basic.html
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11127/bat-dg2-9/igt@gem_exec_store@basic.html
Known issues
------------
Here are the changes found in IGTPW_11127 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@debugfs_test@basic-hwmon:
- bat-mtlp-8: NOTRUN -> [SKIP][3] ([i915#9318])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11127/bat-mtlp-8/igt@debugfs_test@basic-hwmon.html
* igt@gem_huc_copy@huc-copy:
- fi-glk-j4005: NOTRUN -> [SKIP][4] ([i915#2190])
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11127/fi-glk-j4005/igt@gem_huc_copy@huc-copy.html
* igt@gem_lmem_swapping@basic:
- fi-glk-j4005: NOTRUN -> [SKIP][5] ([i915#4613]) +3 other tests skip
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11127/fi-glk-j4005/igt@gem_lmem_swapping@basic.html
* igt@gem_lmem_swapping@verify-random:
- bat-mtlp-8: NOTRUN -> [SKIP][6] ([i915#4613]) +3 other tests skip
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11127/bat-mtlp-8/igt@gem_lmem_swapping@verify-random.html
* igt@gem_mmap@basic:
- bat-mtlp-8: NOTRUN -> [SKIP][7] ([i915#4083])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11127/bat-mtlp-8/igt@gem_mmap@basic.html
* igt@gem_mmap_gtt@basic:
- bat-mtlp-8: NOTRUN -> [SKIP][8] ([i915#4077]) +2 other tests skip
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11127/bat-mtlp-8/igt@gem_mmap_gtt@basic.html
* igt@gem_render_tiled_blits@basic:
- bat-mtlp-8: NOTRUN -> [SKIP][9] ([i915#4079]) +1 other test skip
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11127/bat-mtlp-8/igt@gem_render_tiled_blits@basic.html
* igt@i915_pm_rps@basic-api:
- bat-mtlp-8: NOTRUN -> [SKIP][10] ([i915#6621])
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11127/bat-mtlp-8/igt@i915_pm_rps@basic-api.html
* igt@i915_selftest@live@hangcheck:
- bat-mtlp-6: [PASS][11] -> [DMESG-WARN][12] ([i915#9522])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14747/bat-mtlp-6/igt@i915_selftest@live@hangcheck.html
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11127/bat-mtlp-6/igt@i915_selftest@live@hangcheck.html
* igt@kms_addfb_basic@addfb25-y-tiled-small-legacy:
- bat-mtlp-8: NOTRUN -> [SKIP][13] ([i915#5190])
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11127/bat-mtlp-8/igt@kms_addfb_basic@addfb25-y-tiled-small-legacy.html
* igt@kms_addfb_basic@basic-y-tiled-legacy:
- bat-mtlp-8: NOTRUN -> [SKIP][14] ([i915#4212]) +8 other tests skip
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11127/bat-mtlp-8/igt@kms_addfb_basic@basic-y-tiled-legacy.html
* igt@kms_cursor_legacy@basic-busy-flip-before-cursor-atomic:
- fi-glk-j4005: NOTRUN -> [SKIP][15] +10 other tests skip
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11127/fi-glk-j4005/igt@kms_cursor_legacy@basic-busy-flip-before-cursor-atomic.html
* igt@kms_cursor_legacy@basic-busy-flip-before-cursor-legacy:
- bat-mtlp-8: NOTRUN -> [SKIP][16] ([i915#4213]) +1 other test skip
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11127/bat-mtlp-8/igt@kms_cursor_legacy@basic-busy-flip-before-cursor-legacy.html
* igt@kms_dsc@dsc-basic:
- bat-mtlp-8: NOTRUN -> [SKIP][17] ([i915#3555] / [i915#3840] / [i915#9159])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11127/bat-mtlp-8/igt@kms_dsc@dsc-basic.html
* igt@kms_force_connector_basic@force-load-detect:
- bat-mtlp-8: NOTRUN -> [SKIP][18]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11127/bat-mtlp-8/igt@kms_force_connector_basic@force-load-detect.html
* igt@kms_force_connector_basic@prune-stale-modes:
- bat-mtlp-8: NOTRUN -> [SKIP][19] ([i915#5274])
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11127/bat-mtlp-8/igt@kms_force_connector_basic@prune-stale-modes.html
* igt@kms_psr@psr-primary-mmap-gtt@edp-1:
- bat-mtlp-8: NOTRUN -> [SKIP][20] ([i915#4077] / [i915#9688])
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11127/bat-mtlp-8/igt@kms_psr@psr-primary-mmap-gtt@edp-1.html
* igt@kms_setmode@basic-clone-single-crtc:
- bat-mtlp-8: NOTRUN -> [SKIP][21] ([i915#3555] / [i915#8809])
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11127/bat-mtlp-8/igt@kms_setmode@basic-clone-single-crtc.html
* igt@prime_vgem@basic-fence-mmap:
- bat-mtlp-8: NOTRUN -> [SKIP][22] ([i915#3708] / [i915#4077]) +1 other test skip
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11127/bat-mtlp-8/igt@prime_vgem@basic-fence-mmap.html
* igt@prime_vgem@basic-fence-read:
- bat-mtlp-8: NOTRUN -> [SKIP][23] ([i915#3708]) +1 other test skip
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11127/bat-mtlp-8/igt@prime_vgem@basic-fence-read.html
* igt@prime_vgem@basic-write:
- bat-mtlp-8: NOTRUN -> [SKIP][24] ([i915#10216] / [i915#3708])
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11127/bat-mtlp-8/igt@prime_vgem@basic-write.html
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[i915#10216]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/10216
[i915#10435]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/10435
[i915#10436]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/10436
[i915#10911]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/10911
[i915#2190]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/2190
[i915#3555]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/3555
[i915#3708]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/3708
[i915#3840]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/3840
[i915#4077]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/4077
[i915#4079]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/4079
[i915#4083]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/4083
[i915#4212]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/4212
[i915#4213]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/4213
[i915#4613]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/4613
[i915#5190]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/5190
[i915#5274]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/5274
[i915#6121]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/6121
[i915#6621]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/6621
[i915#8809]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/8809
[i915#9159]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/9159
[i915#9318]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/9318
[i915#9522]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/9522
[i915#9688]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/9688
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_7846 -> IGTPW_11127
CI-20190529: 20190529
CI_DRM_14747: b885b00e7fc01fc109887d59ce2d1283714b07c6 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_11127: 11127
IGT_7846: 4a5fd4e7cb2798636f6464e2bd61399f3242b322 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11127/index.html
[-- Attachment #2: Type: text/html, Size: 10142 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* ✗ CI.xeFULL: failure for series starting with [i-g-t,1/4] tests/intel/xe_pm: Update runtime pm conditions
2024-05-10 12:22 [PATCH i-g-t 1/4] tests/intel/xe_pm: Update runtime pm conditions Rodrigo Vivi
` (4 preceding siblings ...)
2024-05-10 14:16 ` ✗ Fi.CI.BAT: failure " Patchwork
@ 2024-05-10 15:25 ` Patchwork
2024-05-10 16:02 ` [PATCH i-g-t 1/4] " Kamil Konieczny
6 siblings, 0 replies; 8+ messages in thread
From: Patchwork @ 2024-05-10 15:25 UTC (permalink / raw)
To: Rodrigo Vivi; +Cc: igt-dev
[-- Attachment #1: Type: text/plain, Size: 33040 bytes --]
== Series Details ==
Series: series starting with [i-g-t,1/4] tests/intel/xe_pm: Update runtime pm conditions
URL : https://patchwork.freedesktop.org/series/133448/
State : failure
== Summary ==
CI Bug Log - changes from XEIGT_7846_full -> XEIGTPW_11127_full
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with XEIGTPW_11127_full absolutely need to be
verified manually.
If you think the reported changes have nothing to do with the changes
introduced in XEIGTPW_11127_full, please notify your bug team (I915-ci-infra@lists.freedesktop.org) to allow them
to document this new failure mode, which will reduce false positives in CI.
Participating hosts (3 -> 1)
------------------------------
ERROR: It appears as if the changes made in XEIGTPW_11127_full prevented too many machines from booting.
Missing (2): shard-adlp shard-lnl
New tests
---------
New tests have been introduced between XEIGT_7846_full and XEIGTPW_11127_full:
### New IGT tests (4) ###
* igt@xe_pm@d3cold-mmap-system:
- Statuses : 1 skip(s)
- Exec time: [0.24] s
* igt@xe_pm@d3cold-mmap-vram:
- Statuses : 1 skip(s)
- Exec time: [1.41] s
* igt@xe_pm@d3hot-mmap-system:
- Statuses : 1 pass(s)
- Exec time: [2.94] s
* igt@xe_pm@d3hot-mmap-vram:
- Statuses : 1 pass(s)
- Exec time: [12.09] s
Known issues
------------
Here are the changes found in XEIGTPW_11127_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@kms_addfb_basic@bad-pitch-999:
- shard-dg2-set2: [PASS][1] -> [SKIP][2] ([Intel XE#1201] / [i915#6077]) +1 other test skip
[1]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7846/shard-dg2-436/igt@kms_addfb_basic@bad-pitch-999.html
[2]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11127/shard-dg2-435/igt@kms_addfb_basic@bad-pitch-999.html
* igt@kms_big_fb@yf-tiled-64bpp-rotate-0:
- shard-dg2-set2: NOTRUN -> [SKIP][3] ([Intel XE#1124] / [Intel XE#1201])
[3]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11127/shard-dg2-434/igt@kms_big_fb@yf-tiled-64bpp-rotate-0.html
* igt@kms_bw@linear-tiling-4-displays-2160x1440p:
- shard-dg2-set2: NOTRUN -> [SKIP][4] ([Intel XE#1201] / [Intel XE#367]) +1 other test skip
[4]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11127/shard-dg2-435/igt@kms_bw@linear-tiling-4-displays-2160x1440p.html
* igt@kms_ccs@crc-primary-rotation-180-4-tiled-dg2-mc-ccs@pipe-a-hdmi-a-6:
- shard-dg2-set2: NOTRUN -> [FAIL][5] ([Intel XE#650]) +7 other tests fail
[5]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11127/shard-dg2-436/igt@kms_ccs@crc-primary-rotation-180-4-tiled-dg2-mc-ccs@pipe-a-hdmi-a-6.html
* igt@kms_ccs@crc-sprite-planes-basic-4-tiled-dg2-rc-ccs-cc@pipe-a-hdmi-a-7:
- shard-dg2-set2: NOTRUN -> [FAIL][6] ([Intel XE#616]) +4 other tests fail
[6]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11127/shard-dg2-464/igt@kms_ccs@crc-sprite-planes-basic-4-tiled-dg2-rc-ccs-cc@pipe-a-hdmi-a-7.html
* igt@kms_ccs@crc-sprite-planes-basic-yf-tiled-ccs@pipe-a-hdmi-a-7:
- shard-dg2-set2: NOTRUN -> [SKIP][7] ([Intel XE#1201] / [Intel XE#787]) +59 other tests skip
[7]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11127/shard-dg2-464/igt@kms_ccs@crc-sprite-planes-basic-yf-tiled-ccs@pipe-a-hdmi-a-7.html
* igt@kms_ccs@random-ccs-data-4-tiled-mtl-rc-ccs-cc@pipe-d-hdmi-a-7:
- shard-dg2-set2: NOTRUN -> [SKIP][8] ([Intel XE#1201] / [Intel XE#455] / [Intel XE#787]) +17 other tests skip
[8]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11127/shard-dg2-464/igt@kms_ccs@random-ccs-data-4-tiled-mtl-rc-ccs-cc@pipe-d-hdmi-a-7.html
* igt@kms_ccs@random-ccs-data-4-tiled-xe2-ccs:
- shard-dg2-set2: NOTRUN -> [SKIP][9] ([Intel XE#1201] / [Intel XE#1252])
[9]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11127/shard-dg2-435/igt@kms_ccs@random-ccs-data-4-tiled-xe2-ccs.html
* igt@kms_content_protection@atomic@pipe-a-dp-4:
- shard-dg2-set2: NOTRUN -> [FAIL][10] ([Intel XE#1178])
[10]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11127/shard-dg2-466/igt@kms_content_protection@atomic@pipe-a-dp-4.html
* igt@kms_content_protection@uevent@pipe-a-dp-4:
- shard-dg2-set2: NOTRUN -> [FAIL][11] ([Intel XE#1188])
[11]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11127/shard-dg2-463/igt@kms_content_protection@uevent@pipe-a-dp-4.html
* igt@kms_cursor_crc@cursor-rapid-movement-512x170:
- shard-dg2-set2: NOTRUN -> [SKIP][12] ([Intel XE#1201] / [Intel XE#308])
[12]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11127/shard-dg2-434/igt@kms_cursor_crc@cursor-rapid-movement-512x170.html
* igt@kms_cursor_legacy@2x-cursor-vs-flip-legacy:
- shard-dg2-set2: [PASS][13] -> [DMESG-WARN][14] ([Intel XE#1214] / [Intel XE#282]) +6 other tests dmesg-warn
[13]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7846/shard-dg2-466/igt@kms_cursor_legacy@2x-cursor-vs-flip-legacy.html
[14]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11127/shard-dg2-435/igt@kms_cursor_legacy@2x-cursor-vs-flip-legacy.html
* igt@kms_cursor_legacy@forked-move@all-pipes:
- shard-dg2-set2: NOTRUN -> [DMESG-WARN][15] ([Intel XE#1214] / [Intel XE#282]) +1 other test dmesg-warn
[15]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11127/shard-dg2-435/igt@kms_cursor_legacy@forked-move@all-pipes.html
* igt@kms_dither@fb-8bpc-vs-panel-6bpc:
- shard-dg2-set2: [PASS][16] -> [SKIP][17] ([Intel XE#1201] / [Intel XE#455])
[16]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7846/shard-dg2-463/igt@kms_dither@fb-8bpc-vs-panel-6bpc.html
[17]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11127/shard-dg2-464/igt@kms_dither@fb-8bpc-vs-panel-6bpc.html
* igt@kms_dp_aux_dev:
- shard-dg2-set2: [PASS][18] -> [SKIP][19] ([Intel XE#1201]) +10 other tests skip
[18]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7846/shard-dg2-463/igt@kms_dp_aux_dev.html
[19]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11127/shard-dg2-464/igt@kms_dp_aux_dev.html
* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-blt:
- shard-dg2-set2: [PASS][20] -> [SKIP][21] ([Intel XE#1201] / [Intel XE#1235])
[20]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7846/shard-dg2-463/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-blt.html
[21]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11127/shard-dg2-435/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-blt.html
* igt@kms_frontbuffer_tracking@fbcdrrs-1p-primscrn-shrfb-msflip-blt:
- shard-dg2-set2: NOTRUN -> [SKIP][22] ([Intel XE#1201] / [Intel XE#651]) +3 other tests skip
[22]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11127/shard-dg2-433/igt@kms_frontbuffer_tracking@fbcdrrs-1p-primscrn-shrfb-msflip-blt.html
* igt@kms_frontbuffer_tracking@psr-2p-primscrn-shrfb-msflip-blt:
- shard-dg2-set2: NOTRUN -> [SKIP][23] ([Intel XE#1201] / [Intel XE#653]) +2 other tests skip
[23]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11127/shard-dg2-435/igt@kms_frontbuffer_tracking@psr-2p-primscrn-shrfb-msflip-blt.html
* igt@kms_pipe_crc_basic@suspend-read-crc@pipe-b-dp-4:
- shard-dg2-set2: NOTRUN -> [DMESG-WARN][24] ([Intel XE#1162] / [Intel XE#1214])
[24]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11127/shard-dg2-434/igt@kms_pipe_crc_basic@suspend-read-crc@pipe-b-dp-4.html
* igt@kms_plane@plane-panning-bottom-right-suspend@pipe-b:
- shard-dg2-set2: NOTRUN -> [DMESG-FAIL][25] ([Intel XE#1162]) +1 other test dmesg-fail
[25]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11127/shard-dg2-433/igt@kms_plane@plane-panning-bottom-right-suspend@pipe-b.html
* igt@kms_plane_alpha_blend@constant-alpha-min:
- shard-dg2-set2: [PASS][26] -> [SKIP][27] ([Intel XE#1201] / [Intel XE#829]) +3 other tests skip
[26]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7846/shard-dg2-435/igt@kms_plane_alpha_blend@constant-alpha-min.html
[27]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11127/shard-dg2-435/igt@kms_plane_alpha_blend@constant-alpha-min.html
* igt@kms_plane_scaling@planes-upscale-20x20-downscale-factor-0-25:
- shard-dg2-set2: NOTRUN -> [SKIP][28] ([Intel XE#1201] / [Intel XE#305] / [Intel XE#455])
[28]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11127/shard-dg2-436/igt@kms_plane_scaling@planes-upscale-20x20-downscale-factor-0-25.html
* igt@kms_plane_scaling@planes-upscale-20x20-downscale-factor-0-25@pipe-c-hdmi-a-6:
- shard-dg2-set2: NOTRUN -> [SKIP][29] ([Intel XE#1201] / [Intel XE#305]) +2 other tests skip
[29]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11127/shard-dg2-436/igt@kms_plane_scaling@planes-upscale-20x20-downscale-factor-0-25@pipe-c-hdmi-a-6.html
* igt@kms_plane_scaling@planes-upscale-20x20-downscale-factor-0-25@pipe-d-hdmi-a-6:
- shard-dg2-set2: NOTRUN -> [SKIP][30] ([Intel XE#1201] / [Intel XE#455]) +6 other tests skip
[30]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11127/shard-dg2-436/igt@kms_plane_scaling@planes-upscale-20x20-downscale-factor-0-25@pipe-d-hdmi-a-6.html
* igt@kms_psr2_sf@overlay-plane-update-sf-dmg-area:
- shard-dg2-set2: NOTRUN -> [SKIP][31] ([Intel XE#1201] / [Intel XE#929])
[31]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11127/shard-dg2-433/igt@kms_psr2_sf@overlay-plane-update-sf-dmg-area.html
* igt@kms_rmfb@close-fd@pipe-b-hdmi-a-7:
- shard-dg2-set2: NOTRUN -> [FAIL][32] ([Intel XE#294])
[32]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11127/shard-dg2-464/igt@kms_rmfb@close-fd@pipe-b-hdmi-a-7.html
* igt@kms_universal_plane@cursor-fb-leak:
- shard-dg2-set2: [PASS][33] -> [FAIL][34] ([Intel XE#771] / [Intel XE#899])
[33]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7846/shard-dg2-435/igt@kms_universal_plane@cursor-fb-leak.html
[34]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11127/shard-dg2-463/igt@kms_universal_plane@cursor-fb-leak.html
* igt@kms_universal_plane@cursor-fb-leak@pipe-c-hdmi-a-6:
- shard-dg2-set2: [PASS][35] -> [FAIL][36] ([Intel XE#899])
[35]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7846/shard-dg2-435/igt@kms_universal_plane@cursor-fb-leak@pipe-c-hdmi-a-6.html
[36]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11127/shard-dg2-463/igt@kms_universal_plane@cursor-fb-leak@pipe-c-hdmi-a-6.html
* igt@xe_evict@evict-beng-threads-large:
- shard-dg2-set2: [PASS][37] -> [TIMEOUT][38] ([Intel XE#1473])
[37]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7846/shard-dg2-464/igt@xe_evict@evict-beng-threads-large.html
[38]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11127/shard-dg2-433/igt@xe_evict@evict-beng-threads-large.html
* igt@xe_evict@evict-mixed-threads-large:
- shard-dg2-set2: [PASS][39] -> [TIMEOUT][40] ([Intel XE#1473] / [Intel XE#392])
[39]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7846/shard-dg2-464/igt@xe_evict@evict-mixed-threads-large.html
[40]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11127/shard-dg2-435/igt@xe_evict@evict-mixed-threads-large.html
* igt@xe_exec_fault_mode@once-bindexecqueue-userptr-invalidate-imm:
- shard-dg2-set2: NOTRUN -> [SKIP][41] ([Intel XE#1201] / [Intel XE#288])
[41]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11127/shard-dg2-463/igt@xe_exec_fault_mode@once-bindexecqueue-userptr-invalidate-imm.html
* {igt@xe_pm@d3cold-mmap-vram} (NEW):
- shard-dg2-set2: NOTRUN -> [SKIP][42] ([Intel XE#1201]) +2 other tests skip
[42]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11127/shard-dg2-464/igt@xe_pm@d3cold-mmap-vram.html
* igt@xe_pm@d3hot-multiple-execs:
- shard-dg2-set2: [PASS][43] -> [FAIL][44] ([Intel XE#355]) +1 other test fail
[43]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7846/shard-dg2-463/igt@xe_pm@d3hot-multiple-execs.html
[44]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11127/shard-dg2-463/igt@xe_pm@d3hot-multiple-execs.html
* igt@xe_pm@s3-basic-exec:
- shard-dg2-set2: [PASS][45] -> [DMESG-WARN][46] ([Intel XE#1162] / [Intel XE#1214]) +6 other tests dmesg-warn
[45]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7846/shard-dg2-464/igt@xe_pm@s3-basic-exec.html
[46]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11127/shard-dg2-433/igt@xe_pm@s3-basic-exec.html
* igt@xe_pm@s3-d3cold-basic-exec:
- shard-dg2-set2: NOTRUN -> [SKIP][47] ([Intel XE#1201] / [Intel XE#366])
[47]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11127/shard-dg2-463/igt@xe_pm@s3-d3cold-basic-exec.html
* igt@xe_query@multigpu-query-cs-cycles:
- shard-dg2-set2: NOTRUN -> [SKIP][48] ([Intel XE#1201] / [Intel XE#944])
[48]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11127/shard-dg2-463/igt@xe_query@multigpu-query-cs-cycles.html
#### Possible fixes ####
* igt@kms_cursor_legacy@2x-long-cursor-vs-flip-legacy:
- shard-dg2-set2: [DMESG-WARN][49] ([Intel XE#1214] / [Intel XE#282]) -> [PASS][50] +2 other tests pass
[49]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7846/shard-dg2-463/igt@kms_cursor_legacy@2x-long-cursor-vs-flip-legacy.html
[50]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11127/shard-dg2-464/igt@kms_cursor_legacy@2x-long-cursor-vs-flip-legacy.html
* igt@kms_hdmi_inject@inject-audio:
- shard-dg2-set2: [SKIP][51] ([Intel XE#1201] / [Intel XE#417]) -> [PASS][52]
[51]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7846/shard-dg2-434/igt@kms_hdmi_inject@inject-audio.html
[52]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11127/shard-dg2-435/igt@kms_hdmi_inject@inject-audio.html
* igt@kms_plane_scaling@intel-max-src-size@pipe-a-dp-4:
- shard-dg2-set2: [FAIL][53] ([Intel XE#361]) -> [PASS][54] +2 other tests pass
[53]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7846/shard-dg2-463/igt@kms_plane_scaling@intel-max-src-size@pipe-a-dp-4.html
[54]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11127/shard-dg2-434/igt@kms_plane_scaling@intel-max-src-size@pipe-a-dp-4.html
* igt@kms_pm_rpm@i2c:
- shard-dg2-set2: [FAIL][55] ([Intel XE#1787]) -> [PASS][56]
[55]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7846/shard-dg2-464/igt@kms_pm_rpm@i2c.html
[56]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11127/shard-dg2-435/igt@kms_pm_rpm@i2c.html
* igt@kms_universal_plane@disable-primary-vs-flip:
- shard-dg2-set2: [SKIP][57] ([Intel XE#1201] / [Intel XE#829]) -> [PASS][58]
[57]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7846/shard-dg2-436/igt@kms_universal_plane@disable-primary-vs-flip.html
[58]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11127/shard-dg2-436/igt@kms_universal_plane@disable-primary-vs-flip.html
* igt@xe_evict@evict-beng-cm-threads-large:
- shard-dg2-set2: [INCOMPLETE][59] ([Intel XE#1195] / [Intel XE#1473] / [Intel XE#392]) -> [PASS][60] +1 other test pass
[59]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7846/shard-dg2-466/igt@xe_evict@evict-beng-cm-threads-large.html
[60]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11127/shard-dg2-435/igt@xe_evict@evict-beng-cm-threads-large.html
* igt@xe_evict@evict-beng-mixed-many-threads-small:
- shard-dg2-set2: [TIMEOUT][61] ([Intel XE#1473] / [Intel XE#402]) -> [PASS][62]
[61]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7846/shard-dg2-466/igt@xe_evict@evict-beng-mixed-many-threads-small.html
[62]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11127/shard-dg2-466/igt@xe_evict@evict-beng-mixed-many-threads-small.html
* igt@xe_live_ktest@xe_mocs:
- shard-dg2-set2: [SKIP][63] ([Intel XE#1201]) -> [PASS][64] +4 other tests pass
[63]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7846/shard-dg2-464/igt@xe_live_ktest@xe_mocs.html
[64]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11127/shard-dg2-435/igt@xe_live_ktest@xe_mocs.html
* igt@xe_module_load@reload:
- shard-dg2-set2: [DMESG-WARN][65] ([Intel XE#1162] / [Intel XE#1214]) -> [PASS][66] +6 other tests pass
[65]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7846/shard-dg2-464/igt@xe_module_load@reload.html
[66]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11127/shard-dg2-436/igt@xe_module_load@reload.html
#### Warnings ####
* igt@kms_big_fb@y-tiled-max-hw-stride-32bpp-rotate-180:
- shard-dg2-set2: [SKIP][67] ([Intel XE#1124] / [Intel XE#1201]) -> [SKIP][68] ([Intel XE#1201] / [Intel XE#829]) +1 other test skip
[67]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7846/shard-dg2-463/igt@kms_big_fb@y-tiled-max-hw-stride-32bpp-rotate-180.html
[68]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11127/shard-dg2-435/igt@kms_big_fb@y-tiled-max-hw-stride-32bpp-rotate-180.html
* igt@kms_bw@linear-tiling-3-displays-1920x1080p:
- shard-dg2-set2: [SKIP][69] ([Intel XE#1201]) -> [SKIP][70] ([Intel XE#1201] / [Intel XE#367])
[69]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7846/shard-dg2-436/igt@kms_bw@linear-tiling-3-displays-1920x1080p.html
[70]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11127/shard-dg2-436/igt@kms_bw@linear-tiling-3-displays-1920x1080p.html
* igt@kms_ccs@bad-pixel-format-y-tiled-ccs:
- shard-dg2-set2: [SKIP][71] ([Intel XE#1201] / [Intel XE#455] / [Intel XE#787]) -> [SKIP][72] ([Intel XE#1201] / [Intel XE#829]) +2 other tests skip
[71]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7846/shard-dg2-464/igt@kms_ccs@bad-pixel-format-y-tiled-ccs.html
[72]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11127/shard-dg2-435/igt@kms_ccs@bad-pixel-format-y-tiled-ccs.html
* igt@kms_ccs@crc-primary-rotation-180-4-tiled-dg2-mc-ccs:
- shard-dg2-set2: [SKIP][73] ([Intel XE#1201] / [Intel XE#829]) -> [FAIL][74] ([Intel XE#650])
[73]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7846/shard-dg2-436/igt@kms_ccs@crc-primary-rotation-180-4-tiled-dg2-mc-ccs.html
[74]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11127/shard-dg2-436/igt@kms_ccs@crc-primary-rotation-180-4-tiled-dg2-mc-ccs.html
* igt@kms_ccs@crc-sprite-planes-basic-y-tiled-gen12-rc-ccs-cc:
- shard-dg2-set2: [SKIP][75] ([Intel XE#1201] / [Intel XE#829]) -> [SKIP][76] ([Intel XE#1201] / [Intel XE#455] / [Intel XE#787])
[75]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7846/shard-dg2-436/igt@kms_ccs@crc-sprite-planes-basic-y-tiled-gen12-rc-ccs-cc.html
[76]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11127/shard-dg2-463/igt@kms_ccs@crc-sprite-planes-basic-y-tiled-gen12-rc-ccs-cc.html
* igt@kms_chamelium_color@ctm-0-75:
- shard-dg2-set2: [SKIP][77] ([Intel XE#1201] / [Intel XE#306]) -> [SKIP][78] ([Intel XE#1201])
[77]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7846/shard-dg2-435/igt@kms_chamelium_color@ctm-0-75.html
[78]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11127/shard-dg2-435/igt@kms_chamelium_color@ctm-0-75.html
* igt@kms_chamelium_edid@dp-edid-stress-resolution-4k:
- shard-dg2-set2: [SKIP][79] ([Intel XE#1201] / [Intel XE#373]) -> [SKIP][80] ([Intel XE#1201]) +1 other test skip
[79]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7846/shard-dg2-433/igt@kms_chamelium_edid@dp-edid-stress-resolution-4k.html
[80]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11127/shard-dg2-435/igt@kms_chamelium_edid@dp-edid-stress-resolution-4k.html
* igt@kms_chamelium_hpd@dp-hpd-after-suspend:
- shard-dg2-set2: [SKIP][81] ([Intel XE#1201]) -> [SKIP][82] ([Intel XE#1201] / [Intel XE#373])
[81]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7846/shard-dg2-436/igt@kms_chamelium_hpd@dp-hpd-after-suspend.html
[82]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11127/shard-dg2-466/igt@kms_chamelium_hpd@dp-hpd-after-suspend.html
* igt@kms_content_protection@atomic:
- shard-dg2-set2: [SKIP][83] ([Intel XE#1201] / [Intel XE#455]) -> [FAIL][84] ([Intel XE#1178])
[83]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7846/shard-dg2-464/igt@kms_content_protection@atomic.html
[84]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11127/shard-dg2-466/igt@kms_content_protection@atomic.html
* igt@kms_content_protection@dp-mst-type-0:
- shard-dg2-set2: [SKIP][85] ([Intel XE#1201]) -> [SKIP][86] ([Intel XE#1201] / [Intel XE#307])
[85]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7846/shard-dg2-436/igt@kms_content_protection@dp-mst-type-0.html
[86]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11127/shard-dg2-463/igt@kms_content_protection@dp-mst-type-0.html
* igt@kms_content_protection@lic-type-0:
- shard-dg2-set2: [FAIL][87] ([Intel XE#1204]) -> [SKIP][88] ([Intel XE#1201] / [Intel XE#455])
[87]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7846/shard-dg2-435/igt@kms_content_protection@lic-type-0.html
[88]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11127/shard-dg2-464/igt@kms_content_protection@lic-type-0.html
* igt@kms_content_protection@type1:
- shard-dg2-set2: [SKIP][89] ([Intel XE#1201] / [Intel XE#455]) -> [SKIP][90] ([Intel XE#1201])
[89]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7846/shard-dg2-463/igt@kms_content_protection@type1.html
[90]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11127/shard-dg2-435/igt@kms_content_protection@type1.html
* igt@kms_content_protection@uevent:
- shard-dg2-set2: [SKIP][91] ([Intel XE#1201] / [Intel XE#455]) -> [FAIL][92] ([Intel XE#1188])
[91]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7846/shard-dg2-464/igt@kms_content_protection@uevent.html
[92]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11127/shard-dg2-463/igt@kms_content_protection@uevent.html
* igt@kms_cursor_legacy@cursorb-vs-flipb-varying-size:
- shard-dg2-set2: [DMESG-WARN][93] ([Intel XE#1214] / [Intel XE#282]) -> [SKIP][94] ([Intel XE#1201]) +2 other tests skip
[93]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7846/shard-dg2-434/igt@kms_cursor_legacy@cursorb-vs-flipb-varying-size.html
[94]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11127/shard-dg2-435/igt@kms_cursor_legacy@cursorb-vs-flipb-varying-size.html
* igt@kms_dither@fb-8bpc-vs-panel-6bpc@pipe-a-hdmi-a-6:
- shard-dg2-set2: [SKIP][95] ([Intel XE#1201] / [i915#3804]) -> [SKIP][96] ([Intel XE#1201] / [Intel XE#455] / [i915#3804])
[95]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7846/shard-dg2-463/igt@kms_dither@fb-8bpc-vs-panel-6bpc@pipe-a-hdmi-a-6.html
[96]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11127/shard-dg2-464/igt@kms_dither@fb-8bpc-vs-panel-6bpc@pipe-a-hdmi-a-6.html
* igt@kms_frontbuffer_tracking@drrs-1p-offscren-pri-shrfb-draw-render:
- shard-dg2-set2: [SKIP][97] ([Intel XE#1201]) -> [SKIP][98] ([Intel XE#1201] / [Intel XE#651]) +2 other tests skip
[97]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7846/shard-dg2-436/igt@kms_frontbuffer_tracking@drrs-1p-offscren-pri-shrfb-draw-render.html
[98]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11127/shard-dg2-434/igt@kms_frontbuffer_tracking@drrs-1p-offscren-pri-shrfb-draw-render.html
* igt@kms_frontbuffer_tracking@fbcdrrs-1p-primscrn-spr-indfb-onoff:
- shard-dg2-set2: [SKIP][99] ([Intel XE#1201] / [Intel XE#651]) -> [SKIP][100] ([Intel XE#1201]) +3 other tests skip
[99]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7846/shard-dg2-436/igt@kms_frontbuffer_tracking@fbcdrrs-1p-primscrn-spr-indfb-onoff.html
[100]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11127/shard-dg2-435/igt@kms_frontbuffer_tracking@fbcdrrs-1p-primscrn-spr-indfb-onoff.html
* igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-spr-indfb-fullscreen:
- shard-dg2-set2: [SKIP][101] ([Intel XE#1201] / [Intel XE#653]) -> [SKIP][102] ([Intel XE#1201] / [Intel XE#1234])
[101]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7846/shard-dg2-464/igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-spr-indfb-fullscreen.html
[102]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11127/shard-dg2-435/igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-spr-indfb-fullscreen.html
* igt@kms_frontbuffer_tracking@psr-1p-primscrn-shrfb-pgflip-blt:
- shard-dg2-set2: [SKIP][103] ([Intel XE#1201] / [Intel XE#653]) -> [SKIP][104] ([Intel XE#1201]) +3 other tests skip
[103]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7846/shard-dg2-434/igt@kms_frontbuffer_tracking@psr-1p-primscrn-shrfb-pgflip-blt.html
[104]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11127/shard-dg2-435/igt@kms_frontbuffer_tracking@psr-1p-primscrn-shrfb-pgflip-blt.html
* igt@kms_frontbuffer_tracking@psr-2p-scndscrn-spr-indfb-draw-blt:
- shard-dg2-set2: [SKIP][105] ([Intel XE#1201]) -> [SKIP][106] ([Intel XE#1201] / [Intel XE#653]) +1 other test skip
[105]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7846/shard-dg2-436/igt@kms_frontbuffer_tracking@psr-2p-scndscrn-spr-indfb-draw-blt.html
[106]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11127/shard-dg2-463/igt@kms_frontbuffer_tracking@psr-2p-scndscrn-spr-indfb-draw-blt.html
* igt@kms_plane_scaling@plane-downscale-factor-0-75-with-pixel-format:
- shard-dg2-set2: [INCOMPLETE][107] ([Intel XE#1195] / [Intel XE#904] / [Intel XE#909]) -> [TIMEOUT][108] ([Intel XE#380] / [Intel XE#904] / [Intel XE#909])
[107]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7846/shard-dg2-435/igt@kms_plane_scaling@plane-downscale-factor-0-75-with-pixel-format.html
[108]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11127/shard-dg2-433/igt@kms_plane_scaling@plane-downscale-factor-0-75-with-pixel-format.html
* igt@kms_plane_scaling@plane-downscale-factor-0-75-with-pixel-format@pipe-a-hdmi-a-6:
- shard-dg2-set2: [INCOMPLETE][109] ([Intel XE#1195] / [Intel XE#904] / [Intel XE#909]) -> [TIMEOUT][110] ([Intel XE#904] / [Intel XE#909])
[109]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7846/shard-dg2-435/igt@kms_plane_scaling@plane-downscale-factor-0-75-with-pixel-format@pipe-a-hdmi-a-6.html
[110]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11127/shard-dg2-433/igt@kms_plane_scaling@plane-downscale-factor-0-75-with-pixel-format@pipe-a-hdmi-a-6.html
* igt@kms_psr2_sf@cursor-plane-move-continuous-exceed-fully-sf:
- shard-dg2-set2: [SKIP][111] ([Intel XE#1201] / [Intel XE#929]) -> [SKIP][112] ([Intel XE#1201]) +3 other tests skip
[111]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7846/shard-dg2-434/igt@kms_psr2_sf@cursor-plane-move-continuous-exceed-fully-sf.html
[112]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11127/shard-dg2-435/igt@kms_psr2_sf@cursor-plane-move-continuous-exceed-fully-sf.html
* igt@kms_psr@fbc-psr2-cursor-plane-move:
- shard-dg2-set2: [SKIP][113] ([Intel XE#1201]) -> [SKIP][114] ([Intel XE#1201] / [Intel XE#929]) +2 other tests skip
[113]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7846/shard-dg2-436/igt@kms_psr@fbc-psr2-cursor-plane-move.html
[114]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11127/shard-dg2-434/igt@kms_psr@fbc-psr2-cursor-plane-move.html
* igt@kms_vrr@flip-basic:
- shard-dg2-set2: [SKIP][115] ([Intel XE#1201]) -> [SKIP][116] ([Intel XE#1201] / [Intel XE#455])
[115]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7846/shard-dg2-436/igt@kms_vrr@flip-basic.html
[116]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11127/shard-dg2-463/igt@kms_vrr@flip-basic.html
* igt@xe_evict@evict-beng-mixed-threads-large:
- shard-dg2-set2: [DMESG-FAIL][117] ([Intel XE#482]) -> [TIMEOUT][118] ([Intel XE#1473] / [Intel XE#392])
[117]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7846/shard-dg2-466/igt@xe_evict@evict-beng-mixed-threads-large.html
[118]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11127/shard-dg2-466/igt@xe_evict@evict-beng-mixed-threads-large.html
* igt@xe_evict@evict-mixed-many-threads-large:
- shard-dg2-set2: [INCOMPLETE][119] ([Intel XE#1195] / [Intel XE#1473] / [Intel XE#392]) -> [TIMEOUT][120] ([Intel XE#1041] / [Intel XE#1473] / [Intel XE#392])
[119]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7846/shard-dg2-466/igt@xe_evict@evict-mixed-many-threads-large.html
[120]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11127/shard-dg2-466/igt@xe_evict@evict-mixed-many-threads-large.html
* igt@xe_evict@evict-threads-large:
- shard-dg2-set2: [INCOMPLETE][121] ([Intel XE#1195] / [Intel XE#1473] / [Intel XE#392]) -> [TIMEOUT][122] ([Intel XE#1473] / [Intel XE#392])
[121]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7846/shard-dg2-466/igt@xe_evict@evict-threads-large.html
[122]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11127/shard-dg2-436/igt@xe_evict@evict-threads-large.html
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[Intel XE#1041]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1041
[Intel XE#1124]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1124
[Intel XE#1162]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1162
[Intel XE#1178]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1178
[Intel XE#1188]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1188
[Intel XE#1195]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1195
[Intel XE#1201]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1201
[Intel XE#1204]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1204
[Intel XE#1214]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1214
[Intel XE#1234]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1234
[Intel XE#1235]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1235
[Intel XE#1252]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1252
[Intel XE#1473]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1473
[Intel XE#1787]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1787
[Intel XE#1818]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1818
[Intel XE#282]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/282
[Intel XE#288]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/288
[Intel XE#294]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/294
[Intel XE#305]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/305
[Intel XE#306]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/306
[Intel XE#307]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/307
[Intel XE#308]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/308
[Intel XE#355]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/355
[Intel XE#361]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/361
[Intel XE#366]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/366
[Intel XE#367]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/367
[Intel XE#373]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/373
[Intel XE#380]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/380
[Intel XE#392]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/392
[Intel XE#402]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/402
[Intel XE#417]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/417
[Intel XE#455]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/455
[Intel XE#482]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/482
[Intel XE#616]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/616
[Intel XE#650]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/650
[Intel XE#651]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/651
[Intel XE#653]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/653
[Intel XE#771]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/771
[Intel XE#787]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/787
[Intel XE#829]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/829
[Intel XE#899]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/899
[Intel XE#904]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/904
[Intel XE#909]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/909
[Intel XE#929]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/929
[Intel XE#944]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/944
[i915#3804]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/3804
[i915#6077]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/6077
Build changes
-------------
* IGT: IGT_7846 -> IGTPW_11127
* Linux: xe-1263-92f877dd46245e4a44b6d24b5e303b8c03c40c75 -> xe-1273-b885b00e7fc01fc109887d59ce2d1283714b07c6
IGTPW_11127: 11127
IGT_7846: 4a5fd4e7cb2798636f6464e2bd61399f3242b322 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
xe-1263-92f877dd46245e4a44b6d24b5e303b8c03c40c75: 92f877dd46245e4a44b6d24b5e303b8c03c40c75
xe-1273-b885b00e7fc01fc109887d59ce2d1283714b07c6: b885b00e7fc01fc109887d59ce2d1283714b07c6
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-133448v1/index.html
[-- Attachment #2: Type: text/html, Size: 44731 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH i-g-t 1/4] tests/intel/xe_pm: Update runtime pm conditions
2024-05-10 12:22 [PATCH i-g-t 1/4] tests/intel/xe_pm: Update runtime pm conditions Rodrigo Vivi
` (5 preceding siblings ...)
2024-05-10 15:25 ` ✗ CI.xeFULL: " Patchwork
@ 2024-05-10 16:02 ` Kamil Konieczny
6 siblings, 0 replies; 8+ messages in thread
From: Kamil Konieczny @ 2024-05-10 16:02 UTC (permalink / raw)
To: igt-dev; +Cc: Rodrigo Vivi, intel-xe
Hi Rodrigo,
On 2024-05-10 at 08:22:27 -0400, Rodrigo Vivi wrote:
> Xe is no longer holding a runtime pm reference for the life
> of a VM or exec_queue.
>
> Also, IGT changes autosuspend time to a minimal time, so we
> cannot guarantee that rpm is still suspended after the execution
> has finished.
>
> So, the reference usage is not a reliable reference.
>
> Hence, start using runtime_active_time as the indicator
> that runtime_pm resumed upon our actions.
>
> v2: Usage of runtime_active_pm and inclusion of mmap tests.
>
> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
> ---
> lib/igt_pm.c | 18 +++++++++++
> lib/igt_pm.h | 1 +
> tests/intel/xe_pm.c | 77 +++++++++++++++++----------------------------
> 3 files changed, 47 insertions(+), 49 deletions(-)
>
> diff --git a/lib/igt_pm.c b/lib/igt_pm.c
> index fe7692960..98cc8d969 100644
> --- a/lib/igt_pm.c
> +++ b/lib/igt_pm.c
> @@ -1412,6 +1412,24 @@ int igt_pm_get_runtime_suspended_time(struct pci_device *pci_dev)
> return -1;
> }
>
Please describe each new public library function.
Regards,
Kamil
> +int igt_pm_get_runtime_active_time(struct pci_device *pci_dev)
> +{
> + char time_str[64];
> + int time, time_fd;
> +
> + time_fd = igt_pm_get_power_attr_fd_rdonly(pci_dev, "runtime_active_time");
> + if (igt_pm_read_power_attr(time_fd, time_str, 64, false)) {
> + igt_assert(sscanf(time_str, "%d", &time) > 0);
> +
> + igt_debug("runtime active time for PCI '%04x:%02x:%02x.%01x' = %d\n",
> + pci_dev->domain, pci_dev->bus, pci_dev->dev, pci_dev->func, time);
> +
> + return time;
> + }
> +
> + return -1;
> +}
> +
> /**
> * igt_pm_get_runtime_usage:
> * @pci_dev: pci device
> diff --git a/lib/igt_pm.h b/lib/igt_pm.h
> index 91ee05cd1..b71f7c440 100644
> --- a/lib/igt_pm.h
> +++ b/lib/igt_pm.h
> @@ -94,6 +94,7 @@ void igt_pm_print_pci_card_runtime_status(void);
> bool i915_is_slpc_enabled_gt(int drm_fd, int gt);
> bool i915_is_slpc_enabled(int drm_fd);
> int igt_pm_get_runtime_suspended_time(struct pci_device *pci_dev);
> +int igt_pm_get_runtime_active_time(struct pci_device *pci_dev);
> int igt_pm_get_runtime_usage(struct pci_device *pci_dev);
> void igt_pm_ignore_slpc_efficient_freq(int i915, int gtfd, bool val);
>
> diff --git a/tests/intel/xe_pm.c b/tests/intel/xe_pm.c
> index e81a75d88..3f963bd9b 100644
> --- a/tests/intel/xe_pm.c
> +++ b/tests/intel/xe_pm.c
> @@ -184,34 +184,6 @@ static bool in_d3(device_t device, enum igt_acpi_d_state state)
> return true;
> }
>
> -static bool out_of_d3(device_t device, enum igt_acpi_d_state state)
> -{
> - uint16_t val;
> -
> - /* Runtime resume needs to be immediate action without any wait */
> - if (runtime_usage_available(device.pci_xe) &&
> - igt_pm_get_runtime_usage(device.pci_xe) <= 0)
> - return false;
> -
> - if (igt_get_runtime_pm_status() != IGT_RUNTIME_PM_STATUS_ACTIVE)
> - return false;
> -
> - switch (state) {
> - case IGT_ACPI_D3Hot:
> - igt_assert_eq(pci_device_cfg_read_u16(device.pci_xe,
> - &val, 0xd4), 0);
> - return (val & 0x3) == 0;
> - case IGT_ACPI_D3Cold:
> - return igt_pm_get_acpi_real_d_state(device.pci_root) ==
> - IGT_ACPI_D0;
> - default:
> - igt_info("Invalid D3 State\n");
> - igt_assert(0);
> - }
> -
> - return true;
> -}
> -
> static void close_fw_handle(int sig)
> {
> if (fw_handle < 0)
> @@ -326,27 +298,27 @@ test_exec(device_t device, struct drm_xe_engine_class_instance *eci,
> uint64_t pad;
> uint32_t data;
> } *data;
> - int i, b, rpm_usage;
> + int i, b, active_time;
> bool check_rpm = (d_state == IGT_ACPI_D3Hot ||
> d_state == IGT_ACPI_D3Cold);
>
> igt_assert(n_exec_queues <= MAX_N_EXEC_QUEUES);
> igt_assert(n_execs > 0);
>
> - if (check_rpm)
> + if (check_rpm) {
> igt_assert(in_d3(device, d_state));
> + active_time = igt_pm_get_runtime_active_time(device.pci_xe);
> + }
>
> vm = xe_vm_create(device.fd_xe, 0, 0);
>
> if (check_rpm)
> - igt_assert(out_of_d3(device, d_state));
> + igt_assert(igt_pm_get_runtime_active_time(device.pci_xe) >
> + active_time);
>
> bo_size = sizeof(*data) * n_execs;
> bo_size = xe_bb_size(device.fd_xe, bo_size);
>
> - if (check_rpm && runtime_usage_available(device.pci_xe))
> - rpm_usage = igt_pm_get_runtime_usage(device.pci_xe);
> -
> if (flags & USERPTR) {
> data = aligned_alloc(xe_get_default_alignment(device.fd_xe), bo_size);
> memset(data, 0, bo_size);
> @@ -384,8 +356,10 @@ test_exec(device_t device, struct drm_xe_engine_class_instance *eci,
> xe_vm_prefetch_async(device.fd_xe, vm, bind_exec_queues[0], 0, addr,
> bo_size, sync, 1, 0);
>
> - if (check_rpm && runtime_usage_available(device.pci_xe))
> - igt_assert(igt_pm_get_runtime_usage(device.pci_xe) > rpm_usage);
> + if (check_rpm) {
> + igt_assert(in_d3(device, d_state));
> + active_time = igt_pm_get_runtime_active_time(device.pci_xe);
> + }
>
> for (i = 0; i < n_execs; i++) {
> uint64_t batch_offset = (char *)&data[i].batch - (char *)data;
> @@ -429,9 +403,6 @@ test_exec(device_t device, struct drm_xe_engine_class_instance *eci,
> igt_assert(syncobj_wait(device.fd_xe, &sync[0].handle, 1, INT64_MAX, 0,
> NULL));
>
> - if (check_rpm && runtime_usage_available(device.pci_xe))
> - rpm_usage = igt_pm_get_runtime_usage(device.pci_xe);
> -
> sync[0].flags |= DRM_XE_SYNC_FLAG_SIGNAL;
> if (n_vmas > 1)
> xe_vm_unbind_all_async(device.fd_xe, vm, 0, bo, sync, 1);
> @@ -459,15 +430,13 @@ NULL));
> free(data);
> }
>
> - if (check_rpm && runtime_usage_available(device.pci_xe))
> - igt_assert(igt_pm_get_runtime_usage(device.pci_xe) < rpm_usage);
> - if (check_rpm)
> - igt_assert(out_of_d3(device, d_state));
> -
> xe_vm_destroy(device.fd_xe, vm);
>
> - if (check_rpm)
> + if (check_rpm) {
> + igt_assert(igt_pm_get_runtime_active_time(device.pci_xe) >
> + active_time);
> igt_assert(in_d3(device, d_state));
> + }
> }
>
> /**
> @@ -561,10 +530,13 @@ static void test_mmap(device_t device, uint32_t placement, uint32_t flags)
> size_t bo_size = 8192;
> uint32_t *map = NULL;
> uint32_t bo;
> - int i;
> + int i, active_time;
>
> igt_require_f(placement, "Device doesn't support such memory region\n");
>
> + igt_assert(igt_wait_for_pm_status(IGT_RUNTIME_PM_STATUS_SUSPENDED));
> + active_time = igt_pm_get_runtime_active_time(device.pci_xe);
> +
> bo_size = ALIGN(bo_size, xe_get_default_alignment(device.fd_xe));
>
> bo = xe_bo_create(device.fd_xe, 0, bo_size, placement, flags);
> @@ -575,7 +547,8 @@ static void test_mmap(device_t device, uint32_t placement, uint32_t flags)
> fw_handle = igt_debugfs_open(device.fd_xe, "forcewake_all", O_RDONLY);
>
> igt_assert(fw_handle >= 0);
> - igt_assert(igt_get_runtime_pm_status() == IGT_RUNTIME_PM_STATUS_ACTIVE);
> + igt_assert(igt_pm_get_runtime_active_time(device.pci_xe) >
> + active_time);
>
> for (i = 0; i < bo_size / sizeof(*map); i++)
> map[i] = MAGIC_1;
> @@ -585,22 +558,28 @@ static void test_mmap(device_t device, uint32_t placement, uint32_t flags)
>
> /* Runtime suspend and validate the pattern and changed the pattern */
> close(fw_handle);
> + sleep(1);
> +
> igt_assert(igt_wait_for_pm_status(IGT_RUNTIME_PM_STATUS_SUSPENDED));
> + active_time = igt_pm_get_runtime_active_time(device.pci_xe);
>
> for (i = 0; i < bo_size / sizeof(*map); i++)
> igt_assert(map[i] == MAGIC_1);
>
> /* dgfx page-fault on mmaping should wake the gpu */
> if (xe_has_vram(device.fd_xe) && flags & DRM_XE_GEM_CREATE_FLAG_NEEDS_VISIBLE_VRAM)
> - igt_assert(igt_get_runtime_pm_status() == IGT_RUNTIME_PM_STATUS_ACTIVE);
> + igt_assert(igt_pm_get_runtime_active_time(device.pci_xe) >
> + active_time);
>
> igt_assert(igt_wait_for_pm_status(IGT_RUNTIME_PM_STATUS_SUSPENDED));
> + active_time = igt_pm_get_runtime_active_time(device.pci_xe);
>
> for (i = 0; i < bo_size / sizeof(*map); i++)
> map[i] = MAGIC_2;
>
> if (xe_has_vram(device.fd_xe) && flags & DRM_XE_GEM_CREATE_FLAG_NEEDS_VISIBLE_VRAM)
> - igt_assert(igt_get_runtime_pm_status() == IGT_RUNTIME_PM_STATUS_ACTIVE);
> + igt_assert(igt_pm_get_runtime_active_time(device.pci_xe) >
> + active_time);
>
> igt_assert(igt_wait_for_pm_status(IGT_RUNTIME_PM_STATUS_SUSPENDED));
>
> --
> 2.44.0
>
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2024-05-10 16:02 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-10 12:22 [PATCH i-g-t 1/4] tests/intel/xe_pm: Update runtime pm conditions Rodrigo Vivi
2024-05-10 12:22 ` [PATCH i-g-t 2/4] tests/intel/xe_pm: Also disable display for mmap_system test Rodrigo Vivi
2024-05-10 12:22 ` [PATCH i-g-t 3/4] tests/intel/xe_pm: Only check the rpm resume after the first mmap operation Rodrigo Vivi
2024-05-10 12:22 ` [PATCH i-g-t 4/4] tests/intel/xe_pm: Convert mmap tests to use existing d3 helpers Rodrigo Vivi
2024-05-10 14:07 ` ✓ CI.xeBAT: success for series starting with [i-g-t,1/4] tests/intel/xe_pm: Update runtime pm conditions Patchwork
2024-05-10 14:16 ` ✗ Fi.CI.BAT: failure " Patchwork
2024-05-10 15:25 ` ✗ CI.xeFULL: " Patchwork
2024-05-10 16:02 ` [PATCH i-g-t 1/4] " Kamil Konieczny
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox