Skip to contentSkip to conversation

tests/kms_dp_dsc: Avoid SIGSEGV when release DRM connector.

PATCH In review Lee Shawn C 4 participants 6 messages May 31, 2021 – Jun 21, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tests/kms_dp_dsc: Avoid SIGSEGV when release DRM connector.

Got SIGSEGV fault while running kms_dp_dsc test but did not connect DP DSC capable monitor on eDP/DP port. This test daemon should "SKIP" test without any problem. We found kms_dp_dsc can't get proper drmModeConnector and caused this SIGSEGV fault when release it. Make sure drmModeConnector is available before free it can avoid this issue.

---
 tests/kms_dp_dsc.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
tests/kms_dp_dsc.c +3 -2
index 2446fd82bba3..ea7c9f4f72ce 100644
@@ -262,7 +262,7 @@ igt_main
 	data_t data = {};
 	igt_output_t *output;
 	drmModeRes *res;
-	drmModeConnector *connector;
+	drmModeConnector *connector = NULL;
 	int i, test_conn_cnt, test_cnt;
 	int tests[] = {DRM_MODE_CONNECTOR_eDP, DRM_MODE_CONNECTOR_DisplayPort};
 
@@ -311,7 +311,8 @@ igt_main
 	}
 
 	igt_fixture {
-		drmModeFreeConnector(connector);
+		if (connector)
+			drmModeFreeConnector(connector);
 		drmModeFreeResources(res);
 		close(data.debugfs_fd);
 		close(data.drm_fd);
Signature · 6 lines
2.17.1

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
#1 lore raw

[igt-dev] ✓ Fi.CI.BAT: success for tests/kms_dp_dsc: Avoid SIGSEGV when release DRM connector.

== Series Details ==

== Series Details ==

Series: tests/kms_dp_dsc: Avoid SIGSEGV when release DRM connector.
URL : https://patchwork.freedesktop.org/series/90796/
State : success

== Summary ==

CI Bug Log - changes from CI_DRM_10153 -> IGTPW_5867
====================================================

Summary
-------

**SUCCESS**

No regressions found.

External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/index.html

Known issues
------------

Here are the changes found in IGTPW_5867 that come from known issues:

### IGT changes ###

#### Issues hit ####

* igt@core_hotunplug@unbind-rebind:
- fi-bdw-5557u: NOTRUN -> [WARN][1] ([i915#2283])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/fi-bdw-5557u/igt@[email protected]

* igt@i915_selftest@live@execlists:
- fi-bdw-5557u: NOTRUN -> [DMESG-FAIL][2] ([i915#3462])
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/fi-bdw-5557u/igt@i915_selftest@[email protected]

* igt@kms_chamelium@dp-crc-fast:
- fi-bdw-5557u: NOTRUN -> [SKIP][3] ([fdo#109271] / [fdo#111827]) +8 similar issues
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/fi-bdw-5557u/igt@[email protected]

* igt@kms_psr@cursor_plane_move:
- fi-bdw-5557u: NOTRUN -> [SKIP][4] ([fdo#109271]) +9 similar issues
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/fi-bdw-5557u/igt@kms_psr@cursor_plane_move.html

#### Possible fixes ####

* igt@i915_selftest@live@hangcheck:
- {fi-hsw-gt1}: [DMESG-WARN][5] ([i915#3303]) -> [PASS][6]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10153/fi-hsw-gt1/igt@i915_selftest@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/fi-hsw-gt1/igt@i915_selftest@[email protected]

#### Warnings ####

* igt@i915_pm_rpm@basic-pci-d3-state:
- fi-kbl-guc: [FAIL][7] ([i915#3049]) -> [SKIP][8] ([fdo#109271])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10153/fi-kbl-guc/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/fi-kbl-guc/igt@[email protected]

* igt@i915_selftest@live@execlists:
- fi-cml-s: [DMESG-FAIL][9] ([i915#3462]) -> [INCOMPLETE][10] ([i915#3462])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10153/fi-cml-s/igt@i915_selftest@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/fi-cml-s/igt@i915_selftest@[email protected]

* igt@runner@aborted:
- fi-cfl-8700k: [FAIL][11] ([i915#2426] / [i915#3363]) -> [FAIL][12] ([i915#3363])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10153/fi-cfl-8700k/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/fi-cfl-8700k/igt@[email protected]
- fi-bdw-5557u: [FAIL][13] ([i915#1602] / [i915#2029]) -> [FAIL][14] ([i915#3462])
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10153/fi-bdw-5557u/igt@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/fi-bdw-5557u/igt@[email protected]
- fi-kbl-guc: [FAIL][15] ([i915#1436] / [i915#3363]) -> [FAIL][16] ([i915#1436] / [i915#2426] / [i915#3363])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10153/fi-kbl-guc/igt@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/fi-kbl-guc/igt@[email protected]
- fi-bxt-dsi: [FAIL][17] ([i915#2426] / [i915#3363]) -> [FAIL][18] ([i915#3363])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10153/fi-bxt-dsi/igt@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/fi-bxt-dsi/igt@[email protected]
- fi-cfl-guc: [FAIL][19] ([i915#3363]) -> [FAIL][20] ([i915#2426] / [i915#3363])
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10153/fi-cfl-guc/igt@[email protected]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/fi-cfl-guc/igt@[email protected]
- fi-skl-6700k2: [FAIL][21] ([i915#1436] / [i915#3363]) -> [FAIL][22] ([i915#1436] / [i915#2426] / [i915#3363])
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10153/fi-skl-6700k2/igt@[email protected]
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/fi-skl-6700k2/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#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[i915#1436]: https://gitlab.freedesktop.org/drm/intel/issues/1436
[i915#1602]: https://gitlab.freedesktop.org/drm/intel/issues/1602
[i915#2029]: https://gitlab.freedesktop.org/drm/intel/issues/2029
[i915#2283]: https://gitlab.freedesktop.org/drm/intel/issues/2283
[i915#2426]: https://gitlab.freedesktop.org/drm/intel/issues/2426
[i915#3049]: https://gitlab.freedesktop.org/drm/intel/issues/3049
[i915#3303]: https://gitlab.freedesktop.org/drm/intel/issues/3303
[i915#3363]: https://gitlab.freedesktop.org/drm/intel/issues/3363
[i915#3462]: https://gitlab.freedesktop.org/drm/intel/issues/3462

Participating hosts (46 -> 40)
------------------------------

Missing (6): fi-ilk-m540 fi-hsw-4200u fi-bsw-cyan fi-dg1-1 fi-bsw-nick fi-bdw-samus

Build changes
-------------

* CI: CI-20190529 -> None
* IGT: IGT_6097 -> IGTPW_5867

CI-20190529: 20190529
CI_DRM_10153: 51cde10d0ff6d09afa365e7cf31d1ef44a8fa174 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_5867: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/index.html
IGT_6097: f823d8ec14b34a6dd2c0804c684b07b0a50f7bb7 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/index.html

_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev

#2 lore raw

[igt-dev] ✗ Fi.CI.IGT: failure for tests/kms_dp_dsc: Avoid SIGSEGV when release DRM connector.

In reply to Lee Shawn C
== Series Details ==

== Series Details ==

Series: tests/kms_dp_dsc: Avoid SIGSEGV when release DRM connector.
URL : https://patchwork.freedesktop.org/series/90796/
State : failure

== Summary ==

CI Bug Log - changes from CI_DRM_10153_full -> IGTPW_5867_full
====================================================

Summary
-------

**FAILURE**

Serious unknown changes coming with IGTPW_5867_full absolutely need to be verified manually.

If you think the reported changes have nothing to do with the changes introduced in IGTPW_5867_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_5867/index.html

Possible new issues
-------------------

Here are the unknown changes that may have been introduced in IGTPW_5867_full:

### IGT changes ###

#### Possible regressions ####

* igt@kms_plane_lowres@pipe-a-tiling-y:
- shard-iclb: NOTRUN -> [SKIP][1] +3 similar issues
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-iclb7/igt@[email protected]

* igt@kms_plane_lowres@pipe-c-tiling-y:
- shard-tglb: NOTRUN -> [SKIP][2]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-tglb7/igt@[email protected]

Known issues
------------

Here are the changes found in IGTPW_5867_full that come from known issues:

### IGT changes ###

#### Issues hit ####

* igt@feature_discovery@display-2x:
- shard-iclb: NOTRUN -> [SKIP][3] ([i915#1839])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-iclb7/igt@[email protected]

* igt@gem_create@create-massive:
- shard-iclb: NOTRUN -> [DMESG-WARN][4] ([i915#3002])
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-iclb1/igt@[email protected]
- shard-kbl: NOTRUN -> [DMESG-WARN][5] ([i915#3002])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-kbl2/igt@[email protected]
- shard-tglb: NOTRUN -> [DMESG-WARN][6] ([i915#3002])
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-tglb3/igt@[email protected]
- shard-glk: NOTRUN -> [DMESG-WARN][7] ([i915#3002])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-glk8/igt@[email protected]
- shard-apl: NOTRUN -> [DMESG-WARN][8] ([i915#3002])
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-apl6/igt@[email protected]

* igt@gem_ctx_persistence@legacy-engines-queued:
- shard-snb: NOTRUN -> [SKIP][9] ([fdo#109271] / [i915#1099]) +5 similar issues
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-snb5/igt@[email protected]

* igt@gem_exec_fair@basic-none-solo@rcs0:
- shard-kbl: NOTRUN -> [FAIL][10] ([i915#2842])
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-kbl2/igt@gem_exec_fair@[email protected]

* igt@gem_exec_fair@basic-pace-solo@rcs0:
- shard-glk: [PASS][11] -> [FAIL][12] ([i915#2842])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10153/shard-glk8/igt@gem_exec_fair@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-glk8/igt@gem_exec_fair@[email protected]

* igt@gem_exec_fair@basic-pace@vcs0:
- shard-iclb: NOTRUN -> [FAIL][13] ([i915#2842]) +3 similar issues
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-iclb5/igt@gem_exec_fair@[email protected]

* igt@gem_exec_fair@basic-throttle@rcs0:
- shard-iclb: [PASS][14] -> [FAIL][15] ([i915#2849])
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10153/shard-iclb7/igt@gem_exec_fair@[email protected]
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-iclb2/igt@gem_exec_fair@[email protected]

* igt@gem_exec_params@secure-non-master:
- shard-iclb: NOTRUN -> [SKIP][16] ([fdo#112283])
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-iclb2/igt@[email protected]

* igt@gem_exec_whisper@basic-contexts-all:
- shard-glk: NOTRUN -> [DMESG-WARN][17] ([i915#118] / [i915#95])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-glk7/igt@[email protected]

* igt@gem_mmap_gtt@big-copy-odd:
- shard-glk: [PASS][18] -> [FAIL][19] ([i915#307])
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10153/shard-glk2/igt@[email protected]
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-glk6/igt@[email protected]

* igt@gem_mmap_gtt@cpuset-basic-small-copy:
- shard-apl: NOTRUN -> [INCOMPLETE][20] ([i915#3468])
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-apl3/igt@[email protected]

* igt@gem_mmap_gtt@cpuset-basic-small-copy-odd:
- shard-iclb: [PASS][21] -> [INCOMPLETE][22] ([i915#2910] / [i915#3468])
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10153/shard-iclb3/igt@[email protected]
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-iclb7/igt@[email protected]

* igt@gem_mmap_gtt@cpuset-basic-small-copy-xy:
- shard-tglb: [PASS][23] -> [INCOMPLETE][24] ([i915#3468])
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10153/shard-tglb7/igt@[email protected]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-tglb1/igt@[email protected]
- shard-kbl: NOTRUN -> [INCOMPLETE][25] ([i915#3468])
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-kbl1/igt@[email protected]

* igt@gem_mmap_gtt@cpuset-big-copy-xy:
- shard-iclb: [PASS][26] -> [FAIL][27] ([i915#307])
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10153/shard-iclb8/igt@[email protected]
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-iclb3/igt@[email protected]

* igt@gem_mmap_gtt@cpuset-medium-copy-xy:
- shard-tglb: NOTRUN -> [INCOMPLETE][28] ([i915#3468] / [i915#750])
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-tglb6/igt@[email protected]
- shard-iclb: NOTRUN -> [INCOMPLETE][29] ([i915#3468])
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-iclb8/igt@[email protected]

* igt@gem_pwrite@basic-exhaustion:
- shard-snb: NOTRUN -> [WARN][30] ([i915#2658])
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-snb2/igt@[email protected]
- shard-iclb: NOTRUN -> [WARN][31] ([i915#2658])
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-iclb8/igt@[email protected]
- shard-kbl: NOTRUN -> [WARN][32] ([i915#2658]) +1 similar issue
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-kbl3/igt@[email protected]
- shard-apl: NOTRUN -> [WARN][33] ([i915#2658])
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-apl2/igt@[email protected]
- shard-tglb: NOTRUN -> [WARN][34] ([i915#2658])
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-tglb3/igt@[email protected]
- shard-glk: NOTRUN -> [WARN][35] ([i915#2658])
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-glk5/igt@[email protected]

* igt@gem_render_copy@yf-tiled-mc-ccs-to-vebox-y-tiled:
- shard-glk: NOTRUN -> [SKIP][36] ([fdo#109271]) +135 similar issues
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-glk8/igt@[email protected]

* igt@gem_render_copy@yf-tiled-to-vebox-y-tiled:
- shard-iclb: NOTRUN -> [SKIP][37] ([i915#768]) +2 similar issues
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-iclb5/igt@[email protected]

* igt@gem_userptr_blits@dmabuf-sync:
- shard-apl: NOTRUN -> [SKIP][38] ([fdo#109271] / [i915#3323])
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-apl2/igt@[email protected]

* igt@gem_userptr_blits@invalid-mmap-offset-unsync:
- shard-iclb: NOTRUN -> [SKIP][39] ([i915#3297])
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-iclb8/igt@[email protected]

* igt@gem_userptr_blits@unsync-overlap:
- shard-tglb: NOTRUN -> [SKIP][40] ([i915#3297])
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-tglb6/igt@[email protected]

* igt@gem_userptr_blits@vma-merge:
- shard-snb: NOTRUN -> [FAIL][41] ([i915#2724])
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-snb2/igt@[email protected]
- shard-apl: NOTRUN -> [FAIL][42] ([i915#3318])
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-apl1/igt@[email protected]
- shard-iclb: NOTRUN -> [FAIL][43] ([i915#3318])
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-iclb2/igt@[email protected]
- shard-glk: NOTRUN -> [FAIL][44] ([i915#3318])
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-glk2/igt@[email protected]
- shard-tglb: NOTRUN -> [FAIL][45] ([i915#3318])
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-tglb2/igt@[email protected]

* igt@gen7_exec_parse@cmd-crossing-page:
- shard-tglb: NOTRUN -> [SKIP][46] ([fdo#109289]) +3 similar issues
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-tglb7/igt@[email protected]

* igt@gen9_exec_parse@bb-large:
- shard-glk: NOTRUN -> [FAIL][47] ([i915#3296])
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-glk2/igt@[email protected]
- shard-apl: NOTRUN -> [FAIL][48] ([i915#3296])
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-apl7/igt@[email protected]
- shard-kbl: NOTRUN -> [FAIL][49] ([i915#3296])
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-kbl2/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][50] ([i915#2527])
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-iclb1/igt@[email protected]

* igt@gen9_exec_parse@shadow-peek:
- shard-tglb: NOTRUN -> [SKIP][51] ([i915#2856])
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-tglb3/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][52] ([i915#2856])
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-iclb1/igt@[email protected]

* igt@i915_pm_lpsp@kms-lpsp@kms-lpsp-hdmi-a:
- shard-glk: NOTRUN -> [SKIP][53] ([fdo#109271] / [i915#1937])
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-glk9/igt@i915_pm_lpsp@[email protected]

* igt@i915_pm_rc6_residency@media-rc6-accuracy:
- shard-tglb: NOTRUN -> [SKIP][54] ([fdo#109289] / [fdo#111719])
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-tglb2/igt@[email protected]

* igt@i915_pm_rpm@modeset-non-lpsp-stress-no-wait:
- shard-tglb: NOTRUN -> [SKIP][55] ([fdo#111644] / [i915#1397] / [i915#2411])
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-tglb3/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][56] ([fdo#110892])
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-iclb5/igt@[email protected]

* igt@i915_pm_rpm@pc8-residency:
- shard-tglb: NOTRUN -> [SKIP][57] ([fdo#109506] / [i915#2411])
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-tglb1/igt@[email protected]

* igt@kms_atomic_transition@plane-all-modeset-transition:
- shard-iclb: NOTRUN -> [SKIP][58] ([i915#1769])
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-iclb3/igt@[email protected]
- shard-tglb: NOTRUN -> [SKIP][59] ([i915#1769])
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-tglb8/igt@[email protected]

* igt@kms_big_fb@linear-16bpp-rotate-90:
- shard-iclb: NOTRUN -> [SKIP][60] ([fdo#110725] / [fdo#111614]) +2 similar issues
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-iclb5/igt@[email protected]

* igt@kms_big_fb@x-tiled-32bpp-rotate-270:
- shard-tglb: NOTRUN -> [SKIP][61] ([fdo#111614])
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-tglb2/igt@[email protected]

* igt@kms_big_joiner@basic:
- shard-tglb: NOTRUN -> [SKIP][62] ([i915#2705])
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-tglb7/igt@[email protected]
- shard-kbl: NOTRUN -> [SKIP][63] ([fdo#109271] / [i915#2705])
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-kbl1/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][64] ([i915#2705])
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-iclb7/igt@[email protected]
- shard-glk: NOTRUN -> [SKIP][65] ([fdo#109271] / [i915#2705])
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-glk5/igt@[email protected]
- shard-apl: NOTRUN -> [SKIP][66] ([fdo#109271] / [i915#2705])
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-apl2/igt@[email protected]

* igt@kms_chamelium@hdmi-edid-change-during-suspend:
- shard-apl: NOTRUN -> [SKIP][67] ([fdo#109271] / [fdo#111827]) +29 similar issues
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-apl6/igt@[email protected]

* igt@kms_chamelium@hdmi-hpd:
- shard-glk: NOTRUN -> [SKIP][68] ([fdo#109271] / [fdo#111827]) +14 similar issues
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-glk8/igt@[email protected]

* igt@kms_chamelium@hdmi-hpd-enable-disable-mode:
- shard-iclb: NOTRUN -> [SKIP][69] ([fdo#109284] / [fdo#111827]) +12 similar issues
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-iclb5/igt@[email protected]

* igt@kms_chamelium@hdmi-hpd-storm:
- shard-kbl: NOTRUN -> [SKIP][70] ([fdo#109271] / [fdo#111827]) +15 similar issues
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-kbl7/igt@[email protected]

* igt@kms_chamelium@vga-hpd-without-ddc:
- shard-snb: NOTRUN -> [SKIP][71] ([fdo#109271] / [fdo#111827]) +27 similar issues
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-snb5/igt@[email protected]

* igt@kms_color@pipe-d-ctm-negative:
- shard-iclb: NOTRUN -> [SKIP][72] ([fdo#109278] / [i915#1149]) +1 similar issue
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-iclb1/igt@[email protected]

* igt@kms_color_chamelium@pipe-d-ctm-red-to-blue:
- shard-iclb: NOTRUN -> [SKIP][73] ([fdo#109278] / [fdo#109284] / [fdo#111827])
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-iclb7/igt@[email protected]

* igt@kms_color_chamelium@pipe-invalid-degamma-lut-sizes:
- shard-tglb: NOTRUN -> [SKIP][74] ([fdo#109284] / [fdo#111827]) +13 similar issues
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-tglb7/igt@[email protected]

* igt@kms_content_protection@srm:
- shard-kbl: NOTRUN -> [TIMEOUT][75] ([i915#1319])
[75]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-kbl4/igt@[email protected]

* igt@kms_content_protection@uevent:
- shard-kbl: NOTRUN -> [FAIL][76] ([i915#2105])
[76]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-kbl4/igt@[email protected]
- shard-tglb: NOTRUN -> [SKIP][77] ([fdo#111828])
[77]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-tglb1/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][78] ([fdo#109300] / [fdo#111066])
[78]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-iclb5/igt@[email protected]

* igt@kms_cursor_crc@pipe-b-cursor-32x32-sliding:
- shard-tglb: NOTRUN -> [SKIP][79] ([i915#3319]) +1 similar issue
[79]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-tglb2/igt@[email protected]

* igt@kms_cursor_crc@pipe-b-cursor-512x512-sliding:
- shard-iclb: NOTRUN -> [SKIP][80] ([fdo#109278] / [fdo#109279]) +1 similar issue
[80]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-iclb7/igt@[email protected]

* igt@kms_cursor_crc@pipe-c-cursor-max-size-offscreen:
- shard-tglb: NOTRUN -> [SKIP][81] ([i915#3359]) +7 similar issues
[81]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-tglb3/igt@[email protected]

* igt@kms_cursor_crc@pipe-d-cursor-512x512-sliding:
- shard-tglb: NOTRUN -> [SKIP][82] ([fdo#109279] / [i915#3359]) +2 similar issues
[82]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-tglb5/igt@[email protected]

* igt@kms_cursor_legacy@2x-cursor-vs-flip-legacy:
- shard-iclb: NOTRUN -> [SKIP][83] ([fdo#109274] / [fdo#109278]) +5 similar issues
[83]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-iclb5/igt@[email protected]

* igt@kms_flip@2x-flip-vs-wf_vblank:
- shard-iclb: NOTRUN -> [SKIP][84] ([fdo#109274]) +4 similar issues
[84]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-iclb3/igt@kms_flip@2x-flip-vs-wf_vblank.html

* igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-64bpp-ytile:
- shard-apl: NOTRUN -> [SKIP][85] ([fdo#109271] / [i915#2642])
[85]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-apl7/igt@[email protected]

* igt@kms_flip_scaled_crc@flip-32bpp-ytileccs-to-64bpp-ytile:
- shard-snb: NOTRUN -> [SKIP][86] ([fdo#109271]) +504 similar issues
[86]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-snb5/igt@[email protected]
- shard-glk: NOTRUN -> [SKIP][87] ([fdo#109271] / [i915#2642])
[87]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-glk6/igt@[email protected]
- shard-kbl: NOTRUN -> [SKIP][88] ([fdo#109271] / [i915#2642]) +1 similar issue
[88]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-kbl4/igt@[email protected]

* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-shrfb-plflip-blt:
- shard-glk: [PASS][89] -> [FAIL][90] ([i915#49])
[89]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10153/shard-glk9/igt@[email protected]
[90]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-glk9/igt@[email protected]

* igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-cur-indfb-draw-blt:
- shard-kbl: NOTRUN -> [SKIP][91] ([fdo#109271]) +204 similar issues
[91]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-kbl3/igt@[email protected]

* igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-cur-indfb-onoff:
- shard-tglb: NOTRUN -> [SKIP][92] ([fdo#111825]) +33 similar issues
[92]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-tglb7/igt@[email protected]

* igt@kms_frontbuffer_tracking@fbc-suspend:
- shard-kbl: NOTRUN -> [DMESG-WARN][93] ([i915#180]) +2 similar issues
[93]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-kbl1/igt@[email protected]

* igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-spr-indfb-draw-mmap-cpu:
- shard-iclb: NOTRUN -> [SKIP][94] ([fdo#109280]) +36 similar issues
[94]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-iclb1/igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-spr-indfb-draw-mmap-cpu.html

* igt@kms_hdr@static-toggle:
- shard-iclb: NOTRUN -> [SKIP][95] ([i915#1187]) +1 similar issue
[95]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-iclb5/igt@[email protected]
- shard-tglb: NOTRUN -> [SKIP][96] ([i915#1187])
[96]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-tglb8/igt@[email protected]

* igt@kms_pipe_b_c_ivb@disable-pipe-b-enable-pipe-c:
- shard-iclb: NOTRUN -> [SKIP][97] ([fdo#109289]) +6 similar issues
[97]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-iclb7/igt@[email protected]

* igt@kms_pipe_crc_basic@suspend-read-crc-pipe-c:
- shard-kbl: [PASS][98] -> [DMESG-WARN][99] ([i915#180]) +2 similar issues
[98]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10153/shard-kbl4/igt@[email protected]
[99]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-kbl3/igt@[email protected]

* igt@kms_plane_alpha_blend@pipe-a-alpha-opaque-fb:
- shard-apl: NOTRUN -> [FAIL][100] ([fdo#108145] / [i915#265]) +1 similar issue
[100]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-apl3/igt@[email protected]
- shard-glk: NOTRUN -> [FAIL][101] ([fdo#108145] / [i915#265])
[101]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-glk7/igt@[email protected]

* igt@kms_plane_alpha_blend@pipe-a-alpha-transparent-fb:
- shard-apl: NOTRUN -> [FAIL][102] ([i915#265])
[102]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-apl7/igt@[email protected]

* igt@kms_plane_alpha_blend@pipe-a-coverage-7efc:
- shard-glk: [PASS][103] -> [DMESG-WARN][104] ([i915#118] / [i915#95])
[103]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10153/shard-glk2/igt@[email protected]
[104]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-glk8/igt@[email protected]

* igt@kms_plane_alpha_blend@pipe-c-alpha-7efc:
- shard-kbl: NOTRUN -> [FAIL][105] ([fdo#108145] / [i915#265]) +1 similar issue
[105]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-kbl3/igt@[email protected]

* igt@kms_plane_alpha_blend@pipe-d-constant-alpha-max:
- shard-iclb: NOTRUN -> [SKIP][106] ([fdo#109278]) +45 similar issues
[106]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-iclb1/igt@[email protected]

* igt@kms_plane_lowres@pipe-b-tiling-yf:
- shard-tglb: NOTRUN -> [SKIP][107] ([fdo#111615]) +4 similar issues
[107]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-tglb8/igt@[email protected]

* igt@kms_prime@basic-crc@first-to-second:
- shard-iclb: NOTRUN -> [SKIP][108] ([i915#1836])
[108]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-iclb1/igt@kms_prime@[email protected]
- shard-tglb: NOTRUN -> [SKIP][109] ([i915#1836])
[109]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-tglb1/igt@kms_prime@[email protected]

* igt@kms_psr2_sf@overlay-plane-update-sf-dmg-area-1:
- shard-kbl: NOTRUN -> [SKIP][110] ([fdo#109271] / [i915#658]) +5 similar issues
[110]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-kbl3/igt@[email protected]

* igt@kms_psr2_sf@overlay-plane-update-sf-dmg-area-2:
- shard-apl: NOTRUN -> [SKIP][111] ([fdo#109271] / [i915#658]) +6 similar issues
[111]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-apl1/igt@[email protected]

* igt@kms_psr2_sf@overlay-primary-update-sf-dmg-area-1:
- shard-tglb: NOTRUN -> [SKIP][112] ([i915#2920]) +3 similar issues
[112]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-tglb7/igt@[email protected]

* igt@kms_psr2_sf@plane-move-sf-dmg-area-2:
- shard-glk: NOTRUN -> [SKIP][113] ([fdo#109271] / [i915#658]) +4 similar issues
[113]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-glk1/igt@[email protected]

* igt@kms_psr2_sf@primary-plane-update-sf-dmg-area-1:
- shard-iclb: NOTRUN -> [SKIP][114] ([i915#658]) +4 similar issues
[114]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-iclb5/igt@[email protected]

* igt@kms_psr@psr2_cursor_blt:
- shard-iclb: NOTRUN -> [SKIP][115] ([fdo#109441]) +1 similar issue
[115]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-iclb3/igt@kms_psr@psr2_cursor_blt.html

* igt@kms_psr@psr2_primary_mmap_cpu:
- shard-iclb: [PASS][116] -> [SKIP][117] ([fdo#109441]) +1 similar issue
[116]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10153/shard-iclb2/igt@kms_psr@psr2_primary_mmap_cpu.html
[117]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-iclb5/igt@kms_psr@psr2_primary_mmap_cpu.html

* igt@kms_psr@psr2_primary_render:
- shard-tglb: NOTRUN -> [FAIL][118] ([i915#132] / [i915#3467]) +1 similar issue
[118]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-tglb6/igt@kms_psr@psr2_primary_render.html

* igt@kms_psr@psr2_suspend:
- shard-tglb: NOTRUN -> [FAIL][119] ([i915#132])
[119]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-tglb1/igt@kms_psr@psr2_suspend.html

* igt@kms_vblank@pipe-d-wait-idle:
- shard-kbl: NOTRUN -> [SKIP][120] ([fdo#109271] / [i915#533]) +2 similar issues
[120]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-kbl3/igt@[email protected]
- shard-apl: NOTRUN -> [SKIP][121] ([fdo#109271] / [i915#533]) +1 similar issue
[121]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-apl2/igt@[email protected]
- shard-glk: NOTRUN -> [SKIP][122] ([fdo#109271] / [i915#533]) +2 similar issues
[122]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-glk5/igt@[email protected]

* igt@nouveau_crc@pipe-a-ctx-flip-detection:
- shard-iclb: NOTRUN -> [SKIP][123] ([i915#2530]) +4 similar issues
[123]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-iclb3/igt@[email protected]

* igt@nouveau_crc@pipe-b-ctx-flip-skip-current-frame:
- shard-apl: NOTRUN -> [SKIP][124] ([fdo#109271]) +289 similar issues
[124]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-apl3/igt@[email protected]

* igt@nouveau_crc@pipe-d-ctx-flip-detection:
- shard-tglb: NOTRUN -> [SKIP][125] ([i915#2530]) +4 similar issues
[125]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-tglb1/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][126] ([fdo#109278] / [i915#2530]) +2 similar issues
[126]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-iclb5/igt@[email protected]

* igt@prime_nv_api@i915_self_import:
- shard-tglb: NOTRUN -> [SKIP][127] ([fdo#109291]) +2 similar issues
[127]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-tglb7/igt@prime_nv_api@i915_self_import.html

* igt@prime_nv_test@nv_i915_sharing:
- shard-iclb: NOTRUN -> [SKIP][128] ([fdo#109291]) +2 similar issues
[128]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-iclb3/igt@prime_nv_test@nv_i915_sharing.html

* igt@prime_vgem@fence-read-hang:
- shard-tglb: NOTRUN -> [SKIP][129] ([fdo#109295])
[129]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-tglb2/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][130] ([fdo#109295])
[130]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-iclb2/igt@[email protected]

* igt@sysfs_clients@pidname:
- shard-glk: NOTRUN -> [SKIP][131] ([fdo#109271] / [i915#2994]) +1 similar issue
[131]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-glk6/igt@[email protected]

* igt@sysfs_clients@recycle-many:
- shard-apl: NOTRUN -> [SKIP][132] ([fdo#109271] / [i915#2994]) +5 similar issues
[132]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-apl6/igt@[email protected]

* igt@sysfs_clients@sema-25:
- shard-iclb: NOTRUN -> [SKIP][133] ([i915#2994]) +1 similar issue
[133]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/shard-iclb5/igt@[email protected]
- shard-kbl: NOTRUN -> [SKIP][134] ([fdo#109271] / [i915#2994]) +1 similar issu

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5867/index.html

_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev

Tested-by on v1 1/1
#3 lore raw
In reply to Lee Shawn C
Quoted 8 lines · Lee Shawn C

Got SIGSEGV fault while running kms_dp_dsc test but did not connect DP DSC capable monitor on eDP/DP port. This test daemon should "SKIP" test without any problem. We found kms_dp_dsc can't get proper drmModeConnector and caused this SIGSEGV fault when release it. Make sure drmModeConnector is available before free it can avoid this issue.

Tested on ChromeOS on TGL (Delbin) and JSL (Drawlat).

Quoted 29 lines
---
 tests/kms_dp_dsc.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
tests/kms_dp_dsc.c +3 -3
index 2446fd82bba3..ea7c9f4f72ce 100644
@@ -262,7 +262,7 @@ igt_main
        data_t data = {};
        igt_output_t *output;
        drmModeRes *res;
-       drmModeConnector *connector;
+       drmModeConnector *connector = NULL;
        int i, test_conn_cnt, test_cnt;
        int tests[] = {DRM_MODE_CONNECTOR_eDP, DRM_MODE_CONNECTOR_DisplayPort};
 
@@ -311,7 +311,8 @@ igt_main
        }
 
        igt_fixture {
-               drmModeFreeConnector(connector);
+               if (connector)
+                       drmModeFreeConnector(connector);
                drmModeFreeResources(res);
                close(data.debugfs_fd);
                close(data.drm_fd);
--
Quoted 2 lines

2.17.1

_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev

#4 lore raw
Quoted 11 lines · Mark Yacoub
Quoted 8 lines · Lee Shawn C

Got SIGSEGV fault while running kms_dp_dsc test but did not connect DP DSC capable monitor on eDP/DP port. This test daemon should "SKIP" test without any problem. We found kms_dp_dsc can't get proper drmModeConnector and caused this SIGSEGV fault when release it. Make sure drmModeConnector is available before free it can avoid this issue.

Tested on ChromeOS on TGL (Delbin) and JSL (Drawlat).

Tested on ChromeOS AMD (Zork) with Kernel 5.4

Quoted 22 lines
Quoted 21 lines
---
 tests/kms_dp_dsc.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
tests/kms_dp_dsc.c +1 -1
index 2446fd82bba3..ea7c9f4f72ce 100644
@@ -262,7 +262,7 @@ igt_main
        data_t data = {};
        igt_output_t *output;
        drmModeRes *res;
-       drmModeConnector *connector;
+       drmModeConnector *connector = NULL;
        int i, test_conn_cnt, test_cnt;
        int tests[] = {DRM_MODE_CONNECTOR_eDP, DRM_MODE_CONNECTOR_DisplayPort};
 
@@ -311,7 +311,8 @@ igt_main
        }
 
Quoted 10 lines
Quoted 10 lines
tests/kms_dp_dsc.c +2 -2
        igt_fixture {
-               drmModeFreeConnector(connector);
+               if (connector)
+                       drmModeFreeConnector(connector);
                drmModeFreeResources(res);
                close(data.debugfs_fd);
                close(data.drm_fd);
--

2.17.1

_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev

Reviewed-by on v1 1/1
#5 lore raw
In reply to Lee Shawn C
Quoted 8 lines · Lee Shawn C

Got SIGSEGV fault while running kms_dp_dsc test but did not connect DP DSC capable monitor on eDP/DP port. This test daemon should "SKIP" test without any problem. We found kms_dp_dsc can't get proper drmModeConnector and caused this SIGSEGV fault when release it. Make sure drmModeConnector is available before free it can avoid this issue.

Quoted 34 lines
---
 tests/kms_dp_dsc.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
tests/kms_dp_dsc.c +3 -2
index 2446fd82bba3..ea7c9f4f72ce 100644
@@ -262,7 +262,7 @@ igt_main
 	data_t data = {};
 	igt_output_t *output;
 	drmModeRes *res;
-	drmModeConnector *connector;
+	drmModeConnector *connector = NULL;
 	int i, test_conn_cnt, test_cnt;
 	int tests[] = {DRM_MODE_CONNECTOR_eDP, DRM_MODE_CONNECTOR_DisplayPort};
 
@@ -311,7 +311,8 @@ igt_main
 	}
 
 	igt_fixture {
-		drmModeFreeConnector(connector);
+		if (connector)
+			drmModeFreeConnector(connector);
 		drmModeFreeResources(res);
 		close(data.debugfs_fd);
 		close(data.drm_fd);
Signature · 6 lines
2.17.1

_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx