Add d3 mmap test
v6 cover Add d3 mmap test
Add d3 mmap test.
Anshuman Gupta (4):
test/xe_pm: Add exit handler to close fw handle lib/igt_pm: Add helper to get/set auto_suspenddelay_ms tests/xe_pm: Add d3-mmap IGT test
HAX: Add d3-mmap to xe-fast-feedback
lib/igt_pm.c | 56 ++++++++-- lib/igt_pm.h | 2 + tests/intel-ci/xe-fast-feedback.testlist | 2 + tests/intel/xe_pm.c | 135 +++++++++++++++++++++-- 4 files changed, 174 insertions(+), 21 deletions(-)
Signature · 1 line
2.25.1
PATCH v6 1/4 test/xe_pm: Add exit handler to close fw handle
Adding an exit handler to close the fw handle to make sure we don't leak the fw in CI environment. Adding a IGT subtest group for the test using the fw handle to runtime wake the device. Scaling forcewake close exit handler for vram-d3cold-threshold subtest, while doing so add the missing subtest Functionality as well.
--- tests/intel/xe_pm.c | 34 +++++++++++++++++++++++++--------- 1 file changed, 25 insertions(+), 9 deletions(-)
tests/intel/xe_pm.c +25 -9
@@ -40,6 +40,7 @@ typedef struct { } device_t;uint64_t orig_threshold; +int fw_handle =-1 ;static void dpms_on_off (device_t device,int mode) {
@@ -195,6 +196,14 @@ static bool out_of_d3(device_t device, enum igt_acpi_d_state state)return true; } +static void close_fw_handle (int sig) +{ +if (fw_handle <0 ) +return ; + +close (fw_handle); +} +/** * SUBTEST: %s-basic * Description: set GPU state to %arg[1] and test suspend/autoresume
@@ -411,9 +420,9 @@ static void test_vram_d3cold_threshold(device_t device, int sysfs_fd) };uint64_t vram_used_mb =0 , vram_total_mb =0 , threshold;uint32_t bo, placement; -int handle, i;bool active;void *map; +int i;igt_require (xe_has_vram (device.fd_xe));
@@ -457,10 +466,10 @@ static void test_vram_d3cold_threshold(device_t device, int sysfs_fd)* the device from runtime suspend. * Therefore open and close fw handle to wake the device. */ - handle =igt_debugfs_open (device.fd_xe,"forcewake_all" ,O_RDONLY ); -igt_assert (handle >=0 ); + fw_handle =igt_debugfs_open (device.fd_xe,"forcewake_all" ,O_RDONLY ); +igt_assert (fw_handle >=0 ); active =igt_get_runtime_pm_status () ==IGT_RUNTIME_PM_STATUS_ACTIVE ; -close (handle); +close (fw_handle);igt_assert (active);/* Test D3Cold again after freeing up the Xe BO */
@@ -570,11 +579,18 @@ igt_main } } -igt_describe ("Validate whether card is limited to d3hot, if vram used > vram threshold" ); - igt_subtest("vram-d3cold-threshold") { - orig_threshold =get_vram_d3cold_threshold (sysfs_fd); -igt_install_exit_handler (vram_d3cold_threshold_restore); -test_vram_d3cold_threshold (device, sysfs_fd); + igt_subtest_group { + igt_fixture { +igt_install_exit_handler (close_fw_handle); + } + +igt_describe ("Validate whether card is limited to d3hot," +"if vram used > vram threshold" ); + igt_subtest("vram-d3cold-threshold") { + orig_threshold =get_vram_d3cold_threshold (sysfs_fd); +igt_install_exit_handler (vram_d3cold_threshold_restore); +test_vram_d3cold_threshold (device, sysfs_fd); + } } igt_fixture {
Signature · 1 line
2.25.1
PATCH v6 2/4 lib/igt_pm: Add helper to get/set auto_suspenddelay_ms
In reply to Anshuman GuptaSometimes we want to test pm igt test with an explicit auto suspend delay, therefore adding helpers to get/set the pci_dev auto_suspenddelay_ms.
v2:
close delay_fd. [Kamil]
--- lib/igt_pm.c | 56 +++++++++++++++++++++++++++++++++++++++++----------- lib/igt_pm.h | 2 ++ 2 files changed, 46 insertions(+), 12 deletions(-)
lib/igt_pm.c +44 -12
@@ -1068,18 +1068,6 @@ static void igt_pm_write_power_attr(int fd, const char *val, int len)igt_assert (strncmp (buf, val, len) ==0 ); } -static int igt_pm_get_autosuspend_delay (struct pci_device *pci_dev) -{ -char delay_str[64 ]; -int delay, delay_fd; - - delay_fd =igt_pm_get_power_attr_fd (pci_dev,"autosuspend_delay_ms" ); -if (igt_pm_read_power_attr (delay_fd, delay_str,64 , true)) -igt_assert (sscanf (delay_str,"%d" , &delay) >0 ); - -return delay; -} -static void igt_pm_setup_pci_dev_power_attrs (struct pci_device *pci_dev,struct igt_pm_pci_dev_pwrattr *pwrattr,int delay_ms)
@@ -1165,6 +1153,50 @@ igt_pm_setup_pci_card_power_attrs(struct pci_device *pci_dev, bool save_attrs, ipci_iterator_destroy (iter); } +/** +* igt_pm_get_autosuspend_delay: +* @pci_dev: pci_dev. +* Get pci_dev autosuspend delay value from pci sysfs "autosuspend_delay_ms". +* +* Returns: +* autosuspend_delay_ms. +*/ +int igt_pm_get_autosuspend_delay (struct pci_device *pci_dev) +{ +char delay_str[64 ]; +int delay, delay_fd; + + delay_fd =igt_pm_get_power_attr_fd (pci_dev,"autosuspend_delay_ms" ); +if (igt_pm_read_power_attr (delay_fd, delay_str,64 , true)) +igt_assert (sscanf (delay_str,"%d" , &delay) >0 ); + +close (delay_fd); +return delay; +} + +/** +* igt_pm_set_autosuspend_delay: +* @pci_dev: pci_dev. +* @delay_ms: autosuspend delay in ms. +* Set pci_dev autosuspend delay value through pci sysfs "autosuspend_delay_ms". +*/ +void igt_pm_set_autosuspend_delay (struct pci_device *pci_dev,int delay_ms) +{ +char delay_str[64 ]; +int delay_fd; + + delay_fd =igt_pm_get_power_attr_fd (pci_dev,"autosuspend_delay_ms" ); + +if (delay_ms >=0 ) { +int wc; + + wc =snprintf (delay_str,64 ,"%d\n" , delay_ms); +igt_pm_write_power_attr (delay_fd, delay_str, wc); + } + +close (delay_fd); +} +/** * igt_pm_enable_pci_card_runtime_pm: * @root: root port pci_dev.
lib/igt_pm.h +2 -0
@@ -82,6 +82,8 @@ int igt_pm_get_pcie_acpihp_slot(struct pci_device *pci_dev);bool igt_pm_acpi_d3cold_supported (struct pci_device *pci_dev);enum igt_acpi_d_state igt_pm_get_acpi_real_d_state (struct pci_device *pci_dev); +int igt_pm_get_autosuspend_delay (struct pci_device *pci_dev); +void igt_pm_set_autosuspend_delay (struct pci_device *pci_dev,int delay_ms);void igt_pm_enable_pci_card_runtime_pm (struct pci_device *root,struct pci_device *i915);void igt_pm_get_d3cold_allowed (const char *pci_slot_name,uint32_t *value);
Signature · 1 line
2.25.1
Re: [PATCH i-g-t v6 2/4] lib/igt_pm: Add helper to get/set auto_suspenddelay_ms
Hi Anshuman,
Quoted 3 lines · Anshuman Gupta
Sometimes we want to test pm igt test with an explicit auto suspend delay, therefore adding helpers to get/set the
pci_devauto_suspenddelay_ms.
I have few more nits, see below.
Quoted 35 lines
v2:
closedelay_fd. [Kamil]Reviewed-by Rodrigo Vivi <[email protected]>Signed-off-by Anshuman Gupta <[email protected]>--- lib/igt_pm.c | 56 +++++++++++++++++++++++++++++++++++++++++----------- lib/igt_pm.h | 2 ++ 2 files changed, 46 insertions(+), 12 deletions(-)lib/igt_pm.c +0
-12@@ -1068,18 +1068,6 @@ static void igt_pm_write_power_attr(int fd, const char *val, int len)igt_assert (strncmp (buf, val, len) ==0 ); } -static int igt_pm_get_autosuspend_delay (struct pci_device *pci_dev) -{ -char delay_str[64 ]; -int delay, delay_fd; - - delay_fd =igt_pm_get_power_attr_fd (pci_dev,"autosuspend_delay_ms" ); -if (igt_pm_read_power_attr (delay_fd, delay_str,64 , true)) -igt_assert (sscanf (delay_str,"%d" , &delay) >0 ); - -return delay; -} -static void igt_pm_setup_pci_dev_power_attrs (struct pci_device *pci_dev,struct igt_pm_pci_dev_pwrattr *pwrattr,int delay_ms)
lib/igt_pm.c igt_pm_setup_pci_card_power_attrs(struct pci_device *pci_dev, bool save_attrs, i · line 1158
Quoted 6 lines
lib/igt_pm.c +3
-0@@ -1165,6 +1153,50 @@ igt_pm_setup_pci_card_power_attrs(struct pci_device *pci_dev, bool save_attrs, ipci_iterator_destroy (iter); } +/** +* igt_pm_get_autosuspend_delay: +* @pci_dev: pci_dev.
Add newline here with ' *' so next line will be separated.
lib/igt_pm.c igt_pm_setup_pci_card_power_attrs(struct pci_device *pci_dev, bool save_attrs, i · line 1159
Quoted 1 line
lib/igt_pm.c +1
-0+* Get pci_dev autosuspend delay value from pci sysfs "autosuspend_delay_ms".
-------------------------------------------------------- ^^^^^^^^^^^^^^^^^^^^^ Drop "autosuspend_delay_ms" from description.
lib/igt_pm.c igt_pm_setup_pci_card_power_attrs(struct pci_device *pci_dev, bool save_attrs, i · line 1162
Quoted 3 lines
lib/igt_pm.c +3
-0+* +* Returns: +* autosuspend_delay_ms.
-----------------^-----^
autosuspend delay in miliseconds
Quoted 8 lines
lib/igt_pm.c +8
-0+*/ +int igt_pm_get_autosuspend_delay (struct pci_device *pci_dev) +{ +char delay_str[64 ]; +int delay, delay_fd; + + delay_fd =igt_pm_get_power_attr_fd (pci_dev,"autosuspend_delay_ms" ); +if (igt_pm_read_power_attr (delay_fd, delay_str,64 , true))
lib/igt_pm.c igt_pm_setup_pci_card_power_attrs(struct pci_device *pci_dev, bool save_attrs, i · line 1180
Quoted 10 lines
lib/igt_pm.c +10
-0+igt_assert (sscanf (delay_str,"%d" , &delay) >0 ); + +close (delay_fd); +return delay; +} + +/** +* igt_pm_set_autosuspend_delay: +* @pci_dev: pci_dev. +* @delay_ms: autosuspend delay in ms.
Add newline here with ' *' so next line will be separated.
lib/igt_pm.c igt_pm_setup_pci_card_power_attrs(struct pci_device *pci_dev, bool save_attrs, i · line 1181
Quoted 1 line
lib/igt_pm.c +1
-0+* Set pci_dev autosuspend delay value through pci sysfs "autosuspend_delay_ms".
----------------------------------------------------------- ^^^^^^^^^^^^^^^^^^^^^ Same here, drop this from description.
With that:
Quoted 37 lines
lib/igt_pm.c +18
-0+*/ +void igt_pm_set_autosuspend_delay (struct pci_device *pci_dev,int delay_ms) +{ +char delay_str[64 ]; +int delay_fd; + + delay_fd =igt_pm_get_power_attr_fd (pci_dev,"autosuspend_delay_ms" ); + +if (delay_ms >=0 ) { +int wc; + + wc =snprintf (delay_str,64 ,"%d\n" , delay_ms); +igt_pm_write_power_attr (delay_fd, delay_str, wc); + } + +close (delay_fd); +} +/** * igt_pm_enable_pci_card_runtime_pm: * @root: root port pci_dev. lib/igt_pm.h +2
-0@@ -82,6 +82,8 @@ int igt_pm_get_pcie_acpihp_slot(struct pci_device *pci_dev);bool igt_pm_acpi_d3cold_supported (struct pci_device *pci_dev);enum igt_acpi_d_state igt_pm_get_acpi_real_d_state (struct pci_device *pci_dev); +int igt_pm_get_autosuspend_delay (struct pci_device *pci_dev); +void igt_pm_set_autosuspend_delay (struct pci_device *pci_dev,int delay_ms);void igt_pm_enable_pci_card_runtime_pm (struct pci_device *root,struct pci_device *i915);void igt_pm_get_d3cold_allowed (const char *pci_slot_name,uint32_t *value);Signature · 1 line
2.25.1
PATCH v6 3/4 tests/xe_pm: Add d3-mmap IGT test
In reply to Anshuman GuptaAdding a test to validate mmap memory mappings along with runtime suspend and resume for both xe device and it's pci parent bridge in device hierarchy.
v2:
- Use 0xc00fee pattern. [Rodrigo]
- Test the pagefault case on read and write the mapping. [Rodrigo]
v3:
- Cosmetic comment. [Kamil]
- Use MAGIC macro for 0xc0ffe and 0xdeadbeef. [Kamil]
- Fix xe_bo_create() with respect to Xe uapi.
- Set auto_suspend delay to 1000ms and restore it.
v4:
- Set autosuspend delay to 1 sec for entire test. [Badal]
v5:
- Use DPMS on/off.
--- tests/intel/xe_pm.c | 101 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 101 insertions(+)
tests/intel/xe_pm.c +101 -0
@@ -30,6 +30,8 @@#define NO_RPM -1#define SIZE (4096 * 1024) +#define MAGIC_1 0xc0ffee +#define MAGIC_2 0xdeadbeef typedef struct { int fd_xe;
@@ -476,6 +478,79 @@ static void test_vram_d3cold_threshold(device_t device, int sysfs_fd)igt_assert (in_d3 (device, IGT_ACPI_D3Cold)); } +/** +* SUBTEST: d3-mmap-%s +* Description: +* Validate mmap memory mapping with d3 state, for %arg[1] region, +* if supported by device. +* arg[1]: +* +* @vram: vram region +* @system: system region +* +* Functionality: pm-d3 +* Run type: FULL +*/ +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; + +igt_require_f (placement,"Device doesn't support such memory region\n" ); + + bo_size =ALIGN (bo_size,xe_get_default_alignment (device.fd_xe)); + + bo =xe_bo_create (device.fd_xe,0 , bo_size, placement, flags); + map =xe_bo_map (device.fd_xe, bo, bo_size); +igt_assert (map); +memset (map,0 , bo_size); + + 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 ); + +for (i =0 ; i < bo_size /sizeof (*map); i++) + map[i] =MAGIC_1 ; + +for (i =0 ; i < bo_size /sizeof (*map); i++) +igt_assert (map[i] ==MAGIC_1 ); + +/* Runtime suspend and validate the pattern and changed the pattern */ +close (fw_handle); +igt_assert (igt_wait_for_pm_status (IGT_RUNTIME_PM_STATUS_SUSPENDED )); + +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)) +igt_assert (igt_get_runtime_pm_status () ==IGT_RUNTIME_PM_STATUS_ACTIVE ); + +igt_assert (igt_wait_for_pm_status (IGT_RUNTIME_PM_STATUS_SUSPENDED )); + +for (i =0 ; i < bo_size /sizeof (*map); i++) + map[i] =MAGIC_2 ; + +if (xe_has_vram (device.fd_xe)) +igt_assert (igt_get_runtime_pm_status () ==IGT_RUNTIME_PM_STATUS_ACTIVE ); + +igt_assert (igt_wait_for_pm_status (IGT_RUNTIME_PM_STATUS_SUSPENDED )); + +/* Runtime resume and check the pattern */ + 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 ); +for (i =0 ; i < bo_size /sizeof (*map); i++) +igt_assert (map[i] ==MAGIC_2 ); + +igt_assert (munmap (map, bo_size) ==0 ); +gem_close (device.fd_xe, bo); +close (fw_handle); +} + igt_main {struct drm_xe_engine_class_instance *hwe;
@@ -591,6 +666,32 @@ igt_mainigt_install_exit_handler (vram_d3cold_threshold_restore);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") { +test_mmap (device,system_memory (device.fd_xe),0 ); + } + +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 ); +dpms_on_off (device,DRM_MODE_DPMS_ON ); +igt_pm_set_autosuspend_delay (device.pci_xe, delay_ms); + } } igt_fixture {
Signature · 1 line
2.25.1
PATCH v6 4/4 HAX: Add d3-mmap to xe-fast-feedback
In reply to Anshuman GuptaAdding d3-mmap to xe-fast-feedback.
--- tests/intel-ci/xe-fast-feedback.testlist | 2 ++ 1 file changed, 2 insertions(+)
tests/intel-ci/xe-fast-feedback.testlist +2 -0
@@ -115,6 +115,8 @@ igt@xe_mmap@system igt@xe_mmap@vram igt@xe_mmap@vram-system igt@xe_pm_residency@gt-c6-on-idle +igt@xe_pm@d3-mmap-system +igt@xe_pm@d3-mmap-vram igt@xe_prime_self_import@basic-with_one_bo igt@xe_prime_self_import@basic-with_fd_dup #igt@xe_prime_self_import@basic-llseek-size
Signature · 1 line
2.25.1
Re: [PATCH i-g-t v6 4/4] HAX: Add d3-mmap to xe-fast-feedback
Hi Anshuman,
Quoted 1 line · Anshuman Gupta
Adding d3-mmap to xe-fast-feedback.
How long did this test last? If few seconds you can add it to fast-feedback (e.g. to BAT tests).
CI now no longer manages separate f-f lists, we can add them if needed so if tests takes < 10seconds, please change subject into:
[PATCH i-g-t v6 4/4] intel-ci/xe-fast-feedback: Add d3-mmap to BAT
Quoted 11 lines
Signed-off-by Anshuman Gupta <[email protected]>--- tests/intel-ci/xe-fast-feedback.testlist | 2 ++ 1 file changed, 2 insertions(+)tests/intel-ci/xe-fast-feedback.testlist +0
-0
tests/intel-ci/xe-fast-feedback.testlist igt@xe_mmap@system · line 119
Quoted 5 lines
tests/intel-ci/xe-fast-feedback.testlist +2
-0@@ -115,6 +115,8 @@ igt@xe_mmap@system igt@xe_mmap@vram igt@xe_mmap@vram-system igt@xe_pm_residency@gt-c6-on-idle +igt@xe_pm@d3-mmap-system +igt@xe_pm@d3-mmap-vram
This should be before
igt@xe_pm_residency@gt-c6-on-idle
with that fixed:
Quoted 6 lines
tests/intel-ci/xe-fast-feedback.testlist +0
-0igt@xe_prime_self_import@basic-with_one_bo igt@xe_prime_self_import@basic-with_fd_dup #igt@xe_prime_self_import@basic-llseek-sizeSignature · 1 line
2.25.1
RE: [PATCH i-g-t v6 4/4] HAX: Add d3-mmap to xe-fast-feedback
Quoted 40 lines
-----Original Message-----
From: Kamil Konieczny <[email protected]>
Sent: Wednesday, January 24, 2024 7:10 PM
To: [email protected]
Cc: Gupta, Anshuman <[email protected]>
Subject: Re: [PATCH i-g-t v6 4/4] HAX: Add d3-mmap to xe-fast-feedbackHi Anshuman,
Quoted 1 line · Anshuman Gupta
Adding d3-mmap to xe-fast-feedback.
How long did this test last? If few seconds you can add it to fast-feedback (e.g. to BAT tests).
CI now no longer manages separate f-f lists, we can add them if needed so if tests takes < 10seconds, please change subject
into:[PATCH i-g-t v6 4/4] intel-ci/xe-fast-feedback: Add d3-mmap to BAT
Quoted 13 lines
Signed-off-by Anshuman Gupta <[email protected]>--- tests/intel-ci/xe-fast-feedback.testlist | 2 ++ 1 file changed, 2 insertions(+)tests/intel-ci/xe-fast-feedback.testlist +0
-0@@ -115,6 +115,8 @@ igt@xe_mmap@system igt@xe_mmap@vramigt@xe_mmap@vram-system igt@xe_pm_residency@gt-c6-on-idle
tests/intel-ci/xe-fast-feedback.testlist igt@xe_mmap@system · line 119
Quoted 2 lines
tests/intel-ci/xe-fast-feedback.testlist +2
-0+igt@xe_pm@d3-mmap-system +igt@xe_pm@d3-mmap-vramThis should be before
Quoted 4 lines
igt@xe_pm_residency@gt-c6-on-idle
with that fixed:
Acked-by Kamil Konieczny <[email protected]>
Hi Kamil thanks for comment, this is the Hack patch, not for merge. Currently not planning to have these test in BAT.
This patch is added to get the test coverage results from CI.
Thanks,
Anshuman Gupta.
Quoted 7 lines
Quoted 7 lines
igt@xe_prime_self_import@basic-with_one_bo
igt@xe_prime_self_import@basic-with_fd_dup
#igt@xe_prime_self_import@basic-llseek-size
--
2.25.1
Re: [PATCH i-g-t v6 4/4] HAX: Add d3-mmap to xe-fast-feedback
Hi iAnshuman,
Quoted 42 lines · Anshuman
Quoted 42 lines
-----Original Message-----
From: Kamil Konieczny <[email protected]>
Sent: Wednesday, January 24, 2024 7:10 PM
To: [email protected]
Cc: Gupta, Anshuman <[email protected]>
Subject: Re: [PATCH i-g-t v6 4/4] HAX: Add d3-mmap to xe-fast-feedbackHi Anshuman,
Quoted 1 line · Anshuman Gupta
Adding d3-mmap to xe-fast-feedback.
How long did this test last? If few seconds you can add it to fast-feedback (e.g. to BAT tests).
CI now no longer manages separate f-f lists, we can add them if needed so if tests takes < 10seconds, please change subject
into:[PATCH i-g-t v6 4/4] intel-ci/xe-fast-feedback: Add d3-mmap to BAT
Quoted 13 lines
Signed-off-by Anshuman Gupta <[email protected]>--- tests/intel-ci/xe-fast-feedback.testlist | 2 ++ 1 file changed, 2 insertions(+)tests/intel-ci/xe-fast-feedback.testlist +0
-0@@ -115,6 +115,8 @@ igt@xe_mmap@system igt@xe_mmap@vramigt@xe_mmap@vram-system igt@xe_pm_residency@gt-c6-on-idle
tests/intel-ci/xe-fast-feedback.testlist igt@xe_mmap@system · line 119
Quoted 2 lines
tests/intel-ci/xe-fast-feedback.testlist +2
-0+igt@xe_pm@d3-mmap-system +igt@xe_pm@d3-mmap-vramThis should be before
igt@xe_pm_residency@gt-c6-on-idle
Quoted 8 lines
Quoted 2 lines
with that fixed:
Acked-by Kamil Konieczny <[email protected]>Hi Kamil thanks for comment, this is the Hack patch, not for merge. Currently not planning to have these test in BAT.
This patch is added to get the test coverage results from CI.Thanks,
Anshuman Gupta.
I see, if that is the case it is better to add DO_NOT_MERGE like:
[PATCH i-g-t v6 4/4] HAX/DO_NOT_MERGE: intel-ci/xe-f-f: test d3-mmap
Regards,
Kamil
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
igt@xe_prime_self_import@basic-with_one_bo
igt@xe_prime_self_import@basic-with_fd_dup
#igt@xe_prime_self_import@basic-llseek-size
--
2.25.1
Patchwork
CI✓ CI.xeBAT: success for Add d3 mmap test (rev5)
In reply to Anshuman Gupta== Series Details ==
== Series Details ==
Series: Add d3 mmap test (rev5)
URL : https://patchwork.freedesktop.org/series/124115/
State : success
== Summary ==
CI Bug Log - changes from XEIGT_7690_BAT -> XEIGTPW_10582_BAT
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Participating hosts (4 -> 4)
------------------------------
No changes in participating hosts
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in XEIGTPW_10582_BAT:
### IGT changes ###
#### Possible regressions ####
* {igt@xe_pm@d3-mmap-system} (NEW):
- bat-adlp-7: NOTRUN -> [FAIL][1]
[1]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10582/bat-adlp-7/igt@[email protected]
- bat-pvc-2: NOTRUN -> [FAIL][2]
[2]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10582/bat-pvc-2/igt@[email protected]
- bat-dg2-oem2: NOTRUN -> [FAIL][3]
[3]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10582/bat-dg2-oem2/igt@[email protected]
- bat-atsm-2: NOTRUN -> [FAIL][4]
[4]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10582/bat-atsm-2/igt@[email protected]
* {igt@xe_pm@d3-mmap-vram} (NEW):
- bat-adlp-7: NOTRUN -> [SKIP][5]
[5]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10582/bat-adlp-7/igt@[email protected]
New tests
---------
New tests have been introduced between XEIGT_7690_BAT and XEIGTPW_10582_BAT:
### New IGT tests (2) ###
* igt@xe_pm@d3-mmap-system:
- Statuses : 4 fail(s)
- Exec time: [0.14, 10.58] s
* igt@xe_pm@d3-mmap-vram:
- Statuses : 3 pass(s) 1 skip(s)
- Exec time: [0.32, 3.92] s
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
Build changes
-------------
* IGT: IGT_7690 -> IGTPW_10582
* Linux: xe-669-741c439503ee0986a7b7c5b590cbd9813b8841f6 -> xe-674-0496fe20d8ed5e73ed186d293ef67e7bae4658eb
IGTPW_10582: 10582
IGT_7690: aa45298ff675abbe6bf8f04ae186e2388c35f03a @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
xe-669-741c439503ee0986a7b7c5b590cbd9813b8841f6: 741c439503ee0986a7b7c5b590cbd9813b8841f6 xe-674-0496fe20d8ed5e73ed186d293ef67e7bae4658eb: 0496fe20d8ed5e73ed186d293ef67e7bae4658eb
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10582/index.html
Patchwork
CI✗ Fi.CI.BAT: failure for Add d3 mmap test (rev5)
In reply to Anshuman Gupta== Series Details ==
== Series Details ==
Series: Add d3 mmap test (rev5)
URL : https://patchwork.freedesktop.org/series/124115/
State : failure
== Summary ==
CI Bug Log - changes from CI_DRM_14168 -> IGTPW_10582
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with IGTPW_10582 absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes
introduced in IGTPW_10582, please notify your bug team ([email protected]) 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_10582/index.html
Participating hosts (38 -> 30)
------------------------------
Missing (8): fi-apl-guc fi-snb-2520m fi-ilk-650 fi-glk-j4005 fi-ivb-3770 bat-rpls-3 fi-pnv-d510 bat-rpls-2
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in IGTPW_10582:
### IGT changes ###
#### Possible regressions ####
* igt@kms_cursor_legacy@basic-flip-after-cursor-varying-size:
- fi-tgl-1115g4: [PASS][1] -> [SKIP][2] +5 other tests skip
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14168/fi-tgl-1115g4/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10582/fi-tgl-1115g4/igt@[email protected]
* igt@kms_pipe_crc_basic@hang-read-crc:
- fi-tgl-1115g4: NOTRUN -> [SKIP][3] +6 other tests skip
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10582/fi-tgl-1115g4/igt@[email protected]
#### Warnings ####
* igt@kms_cursor_legacy@basic-busy-flip-before-cursor-atomic:
- fi-tgl-1115g4: [SKIP][4] ([i915#4103]) -> [SKIP][5] +1 other test skip
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14168/fi-tgl-1115g4/igt@[email protected]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10582/fi-tgl-1115g4/igt@[email protected]
* igt@kms_dsc@dsc-basic:
- fi-tgl-1115g4: [SKIP][6] ([i915#3555] / [i915#3840]) -> [SKIP][7]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14168/fi-tgl-1115g4/igt@[email protected]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10582/fi-tgl-1115g4/igt@[email protected]
Known issues
------------
Here are the changes found in IGTPW_10582 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@fbdev@info:
- fi-tgl-1115g4: [PASS][8] -> [SKIP][9] ([i915#1849] / [i915#2582])
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14168/fi-tgl-1115g4/igt@[email protected]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10582/fi-tgl-1115g4/igt@[email protected]
* igt@fbdev@nullptr:
- fi-tgl-1115g4: [PASS][10] -> [SKIP][11] ([i915#2582]) +3 other tests skip
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14168/fi-tgl-1115g4/igt@[email protected]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10582/fi-tgl-1115g4/igt@[email protected]
* igt@gem_lmem_swapping@verify-random:
- bat-mtlp-8: NOTRUN -> [SKIP][12] ([i915#4613]) +3 other tests skip
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10582/bat-mtlp-8/igt@[email protected]
* igt@i915_pm_rps@basic-api:
- bat-mtlp-8: NOTRUN -> [SKIP][13] ([i915#6621])
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10582/bat-mtlp-8/igt@[email protected]
* igt@kms_addfb_basic@addfb25-y-tiled-small-legacy:
- bat-mtlp-8: NOTRUN -> [SKIP][14] ([i915#5190])
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10582/bat-mtlp-8/igt@[email protected]
* igt@kms_addfb_basic@basic-y-tiled-legacy:
- bat-mtlp-8: NOTRUN -> [SKIP][15] ([i915#4212]) +8 other tests skip
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10582/bat-mtlp-8/igt@[email protected]
* igt@kms_busy@basic:
- fi-tgl-1115g4: NOTRUN -> [SKIP][16] ([i915#4303])
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10582/fi-tgl-1115g4/igt@[email protected]
* igt@kms_cursor_legacy@basic-busy-flip-before-cursor-legacy:
- bat-mtlp-8: NOTRUN -> [SKIP][17] ([i915#4213]) +1 other test skip
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10582/bat-mtlp-8/igt@[email protected]
* igt@kms_dsc@dsc-basic:
- bat-mtlp-8: NOTRUN -> [SKIP][18] ([i915#3555] / [i915#3840] / [i915#9159])
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10582/bat-mtlp-8/igt@[email protected]
* igt@kms_flip@basic-plain-flip:
- fi-tgl-1115g4: NOTRUN -> [SKIP][19] ([i915#3637]) +3 other tests skip
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10582/fi-tgl-1115g4/igt@[email protected]
* igt@kms_force_connector_basic@force-load-detect:
- bat-mtlp-8: NOTRUN -> [SKIP][20] ([fdo#109285])
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10582/bat-mtlp-8/igt@[email protected]
* igt@kms_force_connector_basic@prune-stale-modes:
- bat-mtlp-8: NOTRUN -> [SKIP][21] ([i915#5274])
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10582/bat-mtlp-8/igt@[email protected]
* igt@kms_frontbuffer_tracking@basic:
- fi-tgl-1115g4: [PASS][22] -> [SKIP][23] ([i915#1849])
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14168/fi-tgl-1115g4/igt@[email protected]
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10582/fi-tgl-1115g4/igt@[email protected]
* igt@kms_pipe_crc_basic@nonblocking-crc:
- bat-dg2-11: NOTRUN -> [SKIP][24] ([i915#9197])
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10582/bat-dg2-11/igt@[email protected]
* igt@kms_setmode@basic-clone-single-crtc:
- bat-mtlp-8: NOTRUN -> [SKIP][25] ([i915#3555] / [i915#8809])
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10582/bat-mtlp-8/igt@[email protected]
* igt@prime_vgem@basic-fence-flip:
- fi-tgl-1115g4: [PASS][26] -> [SKIP][27] ([fdo#109295])
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14168/fi-tgl-1115g4/igt@[email protected]
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10582/fi-tgl-1115g4/igt@[email protected]
* igt@prime_vgem@basic-fence-mmap:
- bat-mtlp-8: NOTRUN -> [SKIP][28] ([i915#3708] / [i915#4077]) +1 other test skip
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10582/bat-mtlp-8/igt@[email protected]
* igt@prime_vgem@basic-fence-read:
- bat-mtlp-8: NOTRUN -> [SKIP][29] ([i915#3708]) +2 other tests skip
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10582/bat-mtlp-8/igt@[email protected]
#### Possible fixes ####
* igt@i915_hangman@error-state-basic:
- bat-mtlp-8: [ABORT][30] ([i915#9414]) -> [PASS][31]
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14168/bat-mtlp-8/igt@[email protected]
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10582/bat-mtlp-8/igt@[email protected]
{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#109295]: https://bugs.freedesktop.org/show_bug.cgi?id=109295
[i915#1849]: https://gitlab.freedesktop.org/drm/intel/issues/1849
[i915#2582]: https://gitlab.freedesktop.org/drm/intel/issues/2582
[i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
[i915#3637]: https://gitlab.freedesktop.org/drm/intel/issues/3637
[i915#3708]: https://gitlab.freedesktop.org/drm/intel/issues/3708
[i915#3840]: https://gitlab.freedesktop.org/drm/intel/issues/3840
[i915#4077]: https://gitlab.freedesktop.org/drm/intel/issues/4077
[i915#4103]: https://gitlab.freedesktop.org/drm/intel/issues/4103
[i915#4212]: https://gitlab.freedesktop.org/drm/intel/issues/4212
[i915#4213]: https://gitlab.freedesktop.org/drm/intel/issues/4213
[i915#4303]: https://gitlab.freedesktop.org/drm/intel/issues/4303
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[i915#5190]: https://gitlab.freedesktop.org/drm/intel/issues/5190
[i915#5274]: https://gitlab.freedesktop.org/drm/intel/issues/5274
[i915#6621]: https://gitlab.freedesktop.org/drm/intel/issues/6621
[i915#8809]: https://gitlab.freedesktop.org/drm/intel/issues/8809
[i915#9159]: https://gitlab.freedesktop.org/drm/intel/issues/9159
[i915#9197]: https://gitlab.freedesktop.org/drm/intel/issues/9197
[i915#9414]: https://gitlab.freedesktop.org/drm/intel/issues/9414
[i915#9688]: https://gitlab.freedesktop.org/drm/intel/issues/9688
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_7690 -> IGTPW_10582
CI-20190529: 20190529
CI_DRM_14168: 0496fe20d8ed5e73ed186d293ef67e7bae4658eb @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_10582: 10582
IGT_7690: aa45298ff675abbe6bf8f04ae186e2388c35f03a @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Testlist changes
----------------
+igt@xe_pm@d3-mmap-system
+igt@xe_pm@d3-mmap-vram
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10582/index.html