tests/kms_psr2_su: Read su blocks of frame 1 if frame 0 is 0
PATCH 1/2 tests/kms_psr2_su: Read su blocks of frame 1 if frame 0 is 0
Not sure why but in recent kernels + IGT when PSR status debugfs is read the frame already passed, so the su blocks is set in frame 1 and causing the test to fail for page flips.
So here reading from frame 1 if frame 0 has 0 blocks, as this test always changes screen with the same number of su blocks it is not a issue.
--- lib/igt_psr.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-)
lib/igt_psr.c +9 -1
@@ -195,11 +195,12 @@ bool psr_sink_support(int device, int debugfs_fd, enum psr_mode mode)#define PSR2_SU_BLOCK_STR_LOOKUP "PSR2 SU blocks:\n0\t" +/* Return the the last or last but one su blocks */ static bool psr2_read_last_num_su_blocks_val (int debugfs_fd,uint16_t *num_su_blocks) {char buf[PSR_STATUS_MAX_LEN ]; -char *str; +char *str, *str2;int ret; ret = igt_debugfs_simple_read(debugfs_fd, "i915_edp_psr_status", buf,
@@ -212,6 +213,13 @@ psr2_read_last_num_su_blocks_val(int debugfs_fd, uint16_t *num_su_blocks)return false; str = &str[strlen (PSR2_SU_BLOCK_STR_LOOKUP )]; + *num_su_blocks = (uint16_t )strtol (str, &str2,10 ); +if (*num_su_blocks !=0 ) +return true; + + str = str2; +/* Jump '\n''1''\t' */ + str +=3 ; *num_su_blocks = (uint16_t )strtol (str,NULL ,10 );return true;
Signature · 6 lines
2.26.2 _______________________________________________ igt-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/igt-dev
PATCH 2/2 tests/kms_psr2_su: Print debugfs when skipping test
This tests is being sporadically skipped in CI as it is not due "PSR sink not reliable: yes" lets print the i915_edp_psr_status to find out the reason.
This can be reverted afterwards.
Reference: https://gitlab.freedesktop.org/drm/intel/-/issues/1911
--- lib/igt_psr.c | 13 +++++++++++++ lib/igt_psr.h | 1 + tests/kms_psr2_su.c | 2 ++ 3 files changed, 16 insertions(+)
lib/igt_psr.c +13 -0
@@ -229,3 +229,16 @@ bool psr2_wait_su(int debugfs_fd, uint16_t *num_su_blocks) {return igt_wait (psr2_read_last_num_su_blocks_val (debugfs_fd, num_su_blocks),40 ,1 ); } + +void psr_print_debugfs (int debugfs_fd) +{ +char buf[PSR_STATUS_MAX_LEN ]; +int ret; + + ret =igt_debugfs_simple_read (debugfs_fd,"i915_edp_psr_status" , buf, +sizeof (buf)); +if (ret <0 ) +return ; + +igt_debug ("%s" , buf); +}
lib/igt_psr.h +1 -0
@@ -43,5 +43,6 @@ bool psr_enable(int device, int debugfs_fd, enum psr_mode);bool psr_disable (int device,int debugfs_fd);bool psr_sink_support (int device,int debugfs_fd,enum psr_mode mode);bool psr2_wait_su (int debugfs_fd,uint16_t *num_su_blocks); +void psr_print_debugfs (int debugfs_fd);#endif
tests/kms_psr2_su.c +2 -0
@@ -261,6 +261,8 @@ igt_mainprepare (&data); r =psr_wait_entry (data.debugfs_fd,PSR_MODE_2 );cleanup (&data); +if (!r) +psr_print_debugfs (data.debugfs_fd);igt_require_f (r,"PSR2 can not be enabled\n" );/* blocking timerfd */
Signature · 6 lines
2.26.2 _______________________________________________ igt-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/igt-dev
Re: [igt-dev] [PATCH i-g-t 2/2] tests/kms_psr2_su: Print debugfs when skipping test
Quoted 24 lines · José Roberto de Souza
This tests is being sporadically skipped in CI as it is not due "PSR sink not reliable: yes" lets print the
i915_edp_psr_statusto find out the reason.
This can be reverted afterwards.Reference: https://gitlab.freedesktop.org/drm/intel/-/issues/1911
Cc Gwan-gyeong Mun <[email protected]>Signed-off-by José Roberto de Souza <[email protected]>--- lib/igt_psr.c | 13 +++++++++++++ lib/igt_psr.h | 1 + tests/kms_psr2_su.c | 2 ++ 3 files changed, 16 insertions(+)lib/igt_psr.c +2
-0@@ -229,3 +229,16 @@ bool psr2_wait_su(int debugfs_fd, uint16_t *num_su_blocks) {return igt_wait (psr2_read_last_num_su_blocks_val (debugfs_fd, num_su_blocks),40 ,1 ); } + +void psr_print_debugfs (int debugfs_fd)
lib/igt_psr.c bool psr2_wait_su(int debugfs_fd, uint16_t *num_su_blocks) · line 243
Quoted 10 lines
lib/igt_psr.c +10
-0+{ +char buf[PSR_STATUS_MAX_LEN ]; +int ret; + + ret =igt_debugfs_simple_read (debugfs_fd,"i915_edp_psr_status" , buf, +sizeof (buf)); +if (ret <0 ) +return ; + +igt_debug ("%s" , buf);
Does the buf always have a newline here? Even when the file has exactly PSR_STATUS_MAX_LEN bytes?
Signature · 5 lines
Petri Latvala _______________________________________________ igt-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/igt-dev
Re: [igt-dev] [PATCH i-g-t 2/2] tests/kms_psr2_su: Print debugfs when skipping test
Quoted 30 lines · Petri Latvala
Quoted 29 lines · José Roberto de Souza
This tests is being sporadically skipped in CI as it is not due "PSR sink not reliable: yes" lets print the
i915_edp_psr_statusto find out the reason.
This can be reverted afterwards.Reference: https://gitlab.freedesktop.org/drm/intel/-/issues/1911
Cc Gwan-gyeong Mun <[email protected]>Signed-off-by José Roberto de Souza <[email protected]>--- lib/igt_psr.c | 13 +++++++++++++ lib/igt_psr.h | 1 + tests/kms_psr2_su.c | 2 ++ 3 files changed, 16 insertions(+)lib/igt_psr.c +7
-0@@ -229,3 +229,16 @@ bool psr2_wait_su(int debugfs_fd, uint16_t *num_su_blocks) {return igt_wait (psr2_read_last_num_su_blocks_val (debugfs_fd, num_su_blocks),40 ,1 ); } + +void psr_print_debugfs (int debugfs_fd) +{ +char buf[PSR_STATUS_MAX_LEN ]; +int ret; + + ret = igt_debugfs_simple_read(debugfs_fd, "i915_edp_psr_status", buf,
Quoted 8 lines
lib/igt_psr.c bool psr2_wait_su(int debugfs_fd, uint16_t *num_su_blocks) · line 243
Quoted 5 lines
lib/igt_psr.c +5
-0+ sizeof(buf)); +if (ret <0 ) +return ; + +igt_debug ("%s" , buf);Does the buf always have a newline here? Even when the file has exactly
PSR_STATUS_MAX_LENbytes?
i915_edp_psr_status is always smaller than PSR_STATUS_MAX_LEN otherwise it would break tests and it ends with "\n" but I can add it too.
Quoted 2 lines
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
Mun, Gwan-gyeong
Reviewed-byRe: [igt-dev] [PATCH i-g-t 2/2] tests/kms_psr2_su: Print debugfs when skipping test
As Jose explained, i915_edp_psr_status() function writes "i915_edp_psr_status" file. [drivers/gpu/drm/i915/display/intel_display_debugfs.c]
And when the i915_edp_psr_status() writes psr information, it puts new line.
It will be helpful for tracking of skipping PSR issue.
Quoted 50 lines · Jose
Quoted 35 lines · Petri Latvala
Quoted 33 lines · José Roberto de Souza
This tests is being sporadically skipped in CI as it is not due "PSR sink not reliable: yes" lets print the
i915_edp_psr_statusto
find out the reason.
This can be reverted afterwards.Reference: https://gitlab.freedesktop.org/drm/intel/-/issues/1911
Cc Gwan-gyeong Mun <[email protected]>Signed-off-by José Roberto de Souza <[email protected]>--- lib/igt_psr.c | 13 +++++++++++++ lib/igt_psr.h | 1 + tests/kms_psr2_su.c | 2 ++ 3 files changed, 16 insertions(+)lib/igt_psr.c +0
-0@@ -229,3 +229,16 @@ bool psr2_wait_su(int debugfs_fd, uint16_t *num_su_blocks) { return igt_wait(psr2_read_last_num_su_blocks_val(debugfs_fd,
num_su_blocks), 40, 1);
}lib/igt_psr.c +7
-0+ +void psr_print_debugfs (int debugfs_fd) +{ +char buf[PSR_STATUS_MAX_LEN ]; +int ret; + + ret = igt_debugfs_simple_read(debugfs_fd,"
i915_edp_psr_status", buf,Quoted 8 lines
lib/igt_psr.c bool psr2_wait_su(int debugfs_fd, uint16_t *num_su_blocks) · line 243
Quoted 5 lines
lib/igt_psr.c +5
-0+ sizeof(buf)); +if (ret <0 ) +return ; + +igt_debug ("%s" , buf);Does the buf always have a newline here? Even when the file has exactly
PSR_STATUS_MAX_LENbytes?
i915_edp_psr_statusis always smaller thanPSR_STATUS_MAX_LENotherwise it would break tests and it ends with "\n" but I can add it too.Quoted 1 line
Quoted 4 lines
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
Re: [igt-dev] [PATCH i-g-t 2/2] tests/kms_psr2_su: Print debugfs when skipping test
Quoted 10 lines · Gwan-gyeong
As Jose explained,
i915_edp_psr_status()function writes "i915_edp_psr_status" file. [drivers/gpu/drm/i915/display/intel_display_debugfs.c]And when the
i915_edp_psr_status()writes psr information, it puts new line.It will be helpful for tracking of skipping PSR issue.
Reviewed-by Gwan-gyeong Mun <[email protected]>
Pushed, thanks for the reviews.
Quoted 47 lines · Jose
Quoted 45 lines · Petri Latvala
Quoted 43 lines
Quoted 33 lines · José Roberto de Souza
This tests is being sporadically skipped in CI as it is not due "PSR sink not reliable: yes" lets print the
i915_edp_psr_statusto
find out the reason.
This can be reverted afterwards.Reference: https://gitlab.freedesktop.org/drm/intel/-/issues/1911
Cc Gwan-gyeong Mun <[email protected]>Signed-off-by José Roberto de Souza <[email protected]>--- lib/igt_psr.c | 13 +++++++++++++ lib/igt_psr.h | 1 + tests/kms_psr2_su.c | 2 ++ 3 files changed, 16 insertions(+)lib/igt_psr.c +0
-0@@ -229,3 +229,16 @@ bool psr2_wait_su(int debugfs_fd, uint16_t *num_su_blocks) { return igt_wait(psr2_read_last_num_su_blocks_val(debugfs_fd,
num_su_blocks), 40, 1);
}lib/igt_psr.c +7
-0+ +void psr_print_debugfs (int debugfs_fd) +{ +char buf[PSR_STATUS_MAX_LEN ]; +int ret; + + ret = igt_debugfs_simple_read(debugfs_fd,"
i915_edp_psr_status", buf,lib/igt_psr.c bool psr2_wait_su(int debugfs_fd, uint16_t *num_su_blocks) · line 243
Quoted 5 lines
lib/igt_psr.c +5
-0+ sizeof(buf)); +if (ret <0 ) +return ; + +igt_debug ("%s" , buf);Does the buf always have a newline here? Even when the file has exactly
PSR_STATUS_MAX_LENbytes?
Quoted 8 lines
Quoted 8 lines
i915_edp_psr_statusis always smaller thanPSR_STATUS_MAX_LENotherwise it would break tests and it ends with "\n" but I can add it too._______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
Patchwork
CI[igt-dev] ✓ Fi.CI.BAT: success for series starting with [i-g-t,1/2] tests/kms_psr2_su: Read su blocks of frame 1 if frame 0 is 0
In reply to José Roberto de Souza== Series Details ==
== Series Details ==
Series: series starting with [i-g-t,1/2] tests/kms_psr2_su: Read su blocks of frame 1 if frame 0 is 0
URL : https://patchwork.freedesktop.org/series/77807/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_8557 -> IGTPW_4626
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4626/index.html
Changes
-------
No changes found
Participating hosts (50 -> 44)
------------------------------
Missing (6): fi-ilk-m540 fi-hsw-4200u fi-byt-squawks fi-bsw-cyan fi-byt-clapper fi-bdw-samus
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_5684 -> IGTPW_4626
CI-20190529: 20190529
CI_DRM_8557: cd02c2938ef1c5e2ca72b8240918151060dfbf92 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_4626: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4626/index.html
IGT_5684: bd399f5eb8263bb4a84ae6a5bb1a13d329e0515d @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4626/index.html
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
Patchwork
CI[igt-dev] ✓ Fi.CI.IGT: success for series starting with [i-g-t,1/2] tests/kms_psr2_su: Read su blocks of frame 1 if frame 0 is 0
In reply to José Roberto de Souza== Series Details ==
== Series Details ==
Series: series starting with [i-g-t,1/2] tests/kms_psr2_su: Read su blocks of frame 1 if frame 0 is 0
URL : https://patchwork.freedesktop.org/series/77807/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_8557_full -> IGTPW_4626_full
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4626/index.html
Known issues
------------
Here are the changes found in IGTPW_4626_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@kms_big_fb@y-tiled-64bpp-rotate-180:
- shard-glk: [PASS][1] -> [FAIL][2] ([i915#1119] / [i915#118] / [i915#95])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8557/shard-glk9/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4626/shard-glk8/igt@[email protected]
* igt@kms_cursor_crc@pipe-a-cursor-256x85-offscreen:
- shard-kbl: [PASS][3] -> [FAIL][4] ([i915#54] / [i915#93] / [i915#95]) +2 similar issues
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8557/shard-kbl1/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4626/shard-kbl7/igt@[email protected]
* igt@kms_cursor_crc@pipe-a-cursor-size-change:
- shard-apl: [PASS][5] -> [FAIL][6] ([i915#54] / [i915#95])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8557/shard-apl6/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4626/shard-apl7/igt@[email protected]
* igt@kms_cursor_crc@pipe-c-cursor-suspend:
- shard-kbl: [PASS][7] -> [DMESG-WARN][8] ([i915#180]) +2 similar issues
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8557/shard-kbl4/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4626/shard-kbl4/igt@[email protected]
* igt@kms_cursor_legacy@pipe-c-torture-bo:
- shard-iclb: [PASS][9] -> [DMESG-WARN][10] ([i915#128])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8557/shard-iclb5/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4626/shard-iclb1/igt@[email protected]
* igt@kms_flip_tiling@flip-changes-tiling-y:
- shard-apl: [PASS][11] -> [FAIL][12] ([i915#95])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8557/shard-apl1/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4626/shard-apl4/igt@[email protected]
- shard-kbl: [PASS][13] -> [FAIL][14] ([i915#699] / [i915#93] / [i915#95])
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8557/shard-kbl1/igt@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4626/shard-kbl1/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-fullscreen:
- shard-snb: [PASS][15] -> [SKIP][16] ([fdo#109271]) +2 similar issues
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8557/shard-snb4/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-fullscreen.html
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4626/shard-snb4/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-fullscreen.html
* igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-shrfb-plflip-blt:
- shard-glk: [PASS][17] -> [FAIL][18] ([i915#49])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8557/shard-glk7/igt@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4626/shard-glk6/igt@[email protected]
* igt@kms_plane@plane-panning-bottom-right-suspend-pipe-a-planes:
- shard-apl: [PASS][19] -> [DMESG-WARN][20] ([i915#180]) +2 similar issues
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8557/shard-apl2/igt@[email protected]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4626/shard-apl4/igt@[email protected]
* igt@kms_psr@no_drrs:
- shard-iclb: [PASS][21] -> [FAIL][22] ([i915#173])
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8557/shard-iclb4/igt@kms_psr@no_drrs.html
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4626/shard-iclb1/igt@kms_psr@no_drrs.html
* igt@kms_psr@psr2_sprite_mmap_cpu:
- shard-iclb: [PASS][23] -> [SKIP][24] ([fdo#109441])
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8557/shard-iclb2/igt@kms_psr@psr2_sprite_mmap_cpu.html
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4626/shard-iclb8/igt@kms_psr@psr2_sprite_mmap_cpu.html
* igt@kms_vblank@pipe-b-query-forked:
- shard-hsw: [PASS][25] -> [INCOMPLETE][26] ([i915#61])
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8557/shard-hsw1/igt@[email protected]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4626/shard-hsw1/igt@[email protected]
#### Possible fixes ####
* igt@gem_softpin@noreloc-s3:
- shard-apl: [DMESG-WARN][27] ([i915#180]) -> [PASS][28] +1 similar issue
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8557/shard-apl4/igt@[email protected]
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4626/shard-apl8/igt@[email protected]
* igt@gem_vm_create@isolation:
- shard-apl: [TIMEOUT][29] ([i915#1635]) -> [PASS][30] +3 similar issues
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8557/shard-apl7/igt@[email protected]
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4626/shard-apl2/igt@[email protected]
* igt@gen9_exec_parse@allowed-all:
- shard-apl: [DMESG-WARN][31] ([i915#1436] / [i915#716]) -> [PASS][32]
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8557/shard-apl4/igt@[email protected]
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4626/shard-apl8/igt@[email protected]
* igt@i915_pm_dc@dc6-psr:
- shard-iclb: [FAIL][33] ([i915#1899]) -> [PASS][34]
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8557/shard-iclb4/igt@[email protected]
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4626/shard-iclb3/igt@[email protected]
* igt@kms_cursor_crc@pipe-a-cursor-64x21-random:
- shard-kbl: [FAIL][35] ([i915#54] / [i915#93] / [i915#95]) -> [PASS][36]
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8557/shard-kbl4/igt@[email protected]
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4626/shard-kbl6/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-a-constant-alpha-mid:
- shard-kbl: [FAIL][37] ([fdo#108145] / [i915#265] / [i915#93] / [i915#95]) -> [PASS][38]
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8557/shard-kbl2/igt@[email protected]
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4626/shard-kbl1/igt@[email protected]
- shard-apl: [FAIL][39] ([fdo#108145] / [i915#265] / [i915#95]) -> [PASS][40]
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8557/shard-apl8/igt@[email protected]
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4626/shard-apl4/igt@[email protected]
* {igt@kms_prime@basic-crc@second-to-first}:
- shard-apl: [FAIL][41] ([i915#95]) -> [PASS][42]
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8557/shard-apl1/igt@kms_prime@[email protected]
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4626/shard-apl8/igt@kms_prime@[email protected]
- shard-kbl: [FAIL][43] ([i915#93] / [i915#95]) -> [PASS][44]
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8557/shard-kbl6/igt@kms_prime@[email protected]
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4626/shard-kbl1/igt@kms_prime@[email protected]
* igt@kms_psr2_su@page_flip:
- shard-tglb: [FAIL][45] ([i915#608]) -> [PASS][46]
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8557/shard-tglb6/igt@kms_psr2_su@page_flip.html
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4626/shard-tglb7/igt@kms_psr2_su@page_flip.html
* igt@kms_psr@psr2_primary_page_flip:
- shard-iclb: [SKIP][47] ([fdo#109441]) -> [PASS][48] +3 similar issues
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8557/shard-iclb8/igt@kms_psr@psr2_primary_page_flip.html
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4626/shard-iclb2/igt@kms_psr@psr2_primary_page_flip.html
* igt@kms_vblank@pipe-a-ts-continuation-suspend:
- shard-kbl: [DMESG-WARN][49] ([i915#180]) -> [PASS][50] +6 similar issues
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8557/shard-kbl7/igt@[email protected]
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4626/shard-kbl6/igt@[email protected]
#### Warnings ####
* igt@i915_pm_dc@dc3co-vpb-simulation:
- shard-iclb: [SKIP][51] ([i915#588]) -> [SKIP][52] ([i915#658])
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8557/shard-iclb2/igt@[email protected]
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4626/shard-iclb3/igt@[email protected]
* igt@i915_pm_dc@dc6-dpms:
- shard-tglb: [SKIP][53] ([i915#468]) -> [FAIL][54] ([i915#454])
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8557/shard-tglb2/igt@[email protected]
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4626/shard-tglb7/igt@[email protected]
* igt@i915_pm_dc@dc6-psr:
- shard-tglb: [FAIL][55] ([i915#1899]) -> [FAIL][56] ([i915#454])
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8557/shard-tglb6/igt@[email protected]
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4626/shard-tglb1/igt@[email protected]
* igt@kms_content_protection@legacy:
- shard-apl: [FAIL][57] ([fdo#110321] / [fdo#110336]) -> [TIMEOUT][58] ([i915#1319] / [i915#1635])
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8557/shard-apl2/igt@[email protected]
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4626/shard-apl8/igt@[email protected]
* igt@kms_content_protection@lic:
- shard-kbl: [TIMEOUT][59] ([i915#1319]) -> [FAIL][60] ([fdo#110321] / [i915#93] / [i915#95])
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8557/shard-kbl4/igt@[email protected]
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4626/shard-kbl2/igt@[email protected]
* igt@kms_content_protection@srm:
- shard-apl: [TIMEOUT][61] ([i915#1319]) -> [FAIL][62] ([fdo#110321])
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8557/shard-apl7/igt@[email protected]
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4626/shard-apl1/igt@[email protected]
* igt@kms_cursor_legacy@cursora-vs-flipb-toggle:
- shard-glk: [DMESG-WARN][63] ([i915#1926]) -> [DMESG-FAIL][64] ([i915#1925] / [i915#1926])
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8557/shard-glk4/igt@[email protected]
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4626/shard-glk1/igt@[email protected]
* igt@kms_frontbuffer_tracking@psr-2p-scndscrn-pri-shrfb-draw-mmap-gtt:
- shard-apl: [TIMEOUT][65] ([i915#1635]) -> [SKIP][66] ([fdo#109271])
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8557/shard-apl7/igt@kms_frontbuffer_tracking@psr-2p-scndscrn-pri-shrfb-draw-mmap-gtt.html
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4626/shard-apl4/igt@kms_frontbuffer_tracking@psr-2p-scndscrn-pri-shrfb-draw-mmap-gtt.html
* igt@kms_plane_alpha_blend@pipe-a-alpha-opaque-fb:
- shard-apl: [FAIL][67] ([fdo#108145] / [i915#265]) -> [FAIL][68] ([fdo#108145] / [i915#265] / [i915#95])
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8557/shard-apl1/igt@[email protected]
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4626/shard-apl1/igt@[email protected]
- shard-kbl: [FAIL][69] ([fdo#108145] / [i915#265]) -> [FAIL][70] ([fdo#108145] / [i915#265] / [i915#93] / [i915#95])
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8557/shard-kbl1/igt@[email protected]
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4626/shard-kbl7/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-c-alpha-basic:
- shard-kbl: [FAIL][71] ([fdo#108145] / [i915#265] / [i915#93] / [i915#95]) -> [FAIL][72] ([fdo#108145] / [i915#265])
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8557/shard-kbl1/igt@[email protected]
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4626/shard-kbl2/igt@[email protected]
- shard-apl: [FAIL][73] ([fdo#108145] / [i915#265] / [i915#95]) -> [FAIL][74] ([fdo#108145] / [i915#265])
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8557/shard-apl7/igt@[email protected]
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4626/shard-apl6/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#108145]: https://bugs.freedesktop.org/show_bug.cgi?id=108145
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441
[fdo#110321]: https://bugs.freedesktop.org/show_bug.cgi?id=110321
[fdo#110336]: https://bugs.freedesktop.org/show_bug.cgi?id=110336
[i915#1119]: https://gitlab.freedesktop.org/drm/intel/issues/1119
[i915#118]: https://gitlab.freedesktop.org/drm/intel/issues/118
[i915#128]: https://gitlab.freedesktop.org/drm/intel/issues/128
[i915#1319]: https://gitlab.freedesktop.org/drm/intel/issues/1319
[i915#1436]: https://gitlab.freedesktop.org/drm/intel/issues/1436
[i915#1635]: https://gitlab.freedesktop.org/drm/intel/issues/1635
[i915#173]: https://gitlab.freedesktop.org/drm/intel/issues/173
[i915#180]: https://gitlab.freedesktop.org/drm/intel/issues/180
[i915#1899]: https://gitlab.freedesktop.org/drm/intel/issues/1899
[i915#1925]: https://gitlab.freedesktop.org/drm/intel/issues/1925
[i915#1926]: https://gitlab.freedesktop.org/drm/intel/issues/1926
[i915#1930]: https://gitlab.freedesktop.org/drm/intel/issues/1930
[i915#265]: https://gitlab.freedesktop.org/drm/intel/issues/265
[i915#454]: https://gitlab.freedesktop.org/drm/intel/issues/454
[i915#468]: https://gitlab.freedesktop.org/drm/intel/issues/468
[i915#49]: https://gitlab.freedesktop.org/drm/intel/issues/49
[i915#54]: https://gitlab.freedesktop.org/drm/intel/issues/54
[i915#588]: https://gitlab.freedesktop.org/drm/intel/issues/588
[i915#608]: https://gitlab.freedesktop.org/drm/intel/issues/608
[i915#61]: https://gitlab.freedesktop.org/drm/intel/issues/61
[i915#658]: https://gitlab.freedesktop.org/drm/intel/issues/658
[i915#699]: https://gitlab.freedesktop.org/drm/intel/issues/699
[i915#716]: https://gitlab.freedesktop.org/drm/intel/issues/716
[i915#93]: https://gitlab.freedesktop.org/drm/intel/issues/93
[i915#95]: https://gitlab.freedesktop.org/drm/intel/issues/95
Participating hosts (11 -> 8)
------------------------------
Missing (3): pig-skl-6260u pig-glk-j5005 pig-icl-1065g7
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_5684 -> IGTPW_4626
* Piglit: piglit_4509 -> None
CI-20190529: 20190529
CI_DRM_8557: cd02c2938ef1c5e2ca72b8240918151060dfbf92 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_4626: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4626/index.html
IGT_5684: bd399f5eb8263bb4a84ae6a5bb1a13d329e0515d @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
piglit_4509: fdc5a4ca11124ab8413c7988896eec4c97336694 @ git://anongit.freedesktop.org/piglit
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4626/index.html
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
I have tested this patch on ICL with PSR2 panel. It solves the issue "No matching selective update blocks read from debugfs".
Quoted 49 lines · José Roberto de Souza
Not sure why but in recent kernels + IGT when PSR status debugfs is read the frame already passed, so the su blocks is set in frame 1 and causing the test to fail for page flips.
So here reading from frame 1 if frame 0 has 0 blocks, as this test always changes screen with the same number of su blocks it is not a issue.Cc Gwan-gyeong Mun <[email protected]>Signed-off-by José Roberto de Souza <[email protected]>--- lib/igt_psr.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-)lib/igt_psr.c +2
-1@@ -195,11 +195,12 @@ bool psr_sink_support(int device, int debugfs_fd, enum psr_mode mode)#define PSR2_SU_BLOCK_STR_LOOKUP "PSR2 SU blocks:\n0\t" +/* Return the the last or last but one su blocks */ static bool psr2_read_last_num_su_blocks_val (int debugfs_fd,uint16_t *num_su_blocks) {char buf[PSR_STATUS_MAX_LEN ]; -char *str; +char *str, *str2;int ret;ret = igt_debugfs_simple_read(debugfs_fd,
"i915_edp_psr_status", buf,lib/igt_psr.c +7
-0@@ -212,6 +213,13 @@ psr2_read_last_num_su_blocks_val(int debugfs_fd, uint16_t *num_su_blocks)return false; str = &str[strlen (PSR2_SU_BLOCK_STR_LOOKUP )]; + *num_su_blocks = (uint16_t )strtol (str, &str2,10 ); +if (*num_su_blocks !=0 ) +return true; + + str = str2; +/* Jump '\n''1''\t' */ + str +=3 ; *num_su_blocks = (uint16_t )strtol (str,NULL ,10 );
Quoted 1 line
return true;
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev