i915/gem_pread: Added test description for test case
PATCH 1/1 i915/gem_pread: Added test description for test case
From: Apoorva Singh <[email protected]>
Added test description to all the available subtests.
--- tests/i915/gem_pread.c | 7 +++++++ 1 file changed, 7 insertions(+)
tests/i915/gem_pread.c +7 -0
@@ -39,6 +39,8 @@#include <sys/time.h> #include "drm.h" +IGT_TEST_DESCRIPTION ("Basic sanity and perfromance testing of PREAD IOCTL." ); +#define MiB (x) ((x) * 1024 * 1024)typedef void *(*mmap_fn_t )(int ,uint32_t ,uint64_t ,uint64_t ,unsigned int );
@@ -154,6 +156,7 @@ igt_main_args("s:", NULL, help_str, opt_handler, NULL) src =malloc (object_size); } +igt_describe ("Test the performance of reading from gem object" ); igt_subtest("bench") {for (count =1 ; count <=1 <<17 ; count <<=1 ) {struct timeval start, end;
@@ -169,10 +172,14 @@ igt_main_args("s:", NULL, help_str, opt_handler, NULL) } } +igt_describe ("Verify reading from gem object into address space mapped " +"(using different mapping methods) to itself works fine" ); igt_subtest("self")pread_self (fd);for (c = cache; c->level !=-1 ; c++) { +igt_describe_f ("Test the performance of reading from gem object with " +"%s caching mode" , c->name); igt_subtest(c->name) {gem_set_caching (fd, dst, c->level);
Signature · 6 lines
2.28.0 _______________________________________________ igt-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/igt-dev
Patchwork
CI[igt-dev] ✓ Fi.CI.BAT: success for i915/gem_pread: Added test description for test case
== Series Details ==
== Series Details ==
Series: i915/gem_pread: Added test description for test case
URL : https://patchwork.freedesktop.org/series/81391/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_8966 -> IGTPW_4957
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4957/index.html
Known issues
------------
Here are the changes found in IGTPW_4957 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@i915_selftest@live@gem_contexts:
- fi-tgl-u2: [PASS][1] -> [INCOMPLETE][2] ([i915#2045])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8966/fi-tgl-u2/igt@i915_selftest@live@gem_contexts.html
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4957/fi-tgl-u2/igt@i915_selftest@live@gem_contexts.html
* igt@kms_chamelium@dp-crc-fast:
- fi-kbl-7500u: [PASS][3] -> [FAIL][4] ([i915#262])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8966/fi-kbl-7500u/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4957/fi-kbl-7500u/igt@[email protected]
* igt@kms_cursor_legacy@basic-busy-flip-before-cursor-atomic:
- fi-bsw-kefka: [PASS][5] -> [DMESG-WARN][6] ([i915#1982])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8966/fi-bsw-kefka/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4957/fi-bsw-kefka/igt@[email protected]
#### Possible fixes ####
* igt@kms_cursor_legacy@basic-busy-flip-before-cursor-atomic:
- fi-bsw-n3050: [DMESG-WARN][7] ([i915#1982]) -> [PASS][8]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8966/fi-bsw-n3050/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4957/fi-bsw-n3050/igt@[email protected]
- fi-icl-u2: [DMESG-WARN][9] ([i915#1982]) -> [PASS][10]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8966/fi-icl-u2/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4957/fi-icl-u2/igt@[email protected]
[i915#1982]: https://gitlab.freedesktop.org/drm/intel/issues/1982
[i915#2045]: https://gitlab.freedesktop.org/drm/intel/issues/2045
[i915#262]: https://gitlab.freedesktop.org/drm/intel/issues/262
Participating hosts (35 -> 31)
------------------------------
Missing (4): fi-byt-clapper fi-skl-guc fi-byt-squawks fi-bsw-cyan
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_5779 -> IGTPW_4957
CI-20190529: 20190529
CI_DRM_8966: 62fbde8cd1525ed74aeaf40fb77d23d8a1b92d43 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_4957: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4957/index.html
IGT_5779: f52bf19b5f02d52fc3e201c6467ec3f511227fba @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4957/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 i915/gem_pread: Added test description for test case
In reply to [email protected]== Series Details ==
== Series Details ==
Series: i915/gem_pread: Added test description for test case
URL : https://patchwork.freedesktop.org/series/81391/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_8966_full -> IGTPW_4957_full
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4957/index.html
Known issues
------------
Here are the changes found in IGTPW_4957_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_ctx_isolation@preservation-s3@rcs0:
- shard-apl: [PASS][1] -> [INCOMPLETE][2] ([i915#1635])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8966/shard-apl8/igt@gem_ctx_isolation@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4957/shard-apl6/igt@gem_ctx_isolation@[email protected]
* igt@gem_exec_gttfill@all:
- shard-glk: [PASS][3] -> [DMESG-WARN][4] ([i915#118] / [i915#95]) +3 similar issues
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8966/shard-glk4/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4957/shard-glk2/igt@[email protected]
* igt@gem_exec_reloc@basic-many-active@rcs0:
- shard-glk: [PASS][5] -> [FAIL][6] ([i915#2389]) +2 similar issues
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8966/shard-glk3/igt@gem_exec_reloc@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4957/shard-glk4/igt@gem_exec_reloc@[email protected]
* igt@i915_pm_dc@dc6-psr:
- shard-iclb: [PASS][7] -> [FAIL][8] ([i915#454])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8966/shard-iclb3/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4957/shard-iclb4/igt@[email protected]
* igt@kms_color@pipe-b-ctm-green-to-red:
- shard-apl: [PASS][9] -> [FAIL][10] ([i915#129] / [i915#1635])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8966/shard-apl7/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4957/shard-apl3/igt@[email protected]
- shard-kbl: [PASS][11] -> [FAIL][12] ([i915#129])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8966/shard-kbl4/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4957/shard-kbl1/igt@[email protected]
* igt@kms_cursor_crc@pipe-a-cursor-128x42-onscreen:
- shard-glk: [PASS][13] -> [FAIL][14] ([i915#54])
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8966/shard-glk6/igt@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4957/shard-glk3/igt@[email protected]
- shard-apl: [PASS][15] -> [FAIL][16] ([i915#1635] / [i915#54])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8966/shard-apl3/igt@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4957/shard-apl7/igt@[email protected]
- shard-kbl: [PASS][17] -> [FAIL][18] ([i915#54])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8966/shard-kbl7/igt@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4957/shard-kbl1/igt@[email protected]
* igt@kms_cursor_edge_walk@pipe-b-64x64-left-edge:
- shard-glk: [PASS][19] -> [DMESG-WARN][20] ([i915#1982]) +1 similar issue
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8966/shard-glk6/igt@[email protected]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4957/shard-glk7/igt@[email protected]
* igt@kms_cursor_legacy@2x-long-cursor-vs-flip-legacy:
- shard-hsw: [PASS][21] -> [FAIL][22] ([i915#96])
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8966/shard-hsw4/igt@[email protected]
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4957/shard-hsw6/igt@[email protected]
* igt@kms_flip@flip-vs-suspend-interruptible@a-dp1:
- shard-kbl: [PASS][23] -> [DMESG-WARN][24] ([i915#180]) +8 similar issues
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8966/shard-kbl7/igt@kms_flip@[email protected]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4957/shard-kbl7/igt@kms_flip@[email protected]
* igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-cur-indfb-move:
- shard-tglb: [PASS][25] -> [DMESG-WARN][26] ([i915#1982]) +4 similar issues
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8966/shard-tglb1/igt@[email protected]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4957/shard-tglb2/igt@[email protected]
* igt@kms_psr@psr2_primary_mmap_gtt:
- shard-iclb: [PASS][27] -> [SKIP][28] ([fdo#109441])
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8966/shard-iclb2/igt@kms_psr@psr2_primary_mmap_gtt.html
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4957/shard-iclb3/igt@kms_psr@psr2_primary_mmap_gtt.html
#### Possible fixes ####
* igt@gem_exec_suspend@basic-s3:
- shard-kbl: [DMESG-WARN][29] ([i915#180]) -> [PASS][30] +6 similar issues
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8966/shard-kbl1/igt@[email protected]
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4957/shard-kbl1/igt@[email protected]
* igt@gem_exec_whisper@basic-queues-forked-all:
- shard-glk: [DMESG-WARN][31] ([i915#118] / [i915#95]) -> [PASS][32]
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8966/shard-glk3/igt@[email protected]
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4957/shard-glk4/igt@[email protected]
* igt@gem_softpin@noreloc-s3:
- shard-apl: [INCOMPLETE][33] ([i915#1635]) -> [PASS][34]
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8966/shard-apl8/igt@[email protected]
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4957/shard-apl6/igt@[email protected]
* igt@i915_selftest@live@active:
- shard-glk: [DMESG-FAIL][35] ([i915#666] / [i915#765]) -> [PASS][36]
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8966/shard-glk2/igt@i915_selftest@[email protected]
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4957/shard-glk4/igt@i915_selftest@[email protected]
* igt@kms_big_fb@y-tiled-8bpp-rotate-0:
- shard-kbl: [DMESG-WARN][37] ([i915#1982]) -> [PASS][38] +3 similar issues
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8966/shard-kbl4/igt@[email protected]
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4957/shard-kbl1/igt@[email protected]
* igt@kms_cursor_edge_walk@pipe-b-256x256-left-edge:
- shard-glk: [DMESG-WARN][39] ([i915#1982]) -> [PASS][40] +2 similar issues
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8966/shard-glk2/igt@[email protected]
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4957/shard-glk1/igt@[email protected]
- shard-apl: [DMESG-WARN][41] ([i915#1635] / [i915#1982]) -> [PASS][42] +1 similar issue
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8966/shard-apl2/igt@[email protected]
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4957/shard-apl4/igt@[email protected]
* igt@kms_flip@flip-vs-suspend-interruptible@a-vga1:
- shard-hsw: [INCOMPLETE][43] ([i915#2055]) -> [PASS][44]
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8966/shard-hsw4/igt@kms_flip@[email protected]
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4957/shard-hsw4/igt@kms_flip@[email protected]
* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-pri-shrfb-draw-pwrite:
- shard-iclb: [DMESG-WARN][45] ([i915#1982]) -> [PASS][46]
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8966/shard-iclb5/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-pri-shrfb-draw-pwrite.html
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4957/shard-iclb8/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-pri-shrfb-draw-pwrite.html
* igt@kms_frontbuffer_tracking@fbc-2p-primscrn-cur-indfb-draw-blt:
- shard-glk: [FAIL][47] ([i915#49]) -> [PASS][48]
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8966/shard-glk6/igt@[email protected]
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4957/shard-glk4/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-indfb-plflip-blt:
- shard-tglb: [DMESG-WARN][49] ([i915#1982]) -> [PASS][50] +3 similar issues
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8966/shard-tglb1/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-indfb-plflip-blt.html
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4957/shard-tglb8/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-indfb-plflip-blt.html
* igt@kms_psr2_su@page_flip:
- shard-tglb: [SKIP][51] ([i915#1911]) -> [PASS][52]
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8966/shard-tglb1/igt@kms_psr2_su@page_flip.html
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4957/shard-tglb8/igt@kms_psr2_su@page_flip.html
* igt@kms_psr@psr2_sprite_blt:
- shard-iclb: [SKIP][53] ([fdo#109441]) -> [PASS][54] +3 similar issues
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8966/shard-iclb1/igt@kms_psr@psr2_sprite_blt.html
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4957/shard-iclb2/igt@kms_psr@psr2_sprite_blt.html
#### Warnings ####
* igt@i915_pm_dc@dc3co-vpb-simulation:
- shard-iclb: [SKIP][55] ([i915#658]) -> [SKIP][56] ([i915#588])
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8966/shard-iclb8/igt@[email protected]
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4957/shard-iclb2/igt@[email protected]
* igt@kms_content_protection@srm:
- shard-apl: [TIMEOUT][57] ([i915#1319] / [i915#1635] / [i915#1958]) -> [FAIL][58] ([fdo#110321] / [i915#1635])
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8966/shard-apl1/igt@[email protected]
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4957/shard-apl7/igt@[email protected]
[fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441
[fdo#110321]: https://bugs.freedesktop.org/show_bug.cgi?id=110321
[i915#118]: https://gitlab.freedesktop.org/drm/intel/issues/118
[i915#129]: https://gitlab.freedesktop.org/drm/intel/issues/129
[i915#1319]: https://gitlab.freedesktop.org/drm/intel/issues/1319
[i915#1635]: https://gitlab.freedesktop.org/drm/intel/issues/1635
[i915#180]: https://gitlab.freedesktop.org/drm/intel/issues/180
[i915#1911]: https://gitlab.freedesktop.org/drm/intel/issues/1911
[i915#1958]: https://gitlab.freedesktop.org/drm/intel/issues/1958
[i915#1982]: https://gitlab.freedesktop.org/drm/intel/issues/1982
[i915#2055]: https://gitlab.freedesktop.org/drm/intel/issues/2055
[i915#2389]: https://gitlab.freedesktop.org/drm/intel/issues/2389
[i915#454]: https://gitlab.freedesktop.org/drm/intel/issues/454
[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#658]: https://gitlab.freedesktop.org/drm/intel/issues/658
[i915#666]: https://gitlab.freedesktop.org/drm/intel/issues/666
[i915#765]: https://gitlab.freedesktop.org/drm/intel/issues/765
[i915#95]: https://gitlab.freedesktop.org/drm/intel/issues/95
[i915#96]: https://gitlab.freedesktop.org/drm/intel/issues/96
Participating hosts (10 -> 8)
------------------------------
Missing (2): pig-skl-6260u pig-glk-j5005
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_5779 -> IGTPW_4957
* Piglit: piglit_4509 -> None
CI-20190529: 20190529
CI_DRM_8966: 62fbde8cd1525ed74aeaf40fb77d23d8a1b92d43 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_4957: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4957/index.html
IGT_5779: f52bf19b5f02d52fc3e201c6467ec3f511227fba @ 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_4957/index.html
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
Quoted 37 lines · On Sat, Sep 05, 2020 at 05:02:03PM +0530, [email protected] wrote:
From: Apoorva Singh <[email protected]>
Added test description to all the available subtests.
Signed-off-by Apoorva Singh <[email protected]>Cc Melkaveri, Arjun <[email protected]>Cc Priyanka Dandamudi <[email protected]>--- tests/i915/gem_pread.c | 7 +++++++ 1 file changed, 7 insertions(+)tests/i915/gem_pread.c +4
-0@@ -39,6 +39,8 @@#include <sys/time.h> #include "drm.h" +IGT_TEST_DESCRIPTION ("Basic sanity and perfromance testing of PREAD IOCTL." ); +#define MiB (x) ((x) * 1024 * 1024)typedef void *(*mmap_fn_t )(int ,uint32_t ,uint64_t ,uint64_t ,unsigned int );@@ -154,6 +156,7 @@ igt_main_args("s:", NULL, help_str, opt_handler, NULL) src =malloc (object_size); } +igt_describe ("Test the performance of reading from gem object" ); igt_subtest("bench") {for (count =1 ; count <=1 <<17 ; count <<=1 ) {struct timeval start, end;@@ -169,10 +172,14 @@ igt_main_args("s:", NULL, help_str, opt_handler, NULL) } } + igt_describe("Verify reading from gem object into address space mapped "
tests/i915/gem_pread.c igt_main_args("s:", NULL, help_str, opt_handler, NULL) · line 185
Quoted 10 lines
tests/i915/gem_pread.c +3
-0+ "(using different mapping methods) to itself works fine"); igt_subtest("self")pread_self (fd);for (c = cache; c->level !=-1 ; c++) { +igt_describe_f ("Test the performance of reading from gem object with " +"%s caching mode" , c->name); igt_subtest(c->name) {gem_set_caching (fd, dst, c->level);
LGTM :)
Kasia :)
Quoted 7 lines
Signature · 6 lines
2.28.0 _______________________________________________ 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