minor improvements to the kms_cursor_crc doc and some comments cleanup
cover minor improvements to the kms_cursor_crc doc and some comments cleanup
Hi,
I was studying the code of kms_cursor_crc test, and I just adjusted some comments and added descriptions for subtests.
Melissa Wen (2):
lib/igt_fb: change comments with fd description test/kms_cursor_crc: update subtests descriptions and some comments
lib/igt_fb.c | 6 +++--- tests/kms_cursor_crc.c | 38 ++++++++++++++++++++++++++++---------- 2 files changed, 31 insertions(+), 13 deletions(-)
Signature · 6 lines
2.27.0 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH 1/2 lib/igt_fb: change comments with fd description
Generalize description of fd so as not restrict it to i915 driver
--- lib/igt_fb.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
lib/igt_fb.c +3 -3
@@ -3548,7 +3548,7 @@ cairo_surface_t *igt_get_cairo_surface(int fd, struct igt_fb *fb)/** * igt_get_cairo_ctx: -* @fd: open i915 drm file descriptor +* @fd: open drm file descriptor * @fb: pointer to an #igt_fb structure * * This initializes a cairo surface for @fb and then allocates a drawing context
@@ -3578,7 +3578,7 @@ cairo_t *igt_get_cairo_ctx(int fd, struct igt_fb *fb)/** * igt_put_cairo_ctx: -* @fd: open i915 drm file descriptor +* @fd: open drm file descriptor * @fb: pointer to an #igt_fb structure * @cr: the cairo context returned by igt_get_cairo_ctx. *
@@ -3596,7 +3596,7 @@ void igt_put_cairo_ctx(int fd, struct igt_fb *fb, cairo_t *cr)/** * igt_remove_fb: -* @fd: open i915 drm file descriptor +* @fd: open drm file descriptor * @fb: pointer to an #igt_fb structure * * This function releases all resources allocated in igt_create_fb() for @fb.
Signature · 6 lines
2.27.0 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH 2/2 test/kms_cursor_crc: update subtests descriptions and some comments
In reply to Melissa WenAdd descriptions for some subtests and detail a little more the comments in test_cursor_alpha.
--- tests/kms_cursor_crc.c | 38 ++++++++++++++++++++++++++++---------- 1 file changed, 28 insertions(+), 10 deletions(-)
tests/kms_cursor_crc.c +28 -10
@@ -31,12 +31,13 @@IGT_TEST_DESCRIPTION ( -"Use the display CRC support to validate cursor plane functionality. " -"The test will position the cursor plane either fully onscreen, " -"partially onscreen, or fully offscreen, using either a fully opaque " -"or fully transparent surface. In each case it then reads the PF CRC " -"and compares it with the CRC value obtained when the cursor plane " -"was disabled." ); +"Use the display CRC support to validate cursor plane functionality. " \ +"The test will position the cursor plane either fully onscreen, " \ +"partially onscreen, or fully offscreen, using either a fully opaque " \ +"or fully transparent surface. In each case, it enables the cursor plane " \ +"and then reads the PF CRC (hardware test) and compares it with the CRC " \ +"value obtained when the cursor plane was disabled and its drawing is " +"directly inserted on the PF by software." );#ifndef DRM_CAP_CURSOR_WIDTH #define DRM_CAP_CURSOR_WIDTH 0x8
@@ -485,7 +486,7 @@ static void test_cursor_alpha(data_t *data, double a)int curw = data->curw;int curh = data->curh; -/*alpha cursor fb*/ +/*Alpha cursor fb with white color*/ fb_id = igt_create_fb(data->drm_fd, curw, curh, DRM_FORMAT_ARGB8888, LOCAL_DRM_FORMAT_MOD_NONE,
@@ -495,22 +496,24 @@ static void test_cursor_alpha(data_t *data, double a)igt_paint_color_alpha (cr,0 ,0 , curw, curh,1.0 ,1.0 ,1.0 , a);igt_put_cairo_ctx (data->drm_fd, &data->fb, cr); -/*Hardware Test*/ +/*Hardware Test - enable cursor and get PF CRC*/ cursor_enable (data);igt_display_commit (display);igt_wait_for_vblank (data->drm_fd, data->pipe);igt_pipe_crc_get_current (data->drm_fd, pipe_crc, &crc); +cursor_disable (data);igt_remove_fb (data->drm_fd, &data->fb); -/*Software Test*/ +/*Software Test - render cursor in software, drawn it directly on PF*/ cr =igt_get_cairo_ctx (data->drm_fd, &data->primary_fb[FRONTBUFFER ]);igt_paint_color_alpha (cr,0 ,0 , curw, curh,1.0 ,1.0 ,1.0 , a);igt_put_cairo_ctx (data->drm_fd, &data->primary_fb[FRONTBUFFER ], cr); -igt_display_commit (display);igt_wait_for_vblank (data->drm_fd, data->pipe);igt_pipe_crc_get_current (data->drm_fd, pipe_crc, &ref_crc); + +/*Compare CRC from Hardware/Software tests*/ igt_assert_crc_equal (&crc, &ref_crc);/*Clear Screen*/
@@ -688,13 +691,19 @@ static void run_tests_on_pipe(data_t *data, enum pipe pipe)igt_require (data->output); } +igt_describe ("Create a maximum size cursor, then change the size in " \ +"flight to smaller ones to see that the size is applied correctly." ); igt_subtest_f("pipe-%s-cursor-size-change", kmstest_pipe_name(pipe))run_test (data, test_cursor_size, data->cursor_max_w, data->cursor_max_h); +igt_describe ("Validates the composition of a fully opaque cursor " \ +"plane, i.e., alpha channel equal to 1.0." ); igt_subtest_f("pipe-%s-cursor-alpha-opaque", kmstest_pipe_name(pipe))run_test (data, test_cursor_opaque, data->cursor_max_w, data->cursor_max_h); +igt_describe ("Validates the composition of a fully transparent cursor " \ +"plane, i.e., alpha channel equal to 0.0." ); igt_subtest_f("pipe-%s-cursor-alpha-transparent", kmstest_pipe_name(pipe))run_test (data, test_cursor_transparent, data->cursor_max_w, data->cursor_max_h);
@@ -728,15 +737,24 @@ static void run_tests_on_pipe(data_t *data, enum pipe pipe) }/* Using created cursor FBs to test cursor support */ +igt_describe ("Check if a given-size cursor is well-positioned inside the screen." ); igt_subtest_f("pipe-%s-cursor-%dx%d-onscreen", kmstest_pipe_name(pipe), w, h)run_test (data, test_crc_onscreen, w, h); + +igt_describe ("Check if a given-size cursor is well-positioned outside the screen." ); igt_subtest_f("pipe-%s-cursor-%dx%d-offscreen", kmstest_pipe_name(pipe), w, h)run_test (data, test_crc_offscreen, w, h); + +igt_describe ("Check the smooth and pixel-by-pixel given-size cursor movements on" \ +"horizontal, vertical and diagonal." ); igt_subtest_f("pipe-%s-cursor-%dx%d-sliding", kmstest_pipe_name(pipe), w, h)run_test (data, test_crc_sliding, w, h); + +igt_describe ("Check random placement of a cursor with given size." ); igt_subtest_f("pipe-%s-cursor-%dx%d-random", kmstest_pipe_name(pipe), w, h)run_test (data, test_crc_random, w, h); +igt_describe ("Check the rapid update of given-size cursor movements." ); igt_subtest_f("pipe-%s-cursor-%dx%d-rapid-movement", kmstest_pipe_name(pipe), w, h) {run_test (data, test_rapid_movement, w, h); }
Signature · 6 lines
2.27.0 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI[igt-dev] ✓ Fi.CI.BAT: success for minor improvements to the kms_cursor_crc doc and some comments cleanup
In reply to Melissa Wen== Series Details ==
== Series Details ==
Series: minor improvements to the kms_cursor_crc doc and some comments cleanup
URL : https://patchwork.freedesktop.org/series/78814/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_8665 -> IGTPW_4705
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4705/index.html
Known issues
------------
Here are the changes found in IGTPW_4705 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@kms_flip@basic-flip-vs-wf_vblank@c-edp1:
- fi-icl-u2: [PASS][1] -> [DMESG-WARN][2] ([i915#1982]) +1 similar issue
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8665/fi-icl-u2/igt@kms_flip@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4705/fi-icl-u2/igt@kms_flip@[email protected]
* igt@kms_pipe_crc_basic@read-crc-pipe-a-frame-sequence:
- fi-tgl-u2: [PASS][3] -> [DMESG-WARN][4] ([i915#402]) +1 similar issue
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8665/fi-tgl-u2/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4705/fi-tgl-u2/igt@[email protected]
#### Possible fixes ####
* igt@gem_exec_suspend@basic-s0:
- fi-apl-guc: [INCOMPLETE][5] ([i915#1242]) -> [PASS][6]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8665/fi-apl-guc/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4705/fi-apl-guc/igt@[email protected]
* igt@i915_module_load@reload:
- fi-byt-j1900: [DMESG-WARN][7] ([i915#1982]) -> [PASS][8]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8665/fi-byt-j1900/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4705/fi-byt-j1900/igt@[email protected]
* igt@i915_pm_backlight@basic-brightness:
- fi-whl-u: [DMESG-WARN][9] ([i915#95]) -> [PASS][10]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8665/fi-whl-u/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4705/fi-whl-u/igt@[email protected]
* igt@i915_pm_rpm@basic-pci-d3-state:
- fi-bsw-kefka: [DMESG-WARN][11] ([i915#1982]) -> [PASS][12]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8665/fi-bsw-kefka/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4705/fi-bsw-kefka/igt@[email protected]
* igt@kms_busy@basic@flip:
- fi-kbl-x1275: [DMESG-WARN][13] ([i915#62] / [i915#92] / [i915#95]) -> [PASS][14]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8665/fi-kbl-x1275/igt@kms_busy@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4705/fi-kbl-x1275/igt@kms_busy@[email protected]
#### Warnings ####
* igt@gem_exec_suspend@basic-s3:
- fi-kbl-x1275: [DMESG-WARN][15] ([i915#62] / [i915#92]) -> [DMESG-WARN][16] ([i915#1982] / [i915#62] / [i915#92] / [i915#95])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8665/fi-kbl-x1275/igt@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4705/fi-kbl-x1275/igt@[email protected]
* igt@kms_cursor_legacy@basic-busy-flip-before-cursor-legacy:
- fi-kbl-x1275: [DMESG-WARN][17] ([i915#62] / [i915#92]) -> [DMESG-WARN][18] ([i915#62] / [i915#92] / [i915#95]) +7 similar issues
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8665/fi-kbl-x1275/igt@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4705/fi-kbl-x1275/igt@[email protected]
* igt@prime_vgem@basic-fence-flip:
- fi-kbl-x1275: [DMESG-WARN][19] ([i915#62] / [i915#92] / [i915#95]) -> [DMESG-WARN][20] ([i915#62] / [i915#92]) +5 similar issues
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8665/fi-kbl-x1275/igt@[email protected]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4705/fi-kbl-x1275/igt@[email protected]
[i915#1242]: https://gitlab.freedesktop.org/drm/intel/issues/1242
[i915#1982]: https://gitlab.freedesktop.org/drm/intel/issues/1982
[i915#402]: https://gitlab.freedesktop.org/drm/intel/issues/402
[i915#62]: https://gitlab.freedesktop.org/drm/intel/issues/62
[i915#92]: https://gitlab.freedesktop.org/drm/intel/issues/92
[i915#95]: https://gitlab.freedesktop.org/drm/intel/issues/95
Participating hosts (44 -> 38)
------------------------------
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_5717 -> IGTPW_4705
CI-20190529: 20190529
CI_DRM_8665: 2cb786fa6506e20b5cb2a10decda11454111e026 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_4705: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4705/index.html
IGT_5717: 725bf2dae51f0087eaa64f1931a2ef9d22f070dd @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4705/index.html
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
Patchwork
CI[igt-dev] ✗ Fi.CI.IGT: failure for minor improvements to the kms_cursor_crc doc and some comments cleanup
In reply to Melissa Wen== Series Details ==
== Series Details ==
Series: minor improvements to the kms_cursor_crc doc and some comments cleanup
URL : https://patchwork.freedesktop.org/series/78814/
State : failure
== Summary ==
CI Bug Log - changes from CI_DRM_8665_full -> IGTPW_4705_full
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with IGTPW_4705_full absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes introduced in IGTPW_4705_full, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4705/index.html
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in IGTPW_4705_full:
### IGT changes ###
#### Possible regressions ####
* igt@gem_exec_whisper@basic-contexts-forked-all:
- shard-hsw: [PASS][1] -> [INCOMPLETE][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8665/shard-hsw5/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4705/shard-hsw4/igt@[email protected]
Known issues
------------
Here are the changes found in IGTPW_4705_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@drm_read@fault-buffer:
- shard-tglb: [PASS][3] -> [DMESG-WARN][4] ([i915#402])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8665/shard-tglb1/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4705/shard-tglb1/igt@[email protected]
* igt@i915_query@engine-info:
- shard-iclb: [PASS][5] -> [DMESG-WARN][6] ([i915#1982])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8665/shard-iclb2/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4705/shard-iclb5/igt@[email protected]
* igt@kms_big_fb@y-tiled-64bpp-rotate-180:
- shard-glk: [PASS][7] -> [DMESG-FAIL][8] ([i915#118] / [i915#95])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8665/shard-glk7/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4705/shard-glk8/igt@[email protected]
* igt@kms_cursor_crc@pipe-a-cursor-256x85-offscreen:
- shard-kbl: [PASS][9] -> [DMESG-FAIL][10] ([i915#54] / [i915#95]) +3 similar issues
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8665/shard-kbl2/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4705/shard-kbl1/igt@[email protected]
* igt@kms_cursor_crc@pipe-b-cursor-alpha-opaque:
- shard-apl: [PASS][11] -> [DMESG-WARN][12] ([i915#1635] / [i915#95]) +43 similar issues
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8665/shard-apl3/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4705/shard-apl7/igt@[email protected]
* igt@kms_cursor_legacy@2x-long-cursor-vs-flip-legacy:
- shard-hsw: [PASS][13] -> [FAIL][14] ([i915#96])
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8665/shard-hsw4/igt@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4705/shard-hsw8/igt@[email protected]
* igt@kms_draw_crc@draw-method-xrgb8888-render-xtiled:
- shard-apl: [PASS][15] -> [DMESG-FAIL][16] ([i915#1635] / [i915#54] / [i915#95])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8665/shard-apl1/igt@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4705/shard-apl7/igt@[email protected]
* igt@kms_flip@2x-flip-vs-wf_vblank-interruptible@ab-vga1-hdmi-a1:
- shard-hsw: [PASS][17] -> [DMESG-WARN][18] ([i915#1982]) +1 similar issue
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8665/shard-hsw8/igt@kms_flip@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4705/shard-hsw8/igt@kms_flip@[email protected]
* igt@kms_flip@flip-vs-suspend@a-dp1:
- shard-kbl: [PASS][19] -> [DMESG-WARN][20] ([i915#180]) +1 similar issue
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8665/shard-kbl2/igt@kms_flip@[email protected]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4705/shard-kbl6/igt@kms_flip@[email protected]
* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-move:
- shard-kbl: [PASS][21] -> [FAIL][22] ([i915#49])
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8665/shard-kbl6/igt@[email protected]
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4705/shard-kbl2/igt@[email protected]
- shard-glk: [PASS][23] -> [FAIL][24] ([i915#49])
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8665/shard-glk9/igt@[email protected]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4705/shard-glk2/igt@[email protected]
- shard-apl: [PASS][25] -> [FAIL][26] ([i915#49])
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8665/shard-apl8/igt@[email protected]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4705/shard-apl7/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-pwrite:
- shard-tglb: [PASS][27] -> [DMESG-WARN][28] ([i915#1982]) +3 similar issues
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8665/shard-tglb5/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-pwrite.html
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4705/shard-tglb3/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-pwrite.html
- shard-kbl: [PASS][29] -> [DMESG-WARN][30] ([i915#1982])
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8665/shard-kbl1/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-pwrite.html
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4705/shard-kbl7/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-pwrite.html
* igt@kms_pipe_crc_basic@read-crc-pipe-a-frame-sequence:
- shard-apl: [PASS][31] -> [DMESG-FAIL][32] ([i915#1635] / [i915#95])
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8665/shard-apl1/igt@[email protected]
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4705/shard-apl7/igt@[email protected]
- shard-kbl: [PASS][33] -> [DMESG-FAIL][34] ([i915#95])
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8665/shard-kbl3/igt@[email protected]
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4705/shard-kbl6/igt@[email protected]
* igt@kms_pipe_crc_basic@suspend-read-crc-pipe-b:
- shard-kbl: [PASS][35] -> [INCOMPLETE][36] ([CI#80] / [i915#155])
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8665/shard-kbl1/igt@[email protected]
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4705/shard-kbl6/igt@[email protected]
* igt@kms_plane_cursor@pipe-a-primary-size-128:
- shard-kbl: [PASS][37] -> [DMESG-WARN][38] ([i915#93] / [i915#95]) +46 similar issues
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8665/shard-kbl1/igt@[email protected]
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4705/shard-kbl6/igt@[email protected]
* igt@kms_psr@psr2_sprite_mmap_cpu:
- shard-iclb: [PASS][39] -> [SKIP][40] ([fdo#109441]) +1 similar issue
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8665/shard-iclb2/igt@kms_psr@psr2_sprite_mmap_cpu.html
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4705/shard-iclb4/igt@kms_psr@psr2_sprite_mmap_cpu.html
* igt@kms_sysfs_edid_timing:
- shard-apl: [PASS][41] -> [FAIL][42] ([IGT#2])
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8665/shard-apl4/igt@kms_sysfs_edid_timing.html
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4705/shard-apl4/igt@kms_sysfs_edid_timing.html
- shard-kbl: [PASS][43] -> [FAIL][44] ([IGT#2])
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8665/shard-kbl4/igt@kms_sysfs_edid_timing.html
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4705/shard-kbl2/igt@kms_sysfs_edid_timing.html
* igt@kms_vblank@pipe-b-query-forked-busy:
- shard-apl: [PASS][45] -> [DMESG-WARN][46] ([i915#1982])
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8665/shard-apl2/igt@[email protected]
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4705/shard-apl8/igt@[email protected]
* igt@syncobj_wait@multi-wait-all-for-submit-signaled:
- shard-hsw: [PASS][47] -> [TIMEOUT][48] ([i915#1958])
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8665/shard-hsw2/igt@[email protected]
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4705/shard-hsw7/igt@[email protected]
#### Possible fixes ####
* igt@gem_ctx_isolation@preservation-s3@rcs0:
- shard-kbl: [DMESG-WARN][49] ([i915#180]) -> [PASS][50] +2 similar issues
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8665/shard-kbl3/igt@gem_ctx_isolation@[email protected]
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4705/shard-kbl3/igt@gem_ctx_isolation@[email protected]
* igt@gem_exec_whisper@basic-fds:
- shard-glk: [DMESG-WARN][51] ([i915#118] / [i915#95]) -> [PASS][52] +3 similar issues
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8665/shard-glk3/igt@[email protected]
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4705/shard-glk1/igt@[email protected]
* igt@gem_shrink@reclaim:
- shard-hsw: [SKIP][53] ([fdo#109271]) -> [PASS][54]
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8665/shard-hsw2/igt@[email protected]
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4705/shard-hsw4/igt@[email protected]
* igt@gem_userptr_blits@create-destroy-sync:
- shard-hsw: [TIMEOUT][55] ([i915#1958]) -> [PASS][56] +3 similar issues
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8665/shard-hsw1/igt@[email protected]
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4705/shard-hsw7/igt@[email protected]
* igt@i915_pm_dc@dc3co-vpb-simulation:
- shard-tglb: [SKIP][57] ([i915#1904]) -> [PASS][58]
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8665/shard-tglb3/igt@[email protected]
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4705/shard-tglb6/igt@[email protected]
* igt@i915_pm_rpm@system-suspend-execbuf:
- shard-kbl: [INCOMPLETE][59] ([i915#151] / [i915#155]) -> [PASS][60]
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8665/shard-kbl3/igt@[email protected]
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4705/shard-kbl3/igt@[email protected]
* igt@kms_color@pipe-a-ctm-blue-to-red:
- shard-kbl: [DMESG-WARN][61] ([i915#93] / [i915#95]) -> [PASS][62] +41 similar issues
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8665/shard-kbl4/igt@[email protected]
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4705/shard-kbl2/igt@[email protected]
* igt@kms_cursor_crc@pipe-a-cursor-64x64-onscreen:
- shard-kbl: [DMESG-FAIL][63] ([i915#54] / [i915#95]) -> [PASS][64] +1 similar issue
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8665/shard-kbl6/igt@[email protected]
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4705/shard-kbl4/igt@[email protected]
* igt@kms_fbcon_fbt@fbc-suspend:
- shard-kbl: [DMESG-FAIL][65] ([i915#95]) -> [PASS][66]
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8665/shard-kbl4/igt@[email protected]
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4705/shard-kbl6/igt@[email protected]
* igt@kms_flip_tiling@flip-changes-tiling-yf:
- shard-apl: [DMESG-FAIL][67] ([i915#1635] / [i915#95]) -> [PASS][68] +2 similar issues
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8665/shard-apl3/igt@[email protected]
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4705/shard-apl4/igt@[email protected]
* igt@kms_invalid_dotclock:
- shard-snb: [TIMEOUT][69] ([i915#1958]) -> [PASS][70] +3 similar issues
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8665/shard-snb5/igt@kms_invalid_dotclock.html
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4705/shard-snb6/igt@kms_invalid_dotclock.html
* igt@kms_plane_alpha_blend@pipe-a-constant-alpha-mid:
- shard-kbl: [DMESG-FAIL][71] ([fdo#108145] / [i915#95]) -> [PASS][72]
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8665/shard-kbl1/igt@[email protected]
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4705/shard-kbl6/igt@[email protected]
- shard-apl: [DMESG-FAIL][73] ([fdo#108145] / [i915#1635] / [i915#95]) -> [PASS][74]
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8665/shard-apl6/igt@[email protected]
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4705/shard-apl7/igt@[email protected]
* igt@kms_psr@psr2_cursor_render:
- shard-iclb: [SKIP][75] ([fdo#109441]) -> [PASS][76] +2 similar issues
[75]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8665/shard-iclb3/igt@kms_psr@psr2_cursor_render.html
[76]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4705/shard-iclb2/igt@kms_psr@psr2_cursor_render.html
* igt@kms_setmode@basic:
- shard-kbl: [FAIL][77] ([i915#31]) -> [PASS][78]
[77]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8665/shard-kbl7/igt@[email protected]
[78]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4705/shard-kbl6/igt@[email protected]
* igt@perf@blocking-parameterized:
- shard-tglb: [FAIL][79] ([i915#1542]) -> [PASS][80]
[79]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8665/shard-tglb1/igt@[email protected]
[80]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4705/shard-tglb7/igt@[email protected]
* igt@syncobj_wait@multi-wait-all-signaled:
- shard-apl: [DMESG-WARN][81] ([i915#1635] / [i915#95]) -> [PASS][82] +34 similar issues
[81]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8665/shard-apl7/igt@[email protected]
[82]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4705/shard-apl7/igt@[email protected]
#### Warnings ####
* igt@gem_exec_reloc@basic-concurrent16:
- shard-snb: [TIMEOUT][83] ([i915#1958]) -> [FAIL][84] ([i915#1930])
[83]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8665/shard-snb5/igt@[email protected]
[84]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4705/shard-snb2/igt@[email protected]
- shard-kbl: [INCOMPLETE][85] ([i915#1958]) -> [INCOMPLETE][86] ([i915#1958] / [i915#95])
[85]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8665/shard-kbl6/igt@[email protected]
[86]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4705/shard-kbl7/igt@[email protected]
- shard-apl: [INCOMPLETE][87] ([i915#1635] / [i915#1958]) -> [INCOMPLETE][88] ([i915#1635] / [i915#1958] / [i915#95])
[87]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8665/shard-apl1/igt@[email protected]
[88]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4705/shard-apl1/igt@[email protected]
* igt@i915_pm_dc@dc6-dpms:
- shard-tglb: [SKIP][89] ([i915#468]) -> [FAIL][90] ([i915#454])
[89]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8665/shard-tglb2/igt@[email protected]
[90]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4705/shard-tglb5/igt@[email protected]
* igt@i915_pm_dc@dc6-psr:
- shard-apl: [SKIP][91] ([fdo#109271]) -> [SKIP][92] ([fdo#109271] / [i915#1635]) +9 similar issues
[91]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8665/shard-apl1/igt@[email protected]
[92]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4705/shard-apl1/igt@[email protected]
* igt@kms_big_fb@y-tiled-32bpp-rotate-90:
- shard-hsw: [TIMEOUT][93] ([i915#1958]) -> [SKIP][94] ([fdo#109271]) +1 similar issue
[93]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8665/shard-hsw1/igt@[email protected]
[94]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4705/shard-hsw4/igt@[email protected]
* igt@kms_color_chamelium@pipe-a-ctm-limited-range:
- shard-apl: [SKIP][95] ([fdo#109271] / [fdo#111827] / [i915#1635]) -> [SKIP][96] ([fdo#109271] / [fdo#111827]) +2 similar issues
[95]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8665/shard-apl6/igt@[email protected]
[96]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4705/shard-apl3/igt@[email protected]
* igt@kms_color_chamelium@pipe-c-ctm-0-25:
- shard-apl: [SKIP][97] ([fdo#109271] / [fdo#111827]) -> [SKIP][98] ([fdo#109271] / [fdo#111827] / [i915#1635])
[97]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8665/shard-apl6/igt@[email protected]
[98]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4705/shard-apl7/igt@[email protected]
* igt@kms_content_protection@uevent:
- shard-kbl: [FAIL][99] ([i915#357]) -> [DMESG-FAIL][100] ([i915#357] / [i915#95])
[99]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8665/shard-kbl6/igt@[email protected]
[100]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4705/shard-kbl2/igt@[email protected]
- shard-apl: [FAIL][101] ([i915#357]) -> [DMESG-FAIL][102] ([i915#1635] / [i915#357] / [i915#95])
[101]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8665/shard-apl4/igt@[email protected]
[102]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4705/shard-apl8/igt@[email protected]
* igt@kms_draw_crc@draw-method-rgb565-render-ytiled:
- shard-snb: [TIMEOUT][103] ([i915#1958]) -> [SKIP][104] ([fdo#109271]) +1 similar issue
[103]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8665/shard-snb5/igt@[email protected]
[104]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4705/shard-snb1/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-a-alpha-opaque-fb:
- shard-apl: [FAIL][105] ([fdo#108145] / [i915#265]) -> [DMESG-FAIL][106] ([fdo#108145] / [i915#1635] / [i915#95])
[105]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8665/shard-apl6/igt@[email protected]
[106]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4705/shard-apl6/igt@[email protected]
- shard-kbl: [FAIL][107] ([fdo#108145] / [i915#265]) -> [DMESG-FAIL][108] ([fdo#108145] / [i915#95])
[107]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8665/shard-kbl7/igt@[email protected]
[108]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4705/shard-kbl4/igt@[email protected]
* igt@kms_psr@primary_blt:
- shard-hsw: [SKIP][109] ([fdo#109271]) -> [TIMEOUT][110] ([i915#1958]) +1 similar issue
[109]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8665/shard-hsw4/igt@kms_psr@primary_blt.html
[110]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4705/shard-hsw7/igt@kms_psr@primary_blt.html
* igt@perf@gen12-unprivileged-single-ctx-counters:
- shard-apl: [SKIP][111] ([fdo#109271] / [i915#1635]) -> [SKIP][112] ([fdo#109271]) +14 similar issues
[111]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8665/shard-apl7/igt@[email protected]
[112]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4705/shard-apl3/igt@[email protected]
* igt@perf_pmu@semaphore-busy@rcs0:
- shard-kbl: [FAIL][113] ([i915#1820]) -> [FAIL][114] ([i915#1820] / [i915#93] / [i915#95])
[113]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8665/shard-kbl1/igt@perf_pmu@[email protected]
[114]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4705/shard-kbl1/igt@perf_pmu@[email protected]
[CI#80]: https://gitlab.freedesktop.org/gfx-ci/i915-infra/issues/80
[IGT#2]: https://gitlab.freedesktop.org/drm/igt-gpu-tools/issues/2
[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#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[i915#118]: https://gitlab.freedesktop.org/drm/intel/issues/118
[i915#151]: https://gitlab.freedesktop.org/drm/intel/issues/151
[i915#1542]: https://gitlab.freedesktop.org/drm/intel/issues/1542
[i915#155]: https://gitlab.freedesktop.org/drm/intel/issues/155
[i915#1635]: https://gitlab.freedesktop.org/drm/intel/issues/1635
[i915#180]: https://gitlab.freedesktop.org/drm/intel/issues/180
[i915#1820]: https://gitlab.freedesktop.org/drm/intel/issues/1820
[i915#1904]: https://gitlab.freedesktop.org/drm/intel/issues/1904
[i915#1930]: https://gitlab.freedesktop.org/drm/intel/issues/1930
[i915#1958]: https://gitlab.freedesktop.org/drm/intel/issues/1958
[i915#1982]: https://gitlab.freedesktop.org/drm/intel/issues/1982
[i915#265]: https://gitlab.freedesktop.org/drm/intel/issues/265
[i915#31]: https://gitlab.freedesktop.org/drm/intel/issues/31
[i915#357]: https://gitlab.freedesktop.org/drm/intel/issues/357
[i915#402]: https://gitlab.freedesktop.org/drm/intel/issues/402
[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#93]: https://gitlab.freedesktop.org/drm/intel/issues/93
[i915#95]: https://gitlab.freedesktop.org/drm/intel/issues/95
[i915#96]: https://gitlab.freedesktop.org/drm/intel/issues/96
Participating hosts (11 -> 8)
------------------------------
Missing (3): pig-skl-6260u pig-glk-j5005 pig-icl-1065g7
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_5717 -> IGTPW_4705
* Piglit: piglit_4509 -> None
CI-20190529: 20190529
CI_DRM_8665: 2cb786fa6506e20b5cb2a10decda11454111e026 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_4705: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4705/index.html
IGT_5717: 725bf2dae51f0087eaa64f1931a2ef9d22f070dd @ 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_4705/index.html
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
Re: [igt-dev] [PATCH i-g-t 2/2] test/kms_cursor_crc: update subtests descriptions and some comments
In reply to Melissa WenHi,
LGTM
Quoted 117 lines · Melissa Wen
Add descriptions for some subtests and detail a little more the comments in
test_cursor_alpha.Signed-off-by Melissa Wen <[email protected]>--- tests/kms_cursor_crc.c | 38 ++++++++++++++++++++++++++++---------- 1 file changed, 28 insertions(+), 10 deletions(-)tests/kms_cursor_crc.c +28
-10@@ -31,12 +31,13 @@IGT_TEST_DESCRIPTION ( -"Use the display CRC support to validate cursor plane functionality. " -"The test will position the cursor plane either fully onscreen, " -"partially onscreen, or fully offscreen, using either a fully opaque " -"or fully transparent surface. In each case it then reads the PF CRC " -"and compares it with the CRC value obtained when the cursor plane " -"was disabled." ); +"Use the display CRC support to validate cursor plane functionality. " \ +"The test will position the cursor plane either fully onscreen, " \ +"partially onscreen, or fully offscreen, using either a fully opaque " \ +"or fully transparent surface. In each case, it enables the cursor plane " \ +"and then reads the PF CRC (hardware test) and compares it with the CRC " \ +"value obtained when the cursor plane was disabled and its drawing is " +"directly inserted on the PF by software." );#ifndef DRM_CAP_CURSOR_WIDTH #define DRM_CAP_CURSOR_WIDTH 0x8@@ -485,7 +486,7 @@ static void test_cursor_alpha(data_t *data, double a)int curw = data->curw;int curh = data->curh; -/*alpha cursor fb*/ +/*Alpha cursor fb with white color*/ fb_id = igt_create_fb(data->drm_fd, curw, curh, DRM_FORMAT_ARGB8888, LOCAL_DRM_FORMAT_MOD_NONE,@@ -495,22 +496,24 @@ static void test_cursor_alpha(data_t *data, double a)igt_paint_color_alpha (cr,0 ,0 , curw, curh,1.0 ,1.0 ,1.0 , a);igt_put_cairo_ctx (data->drm_fd, &data->fb, cr); -/*Hardware Test*/ +/*Hardware Test - enable cursor and get PF CRC*/ cursor_enable (data);igt_display_commit (display);igt_wait_for_vblank (data->drm_fd, data->pipe);igt_pipe_crc_get_current (data->drm_fd, pipe_crc, &crc); +cursor_disable (data);igt_remove_fb (data->drm_fd, &data->fb); -/*Software Test*/ +/*Software Test - render cursor in software, drawn it directly on PF*/ cr =igt_get_cairo_ctx (data->drm_fd, &data->primary_fb[FRONTBUFFER ]);igt_paint_color_alpha (cr,0 ,0 , curw, curh,1.0 ,1.0 ,1.0 , a);igt_put_cairo_ctx (data->drm_fd, &data->primary_fb[FRONTBUFFER ], cr); -igt_display_commit (display);igt_wait_for_vblank (data->drm_fd, data->pipe);igt_pipe_crc_get_current (data->drm_fd, pipe_crc, &ref_crc); + +/*Compare CRC from Hardware/Software tests*/ igt_assert_crc_equal (&crc, &ref_crc);/*Clear Screen*/ @@ -688,13 +691,19 @@ static void run_tests_on_pipe(data_t *data, enum pipe pipe)igt_require (data->output); } +igt_describe ("Create a maximum size cursor, then change the size in " \ +"flight to smaller ones to see that the size is applied correctly." ); igt_subtest_f("pipe-%s-cursor-size-change", kmstest_pipe_name(pipe))run_test (data, test_cursor_size, data->cursor_max_w, data->cursor_max_h); +igt_describe ("Validates the composition of a fully opaque cursor " \ +"plane, i.e., alpha channel equal to 1.0." ); igt_subtest_f("pipe-%s-cursor-alpha-opaque", kmstest_pipe_name(pipe))run_test (data, test_cursor_opaque, data->cursor_max_w, data->cursor_max_h); +igt_describe ("Validates the composition of a fully transparent cursor " \ +"plane, i.e., alpha channel equal to 0.0." ); igt_subtest_f("pipe-%s-cursor-alpha-transparent", kmstest_pipe_name(pipe))run_test (data, test_cursor_transparent, data->cursor_max_w, data->cursor_max_h);@@ -728,15 +737,24 @@ static void run_tests_on_pipe(data_t *data, enum pipe pipe) }/* Using created cursor FBs to test cursor support */ +igt_describe ("Check if a given-size cursor is well-positioned inside the screen." ); igt_subtest_f("pipe-%s-cursor-%dx%d-onscreen", kmstest_pipe_name(pipe), w, h)run_test (data, test_crc_onscreen, w, h); + +igt_describe ("Check if a given-size cursor is well-positioned outside the screen." ); igt_subtest_f("pipe-%s-cursor-%dx%d-offscreen", kmstest_pipe_name(pipe), w, h)run_test (data, test_crc_offscreen, w, h); + +igt_describe ("Check the smooth and pixel-by-pixel given-size cursor movements on" \ +"horizontal, vertical and diagonal." ); igt_subtest_f("pipe-%s-cursor-%dx%d-sliding", kmstest_pipe_name(pipe), w, h)run_test (data, test_crc_sliding, w, h); + +igt_describe ("Check random placement of a cursor with given size." ); igt_subtest_f("pipe-%s-cursor-%dx%d-random", kmstest_pipe_name(pipe), w, h)run_test (data, test_crc_random, w, h); +igt_describe ("Check the rapid update of given-size cursor movements." ); igt_subtest_f("pipe-%s-cursor-%dx%d-rapid-movement", kmstest_pipe_name(pipe), w, h) {run_test (data, test_rapid_movement, w, h); }Signature · 1 line
2.27.0
Signature · 2 lines
Rodrigo Siqueira https://siqueira.tech
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
Re: [igt-dev] [PATCH i-g-t 1/2] lib/igt_fb: change comments with fd description
In reply to Melissa WenLGTM,
Quoted 41 lines · Melissa Wen
Generalize description of fd so as not restrict it to i915 driver
Signed-off-by Melissa Wen <[email protected]>--- lib/igt_fb.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)lib/igt_fb.c +3
-3@@ -3548,7 +3548,7 @@ cairo_surface_t *igt_get_cairo_surface(int fd, struct igt_fb *fb)/** * igt_get_cairo_ctx: -* @fd: open i915 drm file descriptor +* @fd: open drm file descriptor * @fb: pointer to an #igt_fb structure * * This initializes a cairo surface for @fb and then allocates a drawing context @@ -3578,7 +3578,7 @@ cairo_t *igt_get_cairo_ctx(int fd, struct igt_fb *fb)/** * igt_put_cairo_ctx: -* @fd: open i915 drm file descriptor +* @fd: open drm file descriptor * @fb: pointer to an #igt_fb structure * @cr: the cairo context returned by igt_get_cairo_ctx. * @@ -3596,7 +3596,7 @@ void igt_put_cairo_ctx(int fd, struct igt_fb *fb, cairo_t *cr)/** * igt_remove_fb: -* @fd: open i915 drm file descriptor +* @fd: open drm file descriptor * @fb: pointer to an #igt_fb structure * * This function releases all resources allocated in igt_create_fb() for @fb. Signature · 1 line
2.27.0
Signature · 2 lines
Rodrigo Siqueira https://siqueira.tech
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
Hi Melissa,
First of all, thanks a lot for your effort to improve the documentation.
I noticed that for some weird reason the CI pointed out a failure in this series. I looked at it, and I believe this is a false positive.
Hiler, Petri
Do you know if this failure is a false positive? Can I go ahead and apply this change?
Thanks
Rodrigo Siqueira
Quoted 18 lines · Melissa Wen
Hi,
(I had sent this to the wrong list before)
I was studying the code of
kms_cursor_crctest, and I just adjusted some comments and added descriptions for subtests.Melissa Wen (2):
lib/igt_fb: change comments with fd description test/kms_cursor_crc: update subtests descriptions and some commentslib/igt_fb.c | 6 +++--- tests/kms_cursor_crc.c | 38 ++++++++++++++++++++++++++++---------- 2 files changed, 31 insertions(+), 13 deletions(-)Signature · 1 line
2.27.0
Signature · 2 lines
Rodrigo Siqueira https://siqueira.tech
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
Quoted 8 lines · Melissa Wen
Hi,
I was studying the code of
kms_cursor_crctest, and I just adjusted some comments and added descriptions for subtests.Melissa Wen (2):
lib/igt_fb: change comments with fd description test/kms_cursor_crc: update subtests descriptions and some comments
Seems like there's a conflict caused by your patch removing unused parameters from igt_put_cairo_ctx().
Can you an send updated version and CC me on it?
In case of false positives please comment on the CI results with a short explanation and CC Lakshmi <[email protected]>
Thanks for the cleanup!
Signature · 6 lines
Cheers, Arek _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 6 lines · Arkadiusz Hiler
Quoted 5 lines · Melissa Wen
Hi,
I was studying the code of
kms_cursor_crctest, and I just adjusted some comments and added descriptions for subtests.
Quoted 8 lines
Quoted 3 lines
Melissa Wen (2):
lib/igt_fb: change comments with fd description test/kms_cursor_crc: update subtests descriptions and some commentsSeems like there's a conflict caused by your patch removing unused parameters from
igt_put_cairo_ctx().Can you an send updated version and CC me on it?
Hi,
I just sent a v2.
Thanks,
Melissa
Quoted 9 lines
In case of false positives please comment on the CI results with a short explanation and CC Lakshmi <[email protected]>
Thanks for the cleanup!
Signature · 2 lines
Cheers, Arek
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev