Skip to contentSkip to conversation

igt-dev Digest, Vol 63, Issue 197

igt-dev Ch, Sai Gowtham 1 participant 4 messages Feb 23, 2023 – Feb 24, 2023 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Ch, Sai Gowtham

author Reviewed-by
#1 lore raw
Quoted 149 lines

-----Original Message-----
From: igt-dev <[email protected]> On Behalf Of igt-dev- [email protected]
Sent: Friday, February 17, 2023 9:04 PM
To: [email protected]
Subject: igt-dev Digest, Vol 63, Issue 197

Send igt-dev mailing list submissions to
[email protected]

To subscribe or unsubscribe via the World Wide Web, visit
https://lists.freedesktop.org/mailman/listinfo/igt-dev
or, via email, send a message with subject or body 'help' to
[email protected]

You can reach the person managing the list at
[email protected]

When replying, please edit your Subject line so it is more specific than "Re:
Contents of igt-dev digest..."

Today's Topics:

1. Re: [PATCH i-g-t] intel_gpu_top: Add display name for compute engine class (Kamil Konieczny)
2. [PATCH i-g-t] i915/i915_suspend: run in subprocess to catch oom (Kamil Konieczny)
3. ? Fi.CI.BAT: success for Validate max source size (rev3) (Patchwork)

----------------------------------------------------------------------

Message: 1
Date: Fri, 17 Feb 2023 15:37:12 +0100
From: Kamil Konieczny <[email protected]>
To: Development mailing list for IGT GPU Tools
<[email protected]>
Cc: Christopher Snowhill <[email protected]>, Christopher Snowhill

	<[email protected]>

Subject: Re: [igt-dev] [PATCH i-g-t] intel_gpu_top: Add display name
for compute engine class
Message-ID: <20230217143712.z5dbgg5ua3atifre@kamilkon-desk1>
Content-Type: text/plain; charset=utf-8

Hi Christopher,

Sidenote: please decide which is your main e-mail address and if it is different from s-o-b add From: line at begin like:

From: Christopher Snowhill <[email protected]>

Quoted 3 lines · Christopher Snowhill

Add label and abbreviated display name for the compute engine class.

Patch itself lgtm,

Regards,
Kamil

tools/intel_gpu_top.c static const char *class_display_name(unsigned int

Quoted 9 lines
---
 tools/intel_gpu_top.c | 4 ++++
 1 file changed, 4 insertions(+)
tools/intel_gpu_top.c index renamed from tools/intel_gpu_top.c +0 -0

6de8a164..08306f51 100644

tools/intel_gpu_top.c +0 -0
@@ -281,6 +281,8 @@ static const char *class_display_name(unsigned int

class)

tools/intel_gpu_top.c static const char *class_short_name(unsigned int

Quoted 9 lines
tools/intel_gpu_top.c +2 -0
 		return "Video";
 	case I915_ENGINE_CLASS_VIDEO_ENHANCE:
 		return "VideoEnhance";
+	case I915_ENGINE_CLASS_COMPUTE:
+		return "Compute";
 	default:
 		return "[unknown]";
 	}
@@ -297,6 +299,8 @@ static const char *class_short_name(unsigned int

class)

Quoted 10 lines
tools/intel_gpu_top.c +2 -1
 		return "VCS";
 	case I915_ENGINE_CLASS_VIDEO_ENHANCE:
 		return "VECS";
+	case I915_ENGINE_CLASS_COMPUTE:
+		return "CCS";
 	default:
 		return "UNKN";
 	}
--

2.39.0

------------------------------

Message: 2
Date: Fri, 17 Feb 2023 16:12:41 +0100
From: Kamil Konieczny <[email protected]>
To: [email protected]
Subject: [igt-dev] [PATCH i-g-t] i915/i915_suspend: run in subprocess
to catch oom
Message-ID: <[email protected]>

Shrink subtest can end up with oom killing it. Create subprocess and run it from there so it will at least get reported like:

dynamic child 0 pid:70254 died with signal 9, Killed Subtest shrink: FAIL (23.906s)

dmesg reports:

[103335.337309] Out of memory: Killed process 70254 (i915_suspend)
Cc Riana Tauro <[email protected]>
Cc Anshuman Gupta <[email protected]>
---
 tests/i915/i915_suspend.c | 19 +++++++++++++------
 1 file changed, 13 insertions(+), 6 deletions(-)
tests/i915/i915_suspend.c +6 -6
index 815f1c8a..9798ba5c 100644
@@ -176,15 +176,22 @@ test_shrink(int fd, unsigned int mode)
 	void *mem;
 
 	gem_quiescent_gpu(fd);
-	igt_purge_vm_caches(fd);
 
-	mem = igt_get_total_pinnable_mem(&size);
-	igt_assert(mem != MAP_FAILED);
+	igt_multi_fork(child, 1) {
+		fd = gem_reopen_driver(fd);
+		igt_purge_vm_caches(fd);
 
-	igt_purge_vm_caches(fd);
-	igt_system_suspend_autoresume(mode, SUSPEND_TEST_NONE);
+		mem = igt_get_total_pinnable_mem(&size);
+		igt_assert(mem != MAP_FAILED);
 
-	munmap(mem, size);
+		igt_purge_vm_caches(fd);

tests/i915/i915_suspend.c test_shrink(int fd, unsigned int mode) · line 197

Quoted 10 lines
tests/i915/i915_suspend.c +7 -0
+		igt_system_suspend_autoresume(mode,
 SUSPEND_TEST_NONE);
+
+		munmap(mem, size);
+		close(fd);
+	}
+
+	igt_waitchildren();
 }
 

Looks good to me.

Quoted 359 lines

static void
--
2.37.2

------------------------------

Message: 3
Date: Fri, 17 Feb 2023 15:34:12 -0000
From: Patchwork <[email protected]>
To: "Swati Sharma" <[email protected]>
Cc: [email protected]
Subject: [igt-dev] ? Fi.CI.BAT: success for Validate max source size

	(rev3)
Message-ID:
	<[email protected]
Quoted 1 line

Content-Type: text/plain; charset="utf-8"

== Series Details ==

Series: Validate max source size (rev3)
URL : https://patchwork.freedesktop.org/series/114059/
State : success

== Summary ==

CI Bug Log - changes from CI_DRM_12757 -> IGTPW_8504
====================================================

Summary
-------

**SUCCESS**

No regressions found.

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

Participating hosts (38 -> 37)
------------------------------

Additional (2): fi-tgl-1115g4 bat-atsm-1
Missing (3): bat-rpls-2 bat-kbl-2 fi-snb-2520m

New tests
---------

New tests have been introduced between CI_DRM_12757 and IGTPW_8504:

### New IGT tests (1) ###

* igt@kms_chamelium_hpd:
- Statuses :
- Exec time: [None] s

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

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

### IGT changes ###

#### Issues hit ####

* igt@debugfs_test@basic-hwmon:
- fi-tgl-1115g4: NOTRUN -> [SKIP][1] ([i915#7456])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/fi-tgl-
1115g4/igt@[email protected]

* igt@fbdev@eof:
- bat-atsm-1: NOTRUN -> [SKIP][2] ([i915#2582]) +4 similar issues
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-atsm-
1/igt@[email protected]

* igt@gem_huc_copy@huc-copy:
- fi-tgl-1115g4: NOTRUN -> [SKIP][3] ([i915#2190])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/fi-tgl-
1115g4/igt@[email protected]

* igt@gem_lmem_swapping@parallel-random-engines:
- bat-adlm-1: NOTRUN -> [SKIP][4] ([i915#4613]) +3 similar issues
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-adlm-
1/igt@[email protected]
- fi-tgl-1115g4: NOTRUN -> [SKIP][5] ([i915#4613]) +3 similar issues
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/fi-tgl-
1115g4/igt@[email protected]

* igt@gem_mmap@basic:
- bat-atsm-1: NOTRUN -> [SKIP][6] ([i915#4083])
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-atsm-
1/igt@[email protected]

* igt@gem_tiled_fence_blits@basic:
- bat-atsm-1: NOTRUN -> [SKIP][7] ([i915#4077]) +2 similar issues
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-atsm-
1/igt@[email protected]

* igt@gem_tiled_pread_basic:
- bat-atsm-1: NOTRUN -> [SKIP][8] ([i915#4079]) +1 similar issue
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-atsm-
1/igt@gem_tiled_pread_basic.html

* igt@i915_pm_backlight@basic-brightness:
- bat-adlm-1: NOTRUN -> [SKIP][9] ([i915#7561])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-adlm-
1/igt@[email protected]
- fi-tgl-1115g4: NOTRUN -> [SKIP][10] ([i915#7561])
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/fi-tgl-
1115g4/igt@[email protected]

* igt@i915_pm_rps@basic-api:
- bat-atsm-1: NOTRUN -> [SKIP][11] ([i915#6621])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-atsm-
1/igt@[email protected]
- bat-adlm-1: NOTRUN -> [SKIP][12] ([i915#6621])
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-adlm-
1/igt@[email protected]

* igt@i915_selftest@live@execlists:
- fi-bsw-nick: [PASS][13] -> [ABORT][14] ([i915#7911] / [i915#7913])
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12757/fi-bsw-
nick/igt@i915_selftest@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/fi-bsw-
nick/igt@i915_selftest@[email protected]

* igt@i915_suspend@basic-s3-without-i915:
- fi-tgl-1115g4: NOTRUN -> [INCOMPLETE][15] ([i915#7443])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/fi-tgl-
1115g4/igt@[email protected]
- bat-atsm-1: NOTRUN -> [SKIP][16] ([i915#6645])
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-atsm-
1/igt@[email protected]

* igt@kms_addfb_basic@size-max:
- bat-atsm-1: NOTRUN -> [SKIP][17] ([i915#6077]) +36 similar issues
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-atsm-
1/igt@[email protected]

* igt@kms_busy@basic:
- bat-rpls-1: NOTRUN -> [SKIP][18] ([i915#1845])
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-rpls-
1/igt@[email protected]

* igt@kms_chamelium_edid@dp-edid-read:
- fi-tgl-1115g4: NOTRUN -> [SKIP][19] ([i915#7828]) +7 similar issues
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/fi-tgl-
1115g4/igt@[email protected]

* igt@kms_chamelium_frames@dp-crc-fast:
- bat-adlm-1: NOTRUN -> [SKIP][20] ([i915#7828]) +8 similar issues
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-adlm-
1/igt@[email protected]

* igt@kms_cursor_legacy@basic-busy-flip-before-cursor:
- fi-tgl-1115g4: NOTRUN -> [SKIP][21] ([i915#4103])
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/fi-tgl-
1115g4/igt@[email protected]

* igt@kms_cursor_legacy@basic-flip-after-cursor:
- bat-atsm-1: NOTRUN -> [SKIP][22] ([i915#6078]) +14 similar issues
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-atsm-
1/igt@[email protected]

* igt@kms_flip@basic-plain-flip:
- bat-atsm-1: NOTRUN -> [SKIP][23] ([i915#6166]) +3 similar issues
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-atsm-
1/igt@[email protected]
- bat-adlm-1: NOTRUN -> [SKIP][24] ([i915#3637]) +3 similar issues
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-adlm-
1/igt@[email protected]

* igt@kms_force_connector_basic@force-load-detect:
- bat-adlm-1: NOTRUN -> [SKIP][25] ([fdo#109285])
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-adlm-
1/igt@[email protected]
- fi-tgl-1115g4: NOTRUN -> [SKIP][26] ([fdo#109285])
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/fi-tgl-
1115g4/igt@[email protected]

* igt@kms_force_connector_basic@prune-stale-modes:
- bat-atsm-1: NOTRUN -> [SKIP][27] ([i915#6093]) +3 similar issues
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-atsm-
1/igt@[email protected]

* igt@kms_frontbuffer_tracking@basic:
- bat-adlm-1: NOTRUN -> [SKIP][28] ([i915#1849])
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-adlm-
1/igt@[email protected]

* igt@kms_pipe_crc_basic@hang-read-crc:
- bat-adlm-1: NOTRUN -> [SKIP][29] ([i915#1845]) +10 similar issues
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-adlm-
1/igt@[email protected]
- bat-atsm-1: NOTRUN -> [SKIP][30] ([i915#1836]) +6 similar issues
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-atsm-
1/igt@[email protected]

* igt@kms_pipe_crc_basic@read-crc@pipe-c-dp-1:
- bat-adlp-9: NOTRUN -> [FAIL][31] ([i915#4137]) +3 similar issues
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-adlp-
9/igt@kms_pipe_crc_basic@[email protected]

* igt@kms_prop_blob@basic:
- bat-atsm-1: NOTRUN -> [SKIP][32] ([i915#7357])
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-atsm-
1/igt@[email protected]

* igt@kms_psr@cursor_plane_move:
- bat-adlm-1: NOTRUN -> [SKIP][33] ([i915#1072]) +3 similar issues
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-adlm-
1/igt@kms_psr@cursor_plane_move.html
- fi-tgl-1115g4: NOTRUN -> [SKIP][34] ([fdo#110189]) +3 similar issues
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/fi-tgl-
1115g4/igt@kms_psr@cursor_plane_move.html

* igt@kms_psr@sprite_plane_onoff:
- bat-atsm-1: NOTRUN -> [SKIP][35] ([i915#1072]) +3 similar issues
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-atsm-
1/igt@kms_psr@sprite_plane_onoff.html

* igt@kms_setmode@basic-clone-single-crtc:
- bat-atsm-1: NOTRUN -> [SKIP][36] ([i915#6094])
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-atsm-
1/igt@[email protected]
- bat-adlm-1: NOTRUN -> [SKIP][37] ([i915#3555])
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-adlm-
1/igt@[email protected]
- fi-tgl-1115g4: NOTRUN -> [SKIP][38] ([i915#3555])
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/fi-tgl-
1115g4/igt@[email protected]

* igt@prime_vgem@basic-fence-flip:
- bat-atsm-1: NOTRUN -> [SKIP][39] ([fdo#109295] / [i915#6078])
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-atsm-
1/igt@[email protected]
- bat-adlm-1: NOTRUN -> [SKIP][40] ([i915#1845] / [i915#3708])
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-adlm-
1/igt@[email protected]

* igt@prime_vgem@basic-fence-mmap:
- bat-atsm-1: NOTRUN -> [SKIP][41] ([fdo#109295] / [i915#4077]) +1
similar issue
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-atsm-
1/igt@[email protected]

* igt@prime_vgem@basic-userptr:
- fi-tgl-1115g4: NOTRUN -> [SKIP][42] ([fdo#109295] / [i915#3301])
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/fi-tgl-
1115g4/igt@[email protected]

* igt@prime_vgem@basic-write:
- bat-atsm-1: NOTRUN -> [SKIP][43] ([fdo#109295]) +3 similar issues
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-atsm-
1/igt@[email protected]
- bat-adlm-1: NOTRUN -> [SKIP][44] ([i915#3708]) +3 similar issues
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-adlm-
1/igt@[email protected]

#### Possible fixes ####

* igt@gem_exec_gttfill@basic:
- fi-pnv-d510: [FAIL][45] ([i915#7229]) -> [PASS][46]
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12757/fi-pnv-
d510/igt@[email protected]
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/fi-pnv-
d510/igt@[email protected]

* igt@i915_selftest@live@slpc:
- bat-adlp-9: [DMESG-FAIL][47] ([i915#6367]) -> [PASS][48]
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12757/bat-adlp-
9/igt@i915_selftest@[email protected]
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-adlp-
9/igt@i915_selftest@[email protected]

[fdo#109285]: https://bugs.freedesktop.org/show_bug.cgi?id=109285
[fdo#109295]: https://bugs.freedesktop.org/show_bug.cgi?id=109295
[fdo#110189]: https://bugs.freedesktop.org/show_bug.cgi?id=110189
[i915#1072]: https://gitlab.freedesktop.org/drm/intel/issues/1072
[i915#1836]: https://gitlab.freedesktop.org/drm/intel/issues/1836
[i915#1845]: https://gitlab.freedesktop.org/drm/intel/issues/1845
[i915#1849]: https://gitlab.freedesktop.org/drm/intel/issues/1849
[i915#2190]: https://gitlab.freedesktop.org/drm/intel/issues/2190
[i915#2582]: https://gitlab.freedesktop.org/drm/intel/issues/2582
[i915#3301]: https://gitlab.freedesktop.org/drm/intel/issues/3301
[i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
[i915#3637]: https://gitlab.freedesktop.org/drm/intel/issues/3637
[i915#3708]: https://gitlab.freedesktop.org/drm/intel/issues/3708
[i915#4077]: https://gitlab.freedesktop.org/drm/intel/issues/4077
[i915#4079]: https://gitlab.freedesktop.org/drm/intel/issues/4079
[i915#4083]: https://gitlab.freedesktop.org/drm/intel/issues/4083
[i915#4103]: https://gitlab.freedesktop.org/drm/intel/issues/4103
[i915#4137]: https://gitlab.freedesktop.org/drm/intel/issues/4137
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[i915#6077]: https://gitlab.freedesktop.org/drm/intel/issues/6077
[i915#6078]: https://gitlab.freedesktop.org/drm/intel/issues/6078
[i915#6093]: https://gitlab.freedesktop.org/drm/intel/issues/6093
[i915#6094]: https://gitlab.freedesktop.org/drm/intel/issues/6094
[i915#6166]: https://gitlab.freedesktop.org/drm/intel/issues/6166
[i915#6367]: https://gitlab.freedesktop.org/drm/intel/issues/6367
[i915#6621]: https://gitlab.freedesktop.org/drm/intel/issues/6621
[i915#6645]: https://gitlab.freedesktop.org/drm/intel/issues/6645
[i915#7229]: https://gitlab.freedesktop.org/drm/intel/issues/7229
[i915#7357]: https://gitlab.freedesktop.org/drm/intel/issues/7357
[i915#7443]: https://gitlab.freedesktop.org/drm/intel/issues/7443
[i915#7456]: https://gitlab.freedesktop.org/drm/intel/issues/7456
[i915#7561]: https://gitlab.freedesktop.org/drm/intel/issues/7561
[i915#7828]: https://gitlab.freedesktop.org/drm/intel/issues/7828
[i915#7911]: https://gitlab.freedesktop.org/drm/intel/issues/7911
[i915#7913]: https://gitlab.freedesktop.org/drm/intel/issues/7913

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

* CI: CI-20190529 -> None
* IGT: IGT_7163 -> IGTPW_8504

CI-20190529: 20190529
CI_DRM_12757: 6653ef2d4663783ddec0ce1622ebbb4d47a2747f @
git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_8504: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/index.html
IGT_7163: a3ef8a604f21123740f644fb7b2f437d5e37e367 @
https://gitlab.freedesktop.org/drm/igt-gpu-tools.git

Testlist changes
----------------

+igt@kms_plane_scaling@i915-max-source-size

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-
tip/IGTPW_8504/index.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/igt-
dev/attachments/20230217/6e1b2e15/attachment.htm>

------------------------------

Subject: Digest Footer

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

------------------------------

End of igt-dev Digest, Vol 63, Issue 197
****************************************

author Reviewed-by
#2 lore raw
In reply to a message not in the archive
Quoted 147 lines

-----Original Message-----
From: igt-dev <[email protected]> On Behalf Of igt-dev- [email protected]
Sent: Friday, February 17, 2023 9:04 PM
To: [email protected]
Subject: igt-dev Digest, Vol 63, Issue 197

Send igt-dev mailing list submissions to
[email protected]

To subscribe or unsubscribe via the World Wide Web, visit
https://lists.freedesktop.org/mailman/listinfo/igt-dev
or, via email, send a message with subject or body 'help' to
[email protected]

You can reach the person managing the list at
[email protected]

When replying, please edit your Subject line so it is more specific than "Re:
Contents of igt-dev digest..."

Today's Topics:

1. Re: [PATCH i-g-t] intel_gpu_top: Add display name for compute engine class (Kamil Konieczny)
2. [PATCH i-g-t] i915/i915_suspend: run in subprocess to catch oom (Kamil Konieczny)
3. ? Fi.CI.BAT: success for Validate max source size (rev3) (Patchwork)

----------------------------------------------------------------------

Message: 1
Date: Fri, 17 Feb 2023 15:37:12 +0100
From: Kamil Konieczny <[email protected]>
To: Development mailing list for IGT GPU Tools
<[email protected]>
Cc: Christopher Snowhill <[email protected]>, Christopher Snowhill

	<[email protected]>

Subject: Re: [igt-dev] [PATCH i-g-t] intel_gpu_top: Add display name
for compute engine class
Message-ID: <20230217143712.z5dbgg5ua3atifre@kamilkon-desk1>
Content-Type: text/plain; charset=utf-8

Hi Christopher,

Sidenote: please decide which is your main e-mail address and if it is different from s-o-b add From: line at begin like:

From: Christopher Snowhill <[email protected]>

Quoted 3 lines · Christopher Snowhill

Add label and abbreviated display name for the compute engine class.

Patch itself lgtm,

Regards,
Kamil

tools/intel_gpu_top.c static const char *class_display_name(unsigned int

Quoted 9 lines
---
 tools/intel_gpu_top.c | 4 ++++
 1 file changed, 4 insertions(+)
tools/intel_gpu_top.c index renamed from tools/intel_gpu_top.c +0 -0

6de8a164..08306f51 100644

tools/intel_gpu_top.c +0 -0
@@ -281,6 +281,8 @@ static const char *class_display_name(unsigned int

class)

tools/intel_gpu_top.c static const char *class_short_name(unsigned int

Quoted 9 lines
tools/intel_gpu_top.c +2 -0
 		return "Video";
 	case I915_ENGINE_CLASS_VIDEO_ENHANCE:
 		return "VideoEnhance";
+	case I915_ENGINE_CLASS_COMPUTE:
+		return "Compute";
 	default:
 		return "[unknown]";
 	}
@@ -297,6 +299,8 @@ static const char *class_short_name(unsigned int

class)

Quoted 10 lines
tools/intel_gpu_top.c +2 -1
 		return "VCS";
 	case I915_ENGINE_CLASS_VIDEO_ENHANCE:
 		return "VECS";
+	case I915_ENGINE_CLASS_COMPUTE:
+		return "CCS";
 	default:
 		return "UNKN";
 	}
--

2.39.0

------------------------------

Message: 2
Date: Fri, 17 Feb 2023 16:12:41 +0100
From: Kamil Konieczny <[email protected]>
To: [email protected]
Subject: [igt-dev] [PATCH i-g-t] i915/i915_suspend: run in subprocess
to catch oom
Message-ID: <[email protected]>

Shrink subtest can end up with oom killing it. Create subprocess and run it from there so it will at least get reported like:

dynamic child 0 pid:70254 died with signal 9, Killed Subtest shrink: FAIL (23.906s)

dmesg reports:

[103335.337309] Out of memory: Killed process 70254 (i915_suspend)
Cc Riana Tauro <[email protected]>
Cc Anshuman Gupta <[email protected]>
---
 tests/i915/i915_suspend.c | 19 +++++++++++++------
 1 file changed, 13 insertions(+), 6 deletions(-)
tests/i915/i915_suspend.c +5 -5
index 815f1c8a..9798ba5c 100644
@@ -176,15 +176,22 @@ test_shrink(int fd, unsigned int mode)
 	void *mem;
 
 	gem_quiescent_gpu(fd);
-	igt_purge_vm_caches(fd);
 
-	mem = igt_get_total_pinnable_mem(&size);
-	igt_assert(mem != MAP_FAILED);
+	igt_multi_fork(child, 1) {
+		fd = gem_reopen_driver(fd);
+		igt_purge_vm_caches(fd);
 
-	igt_purge_vm_caches(fd);
-	igt_system_suspend_autoresume(mode, SUSPEND_TEST_NONE);
+		mem = igt_get_total_pinnable_mem(&size);
+		igt_assert(mem != MAP_FAILED);
 

tests/i915/i915_suspend.c test_shrink(int fd, unsigned int mode) · line 195

Quoted 10 lines
tests/i915/i915_suspend.c +8 -1
-	munmap(mem, size);
+		igt_purge_vm_caches(fd);
+		igt_system_suspend_autoresume(mode,
 SUSPEND_TEST_NONE);
+
+		munmap(mem, size);
+		close(fd);
+	}
+
+	igt_waitchildren();

Looks good to me.

Quoted 361 lines
tests/i915/i915_suspend.c +0 -0
 }
 

static void
--
2.37.2

------------------------------

Message: 3
Date: Fri, 17 Feb 2023 15:34:12 -0000
From: Patchwork <[email protected]>
To: "Swati Sharma" <[email protected]>
Cc: [email protected]
Subject: [igt-dev] ? Fi.CI.BAT: success for Validate max source size

	(rev3)
Message-ID:
	<[email protected]
Quoted 1 line

Content-Type: text/plain; charset="utf-8"

== Series Details ==

Series: Validate max source size (rev3)
URL : https://patchwork.freedesktop.org/series/114059/
State : success

== Summary ==

CI Bug Log - changes from CI_DRM_12757 -> IGTPW_8504
====================================================

Summary
-------

**SUCCESS**

No regressions found.

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

Participating hosts (38 -> 37)
------------------------------

Additional (2): fi-tgl-1115g4 bat-atsm-1
Missing (3): bat-rpls-2 bat-kbl-2 fi-snb-2520m

New tests
---------

New tests have been introduced between CI_DRM_12757 and IGTPW_8504:

### New IGT tests (1) ###

* igt@kms_chamelium_hpd:
- Statuses :
- Exec time: [None] s

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

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

### IGT changes ###

#### Issues hit ####

* igt@debugfs_test@basic-hwmon:
- fi-tgl-1115g4: NOTRUN -> [SKIP][1] ([i915#7456])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/fi-tgl-
1115g4/igt@[email protected]

* igt@fbdev@eof:
- bat-atsm-1: NOTRUN -> [SKIP][2] ([i915#2582]) +4 similar issues
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-atsm-
1/igt@[email protected]

* igt@gem_huc_copy@huc-copy:
- fi-tgl-1115g4: NOTRUN -> [SKIP][3] ([i915#2190])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/fi-tgl-
1115g4/igt@[email protected]

* igt@gem_lmem_swapping@parallel-random-engines:
- bat-adlm-1: NOTRUN -> [SKIP][4] ([i915#4613]) +3 similar issues
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-adlm-
1/igt@[email protected]
- fi-tgl-1115g4: NOTRUN -> [SKIP][5] ([i915#4613]) +3 similar issues
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/fi-tgl-
1115g4/igt@[email protected]

* igt@gem_mmap@basic:
- bat-atsm-1: NOTRUN -> [SKIP][6] ([i915#4083])
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-atsm-
1/igt@[email protected]

* igt@gem_tiled_fence_blits@basic:
- bat-atsm-1: NOTRUN -> [SKIP][7] ([i915#4077]) +2 similar issues
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-atsm-
1/igt@[email protected]

* igt@gem_tiled_pread_basic:
- bat-atsm-1: NOTRUN -> [SKIP][8] ([i915#4079]) +1 similar issue
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-atsm-
1/igt@gem_tiled_pread_basic.html

* igt@i915_pm_backlight@basic-brightness:
- bat-adlm-1: NOTRUN -> [SKIP][9] ([i915#7561])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-adlm-
1/igt@[email protected]
- fi-tgl-1115g4: NOTRUN -> [SKIP][10] ([i915#7561])
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/fi-tgl-
1115g4/igt@[email protected]

* igt@i915_pm_rps@basic-api:
- bat-atsm-1: NOTRUN -> [SKIP][11] ([i915#6621])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-atsm-
1/igt@[email protected]
- bat-adlm-1: NOTRUN -> [SKIP][12] ([i915#6621])
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-adlm-
1/igt@[email protected]

* igt@i915_selftest@live@execlists:
- fi-bsw-nick: [PASS][13] -> [ABORT][14] ([i915#7911] / [i915#7913])
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12757/fi-bsw-
nick/igt@i915_selftest@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/fi-bsw-
nick/igt@i915_selftest@[email protected]

* igt@i915_suspend@basic-s3-without-i915:
- fi-tgl-1115g4: NOTRUN -> [INCOMPLETE][15] ([i915#7443])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/fi-tgl-
1115g4/igt@[email protected]
- bat-atsm-1: NOTRUN -> [SKIP][16] ([i915#6645])
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-atsm-
1/igt@[email protected]

* igt@kms_addfb_basic@size-max:
- bat-atsm-1: NOTRUN -> [SKIP][17] ([i915#6077]) +36 similar issues
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-atsm-
1/igt@[email protected]

* igt@kms_busy@basic:
- bat-rpls-1: NOTRUN -> [SKIP][18] ([i915#1845])
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-rpls-
1/igt@[email protected]

* igt@kms_chamelium_edid@dp-edid-read:
- fi-tgl-1115g4: NOTRUN -> [SKIP][19] ([i915#7828]) +7 similar issues
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/fi-tgl-
1115g4/igt@[email protected]

* igt@kms_chamelium_frames@dp-crc-fast:
- bat-adlm-1: NOTRUN -> [SKIP][20] ([i915#7828]) +8 similar issues
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-adlm-
1/igt@[email protected]

* igt@kms_cursor_legacy@basic-busy-flip-before-cursor:
- fi-tgl-1115g4: NOTRUN -> [SKIP][21] ([i915#4103])
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/fi-tgl-
1115g4/igt@[email protected]

* igt@kms_cursor_legacy@basic-flip-after-cursor:
- bat-atsm-1: NOTRUN -> [SKIP][22] ([i915#6078]) +14 similar issues
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-atsm-
1/igt@[email protected]

* igt@kms_flip@basic-plain-flip:
- bat-atsm-1: NOTRUN -> [SKIP][23] ([i915#6166]) +3 similar issues
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-atsm-
1/igt@[email protected]
- bat-adlm-1: NOTRUN -> [SKIP][24] ([i915#3637]) +3 similar issues
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-adlm-
1/igt@[email protected]

* igt@kms_force_connector_basic@force-load-detect:
- bat-adlm-1: NOTRUN -> [SKIP][25] ([fdo#109285])
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-adlm-
1/igt@[email protected]
- fi-tgl-1115g4: NOTRUN -> [SKIP][26] ([fdo#109285])
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/fi-tgl-
1115g4/igt@[email protected]

* igt@kms_force_connector_basic@prune-stale-modes:
- bat-atsm-1: NOTRUN -> [SKIP][27] ([i915#6093]) +3 similar issues
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-atsm-
1/igt@[email protected]

* igt@kms_frontbuffer_tracking@basic:
- bat-adlm-1: NOTRUN -> [SKIP][28] ([i915#1849])
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-adlm-
1/igt@[email protected]

* igt@kms_pipe_crc_basic@hang-read-crc:
- bat-adlm-1: NOTRUN -> [SKIP][29] ([i915#1845]) +10 similar issues
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-adlm-
1/igt@[email protected]
- bat-atsm-1: NOTRUN -> [SKIP][30] ([i915#1836]) +6 similar issues
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-atsm-
1/igt@[email protected]

* igt@kms_pipe_crc_basic@read-crc@pipe-c-dp-1:
- bat-adlp-9: NOTRUN -> [FAIL][31] ([i915#4137]) +3 similar issues
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-adlp-
9/igt@kms_pipe_crc_basic@[email protected]

* igt@kms_prop_blob@basic:
- bat-atsm-1: NOTRUN -> [SKIP][32] ([i915#7357])
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-atsm-
1/igt@[email protected]

* igt@kms_psr@cursor_plane_move:
- bat-adlm-1: NOTRUN -> [SKIP][33] ([i915#1072]) +3 similar issues
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-adlm-
1/igt@kms_psr@cursor_plane_move.html
- fi-tgl-1115g4: NOTRUN -> [SKIP][34] ([fdo#110189]) +3 similar issues
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/fi-tgl-
1115g4/igt@kms_psr@cursor_plane_move.html

* igt@kms_psr@sprite_plane_onoff:
- bat-atsm-1: NOTRUN -> [SKIP][35] ([i915#1072]) +3 similar issues
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-atsm-
1/igt@kms_psr@sprite_plane_onoff.html

* igt@kms_setmode@basic-clone-single-crtc:
- bat-atsm-1: NOTRUN -> [SKIP][36] ([i915#6094])
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-atsm-
1/igt@[email protected]
- bat-adlm-1: NOTRUN -> [SKIP][37] ([i915#3555])
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-adlm-
1/igt@[email protected]
- fi-tgl-1115g4: NOTRUN -> [SKIP][38] ([i915#3555])
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/fi-tgl-
1115g4/igt@[email protected]

* igt@prime_vgem@basic-fence-flip:
- bat-atsm-1: NOTRUN -> [SKIP][39] ([fdo#109295] / [i915#6078])
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-atsm-
1/igt@[email protected]
- bat-adlm-1: NOTRUN -> [SKIP][40] ([i915#1845] / [i915#3708])
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-adlm-
1/igt@[email protected]

* igt@prime_vgem@basic-fence-mmap:
- bat-atsm-1: NOTRUN -> [SKIP][41] ([fdo#109295] / [i915#4077]) +1
similar issue
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-atsm-
1/igt@[email protected]

* igt@prime_vgem@basic-userptr:
- fi-tgl-1115g4: NOTRUN -> [SKIP][42] ([fdo#109295] / [i915#3301])
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/fi-tgl-
1115g4/igt@[email protected]

* igt@prime_vgem@basic-write:
- bat-atsm-1: NOTRUN -> [SKIP][43] ([fdo#109295]) +3 similar issues
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-atsm-
1/igt@[email protected]
- bat-adlm-1: NOTRUN -> [SKIP][44] ([i915#3708]) +3 similar issues
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-adlm-
1/igt@[email protected]

#### Possible fixes ####

* igt@gem_exec_gttfill@basic:
- fi-pnv-d510: [FAIL][45] ([i915#7229]) -> [PASS][46]
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12757/fi-pnv-
d510/igt@[email protected]
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/fi-pnv-
d510/igt@[email protected]

* igt@i915_selftest@live@slpc:
- bat-adlp-9: [DMESG-FAIL][47] ([i915#6367]) -> [PASS][48]
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12757/bat-adlp-
9/igt@i915_selftest@[email protected]
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-adlp-
9/igt@i915_selftest@[email protected]

[fdo#109285]: https://bugs.freedesktop.org/show_bug.cgi?id=109285
[fdo#109295]: https://bugs.freedesktop.org/show_bug.cgi?id=109295
[fdo#110189]: https://bugs.freedesktop.org/show_bug.cgi?id=110189
[i915#1072]: https://gitlab.freedesktop.org/drm/intel/issues/1072
[i915#1836]: https://gitlab.freedesktop.org/drm/intel/issues/1836
[i915#1845]: https://gitlab.freedesktop.org/drm/intel/issues/1845
[i915#1849]: https://gitlab.freedesktop.org/drm/intel/issues/1849
[i915#2190]: https://gitlab.freedesktop.org/drm/intel/issues/2190
[i915#2582]: https://gitlab.freedesktop.org/drm/intel/issues/2582
[i915#3301]: https://gitlab.freedesktop.org/drm/intel/issues/3301
[i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
[i915#3637]: https://gitlab.freedesktop.org/drm/intel/issues/3637
[i915#3708]: https://gitlab.freedesktop.org/drm/intel/issues/3708
[i915#4077]: https://gitlab.freedesktop.org/drm/intel/issues/4077
[i915#4079]: https://gitlab.freedesktop.org/drm/intel/issues/4079
[i915#4083]: https://gitlab.freedesktop.org/drm/intel/issues/4083
[i915#4103]: https://gitlab.freedesktop.org/drm/intel/issues/4103
[i915#4137]: https://gitlab.freedesktop.org/drm/intel/issues/4137
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[i915#6077]: https://gitlab.freedesktop.org/drm/intel/issues/6077
[i915#6078]: https://gitlab.freedesktop.org/drm/intel/issues/6078
[i915#6093]: https://gitlab.freedesktop.org/drm/intel/issues/6093
[i915#6094]: https://gitlab.freedesktop.org/drm/intel/issues/6094
[i915#6166]: https://gitlab.freedesktop.org/drm/intel/issues/6166
[i915#6367]: https://gitlab.freedesktop.org/drm/intel/issues/6367
[i915#6621]: https://gitlab.freedesktop.org/drm/intel/issues/6621
[i915#6645]: https://gitlab.freedesktop.org/drm/intel/issues/6645
[i915#7229]: https://gitlab.freedesktop.org/drm/intel/issues/7229
[i915#7357]: https://gitlab.freedesktop.org/drm/intel/issues/7357
[i915#7443]: https://gitlab.freedesktop.org/drm/intel/issues/7443
[i915#7456]: https://gitlab.freedesktop.org/drm/intel/issues/7456
[i915#7561]: https://gitlab.freedesktop.org/drm/intel/issues/7561
[i915#7828]: https://gitlab.freedesktop.org/drm/intel/issues/7828
[i915#7911]: https://gitlab.freedesktop.org/drm/intel/issues/7911
[i915#7913]: https://gitlab.freedesktop.org/drm/intel/issues/7913

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

* CI: CI-20190529 -> None
* IGT: IGT_7163 -> IGTPW_8504

CI-20190529: 20190529
CI_DRM_12757: 6653ef2d4663783ddec0ce1622ebbb4d47a2747f @
git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_8504: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/index.html
IGT_7163: a3ef8a604f21123740f644fb7b2f437d5e37e367 @
https://gitlab.freedesktop.org/drm/igt-gpu-tools.git

Testlist changes
----------------

+igt@kms_plane_scaling@i915-max-source-size

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-
tip/IGTPW_8504/index.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/igt-
dev/attachments/20230217/6e1b2e15/attachment.htm>

------------------------------

Subject: Digest Footer

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

------------------------------

End of igt-dev Digest, Vol 63, Issue 197
****************************************

author Reviewed-by
#3 lore raw
In reply to a message not in the archive
Quoted 115 lines

-----Original Message-----
From: igt-dev <[email protected]> On Behalf Of igt-dev- [email protected]
Sent: Friday, February 17, 2023 9:04 PM
To: [email protected]
Subject: igt-dev Digest, Vol 63, Issue 197

Send igt-dev mailing list submissions to
[email protected]

To subscribe or unsubscribe via the World Wide Web, visit
https://lists.freedesktop.org/mailman/listinfo/igt-dev
or, via email, send a message with subject or body 'help' to
[email protected]

You can reach the person managing the list at
[email protected]

When replying, please edit your Subject line so it is more specific than "Re:
Contents of igt-dev digest..."

Today's Topics:

1. Re: [PATCH i-g-t] intel_gpu_top: Add display name for compute engine class (Kamil Konieczny)
2. [PATCH i-g-t] i915/i915_suspend: run in subprocess to catch oom (Kamil Konieczny)
3. ? Fi.CI.BAT: success for Validate max source size (rev3) (Patchwork)

----------------------------------------------------------------------

Message: 1
Date: Fri, 17 Feb 2023 15:37:12 +0100
From: Kamil Konieczny <[email protected]>
To: Development mailing list for IGT GPU Tools
<[email protected]>
Cc: Christopher Snowhill <[email protected]>, Christopher Snowhill

	<[email protected]>

Subject: Re: [igt-dev] [PATCH i-g-t] intel_gpu_top: Add display name
for compute engine class
Message-ID: <20230217143712.z5dbgg5ua3atifre@kamilkon-desk1>
Content-Type: text/plain; charset=utf-8

Hi Christopher,

Sidenote: please decide which is your main e-mail address and if it is different from s-o-b add From: line at begin like:

From: Christopher Snowhill <[email protected]>

Quoted 3 lines · Christopher Snowhill

Add label and abbreviated display name for the compute engine class.

Patch itself lgtm,

Regards,
Kamil

tools/intel_gpu_top.c static const char *class_display_name(unsigned int

Quoted 9 lines
---
 tools/intel_gpu_top.c | 4 ++++
 1 file changed, 4 insertions(+)
tools/intel_gpu_top.c index renamed from tools/intel_gpu_top.c +0 -0

6de8a164..08306f51 100644

tools/intel_gpu_top.c +0 -0
@@ -281,6 +281,8 @@ static const char *class_display_name(unsigned int

class)

tools/intel_gpu_top.c static const char *class_short_name(unsigned int

Quoted 9 lines
tools/intel_gpu_top.c +2 -0
 		return "Video";
 	case I915_ENGINE_CLASS_VIDEO_ENHANCE:
 		return "VideoEnhance";
+	case I915_ENGINE_CLASS_COMPUTE:
+		return "Compute";
 	default:
 		return "[unknown]";
 	}
@@ -297,6 +299,8 @@ static const char *class_short_name(unsigned int

class)

Quoted 10 lines
tools/intel_gpu_top.c +2 -1
 		return "VCS";
 	case I915_ENGINE_CLASS_VIDEO_ENHANCE:
 		return "VECS";
+	case I915_ENGINE_CLASS_COMPUTE:
+		return "CCS";
 	default:
 		return "UNKN";
 	}
--

2.39.0

------------------------------

Message: 2
Date: Fri, 17 Feb 2023 16:12:41 +0100
From: Kamil Konieczny <[email protected]>
To: [email protected]
Subject: [igt-dev] [PATCH i-g-t] i915/i915_suspend: run in subprocess
to catch oom
Message-ID: <[email protected]>

Shrink subtest can end up with oom killing it. Create subprocess and run it from there so it will at least get reported like:

dynamic child 0 pid:70254 died with signal 9, Killed Subtest shrink: FAIL (23.906s)

Quoted 7 lines

dmesg reports:

[103335.337309] Out of memory: Killed process 70254 (i915_suspend)
Cc Riana Tauro <[email protected]>
Cc Anshuman Gupta <[email protected]>

Looks good to me.

Quoted 396 lines
---
 tests/i915/i915_suspend.c | 19 +++++++++++++------
 1 file changed, 13 insertions(+), 6 deletions(-)
tests/i915/i915_suspend.c +13 -6
index 815f1c8a..9798ba5c 100644
@@ -176,15 +176,22 @@ test_shrink(int fd, unsigned int mode)
 	void *mem;
 
 	gem_quiescent_gpu(fd);
-	igt_purge_vm_caches(fd);
 
-	mem = igt_get_total_pinnable_mem(&size);
-	igt_assert(mem != MAP_FAILED);
+	igt_multi_fork(child, 1) {
+		fd = gem_reopen_driver(fd);
+		igt_purge_vm_caches(fd);
 
-	igt_purge_vm_caches(fd);
-	igt_system_suspend_autoresume(mode, SUSPEND_TEST_NONE);
+		mem = igt_get_total_pinnable_mem(&size);
+		igt_assert(mem != MAP_FAILED);
 
-	munmap(mem, size);
+		igt_purge_vm_caches(fd);
+		igt_system_suspend_autoresume(mode,
 SUSPEND_TEST_NONE);
+
+		munmap(mem, size);
+		close(fd);
+	}
+
+	igt_waitchildren();
 }
 

static void
--
2.37.2

------------------------------

Message: 3
Date: Fri, 17 Feb 2023 15:34:12 -0000
From: Patchwork <[email protected]>
To: "Swati Sharma" <[email protected]>
Cc: [email protected]
Subject: [igt-dev] ? Fi.CI.BAT: success for Validate max source size

	(rev3)
Message-ID:
	<[email protected]
Quoted 1 line

Content-Type: text/plain; charset="utf-8"

== Series Details ==

Series: Validate max source size (rev3)
URL : https://patchwork.freedesktop.org/series/114059/
State : success

== Summary ==

CI Bug Log - changes from CI_DRM_12757 -> IGTPW_8504
====================================================

Summary
-------

**SUCCESS**

No regressions found.

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

Participating hosts (38 -> 37)
------------------------------

Additional (2): fi-tgl-1115g4 bat-atsm-1
Missing (3): bat-rpls-2 bat-kbl-2 fi-snb-2520m

New tests
---------

New tests have been introduced between CI_DRM_12757 and IGTPW_8504:

### New IGT tests (1) ###

* igt@kms_chamelium_hpd:
- Statuses :
- Exec time: [None] s

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

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

### IGT changes ###

#### Issues hit ####

* igt@debugfs_test@basic-hwmon:
- fi-tgl-1115g4: NOTRUN -> [SKIP][1] ([i915#7456])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/fi-tgl-
1115g4/igt@[email protected]

* igt@fbdev@eof:
- bat-atsm-1: NOTRUN -> [SKIP][2] ([i915#2582]) +4 similar issues
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-atsm-
1/igt@[email protected]

* igt@gem_huc_copy@huc-copy:
- fi-tgl-1115g4: NOTRUN -> [SKIP][3] ([i915#2190])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/fi-tgl-
1115g4/igt@[email protected]

* igt@gem_lmem_swapping@parallel-random-engines:
- bat-adlm-1: NOTRUN -> [SKIP][4] ([i915#4613]) +3 similar issues
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-adlm-
1/igt@[email protected]
- fi-tgl-1115g4: NOTRUN -> [SKIP][5] ([i915#4613]) +3 similar issues
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/fi-tgl-
1115g4/igt@[email protected]

* igt@gem_mmap@basic:
- bat-atsm-1: NOTRUN -> [SKIP][6] ([i915#4083])
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-atsm-
1/igt@[email protected]

* igt@gem_tiled_fence_blits@basic:
- bat-atsm-1: NOTRUN -> [SKIP][7] ([i915#4077]) +2 similar issues
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-atsm-
1/igt@[email protected]

* igt@gem_tiled_pread_basic:
- bat-atsm-1: NOTRUN -> [SKIP][8] ([i915#4079]) +1 similar issue
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-atsm-
1/igt@gem_tiled_pread_basic.html

* igt@i915_pm_backlight@basic-brightness:
- bat-adlm-1: NOTRUN -> [SKIP][9] ([i915#7561])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-adlm-
1/igt@[email protected]
- fi-tgl-1115g4: NOTRUN -> [SKIP][10] ([i915#7561])
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/fi-tgl-
1115g4/igt@[email protected]

* igt@i915_pm_rps@basic-api:
- bat-atsm-1: NOTRUN -> [SKIP][11] ([i915#6621])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-atsm-
1/igt@[email protected]
- bat-adlm-1: NOTRUN -> [SKIP][12] ([i915#6621])
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-adlm-
1/igt@[email protected]

* igt@i915_selftest@live@execlists:
- fi-bsw-nick: [PASS][13] -> [ABORT][14] ([i915#7911] / [i915#7913])
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12757/fi-bsw-
nick/igt@i915_selftest@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/fi-bsw-
nick/igt@i915_selftest@[email protected]

* igt@i915_suspend@basic-s3-without-i915:
- fi-tgl-1115g4: NOTRUN -> [INCOMPLETE][15] ([i915#7443])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/fi-tgl-
1115g4/igt@[email protected]
- bat-atsm-1: NOTRUN -> [SKIP][16] ([i915#6645])
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-atsm-
1/igt@[email protected]

* igt@kms_addfb_basic@size-max:
- bat-atsm-1: NOTRUN -> [SKIP][17] ([i915#6077]) +36 similar issues
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-atsm-
1/igt@[email protected]

* igt@kms_busy@basic:
- bat-rpls-1: NOTRUN -> [SKIP][18] ([i915#1845])
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-rpls-
1/igt@[email protected]

* igt@kms_chamelium_edid@dp-edid-read:
- fi-tgl-1115g4: NOTRUN -> [SKIP][19] ([i915#7828]) +7 similar issues
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/fi-tgl-
1115g4/igt@[email protected]

* igt@kms_chamelium_frames@dp-crc-fast:
- bat-adlm-1: NOTRUN -> [SKIP][20] ([i915#7828]) +8 similar issues
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-adlm-
1/igt@[email protected]

* igt@kms_cursor_legacy@basic-busy-flip-before-cursor:
- fi-tgl-1115g4: NOTRUN -> [SKIP][21] ([i915#4103])
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/fi-tgl-
1115g4/igt@[email protected]

* igt@kms_cursor_legacy@basic-flip-after-cursor:
- bat-atsm-1: NOTRUN -> [SKIP][22] ([i915#6078]) +14 similar issues
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-atsm-
1/igt@[email protected]

* igt@kms_flip@basic-plain-flip:
- bat-atsm-1: NOTRUN -> [SKIP][23] ([i915#6166]) +3 similar issues
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-atsm-
1/igt@[email protected]
- bat-adlm-1: NOTRUN -> [SKIP][24] ([i915#3637]) +3 similar issues
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-adlm-
1/igt@[email protected]

* igt@kms_force_connector_basic@force-load-detect:
- bat-adlm-1: NOTRUN -> [SKIP][25] ([fdo#109285])
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-adlm-
1/igt@[email protected]
- fi-tgl-1115g4: NOTRUN -> [SKIP][26] ([fdo#109285])
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/fi-tgl-
1115g4/igt@[email protected]

* igt@kms_force_connector_basic@prune-stale-modes:
- bat-atsm-1: NOTRUN -> [SKIP][27] ([i915#6093]) +3 similar issues
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-atsm-
1/igt@[email protected]

* igt@kms_frontbuffer_tracking@basic:
- bat-adlm-1: NOTRUN -> [SKIP][28] ([i915#1849])
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-adlm-
1/igt@[email protected]

* igt@kms_pipe_crc_basic@hang-read-crc:
- bat-adlm-1: NOTRUN -> [SKIP][29] ([i915#1845]) +10 similar issues
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-adlm-
1/igt@[email protected]
- bat-atsm-1: NOTRUN -> [SKIP][30] ([i915#1836]) +6 similar issues
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-atsm-
1/igt@[email protected]

* igt@kms_pipe_crc_basic@read-crc@pipe-c-dp-1:
- bat-adlp-9: NOTRUN -> [FAIL][31] ([i915#4137]) +3 similar issues
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-adlp-
9/igt@kms_pipe_crc_basic@[email protected]

* igt@kms_prop_blob@basic:
- bat-atsm-1: NOTRUN -> [SKIP][32] ([i915#7357])
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-atsm-
1/igt@[email protected]

* igt@kms_psr@cursor_plane_move:
- bat-adlm-1: NOTRUN -> [SKIP][33] ([i915#1072]) +3 similar issues
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-adlm-
1/igt@kms_psr@cursor_plane_move.html
- fi-tgl-1115g4: NOTRUN -> [SKIP][34] ([fdo#110189]) +3 similar issues
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/fi-tgl-
1115g4/igt@kms_psr@cursor_plane_move.html

* igt@kms_psr@sprite_plane_onoff:
- bat-atsm-1: NOTRUN -> [SKIP][35] ([i915#1072]) +3 similar issues
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-atsm-
1/igt@kms_psr@sprite_plane_onoff.html

* igt@kms_setmode@basic-clone-single-crtc:
- bat-atsm-1: NOTRUN -> [SKIP][36] ([i915#6094])
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-atsm-
1/igt@[email protected]
- bat-adlm-1: NOTRUN -> [SKIP][37] ([i915#3555])
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-adlm-
1/igt@[email protected]
- fi-tgl-1115g4: NOTRUN -> [SKIP][38] ([i915#3555])
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/fi-tgl-
1115g4/igt@[email protected]

* igt@prime_vgem@basic-fence-flip:
- bat-atsm-1: NOTRUN -> [SKIP][39] ([fdo#109295] / [i915#6078])
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-atsm-
1/igt@[email protected]
- bat-adlm-1: NOTRUN -> [SKIP][40] ([i915#1845] / [i915#3708])
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-adlm-
1/igt@[email protected]

* igt@prime_vgem@basic-fence-mmap:
- bat-atsm-1: NOTRUN -> [SKIP][41] ([fdo#109295] / [i915#4077]) +1
similar issue
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-atsm-
1/igt@[email protected]

* igt@prime_vgem@basic-userptr:
- fi-tgl-1115g4: NOTRUN -> [SKIP][42] ([fdo#109295] / [i915#3301])
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/fi-tgl-
1115g4/igt@[email protected]

* igt@prime_vgem@basic-write:
- bat-atsm-1: NOTRUN -> [SKIP][43] ([fdo#109295]) +3 similar issues
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-atsm-
1/igt@[email protected]
- bat-adlm-1: NOTRUN -> [SKIP][44] ([i915#3708]) +3 similar issues
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-adlm-
1/igt@[email protected]

#### Possible fixes ####

* igt@gem_exec_gttfill@basic:
- fi-pnv-d510: [FAIL][45] ([i915#7229]) -> [PASS][46]
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12757/fi-pnv-
d510/igt@[email protected]
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/fi-pnv-
d510/igt@[email protected]

* igt@i915_selftest@live@slpc:
- bat-adlp-9: [DMESG-FAIL][47] ([i915#6367]) -> [PASS][48]
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12757/bat-adlp-
9/igt@i915_selftest@[email protected]
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/bat-adlp-
9/igt@i915_selftest@[email protected]

[fdo#109285]: https://bugs.freedesktop.org/show_bug.cgi?id=109285
[fdo#109295]: https://bugs.freedesktop.org/show_bug.cgi?id=109295
[fdo#110189]: https://bugs.freedesktop.org/show_bug.cgi?id=110189
[i915#1072]: https://gitlab.freedesktop.org/drm/intel/issues/1072
[i915#1836]: https://gitlab.freedesktop.org/drm/intel/issues/1836
[i915#1845]: https://gitlab.freedesktop.org/drm/intel/issues/1845
[i915#1849]: https://gitlab.freedesktop.org/drm/intel/issues/1849
[i915#2190]: https://gitlab.freedesktop.org/drm/intel/issues/2190
[i915#2582]: https://gitlab.freedesktop.org/drm/intel/issues/2582
[i915#3301]: https://gitlab.freedesktop.org/drm/intel/issues/3301
[i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
[i915#3637]: https://gitlab.freedesktop.org/drm/intel/issues/3637
[i915#3708]: https://gitlab.freedesktop.org/drm/intel/issues/3708
[i915#4077]: https://gitlab.freedesktop.org/drm/intel/issues/4077
[i915#4079]: https://gitlab.freedesktop.org/drm/intel/issues/4079
[i915#4083]: https://gitlab.freedesktop.org/drm/intel/issues/4083
[i915#4103]: https://gitlab.freedesktop.org/drm/intel/issues/4103
[i915#4137]: https://gitlab.freedesktop.org/drm/intel/issues/4137
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[i915#6077]: https://gitlab.freedesktop.org/drm/intel/issues/6077
[i915#6078]: https://gitlab.freedesktop.org/drm/intel/issues/6078
[i915#6093]: https://gitlab.freedesktop.org/drm/intel/issues/6093
[i915#6094]: https://gitlab.freedesktop.org/drm/intel/issues/6094
[i915#6166]: https://gitlab.freedesktop.org/drm/intel/issues/6166
[i915#6367]: https://gitlab.freedesktop.org/drm/intel/issues/6367
[i915#6621]: https://gitlab.freedesktop.org/drm/intel/issues/6621
[i915#6645]: https://gitlab.freedesktop.org/drm/intel/issues/6645
[i915#7229]: https://gitlab.freedesktop.org/drm/intel/issues/7229
[i915#7357]: https://gitlab.freedesktop.org/drm/intel/issues/7357
[i915#7443]: https://gitlab.freedesktop.org/drm/intel/issues/7443
[i915#7456]: https://gitlab.freedesktop.org/drm/intel/issues/7456
[i915#7561]: https://gitlab.freedesktop.org/drm/intel/issues/7561
[i915#7828]: https://gitlab.freedesktop.org/drm/intel/issues/7828
[i915#7911]: https://gitlab.freedesktop.org/drm/intel/issues/7911
[i915#7913]: https://gitlab.freedesktop.org/drm/intel/issues/7913

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

* CI: CI-20190529 -> None
* IGT: IGT_7163 -> IGTPW_8504

CI-20190529: 20190529
CI_DRM_12757: 6653ef2d4663783ddec0ce1622ebbb4d47a2747f @
git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_8504: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8504/index.html
IGT_7163: a3ef8a604f21123740f644fb7b2f437d5e37e367 @
https://gitlab.freedesktop.org/drm/igt-gpu-tools.git

Testlist changes
----------------

+igt@kms_plane_scaling@i915-max-source-size

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-
tip/IGTPW_8504/index.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/igt-
dev/attachments/20230217/6e1b2e15/attachment.htm>

------------------------------

Subject: Digest Footer

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

------------------------------

End of igt-dev Digest, Vol 63, Issue 197
****************************************

author Reviewed-by
#4 lore raw
In reply to a message not in the archive
Quoted 136 lines · On 2/17/2023 9:04 PM, [email protected] wrote:

Send igt-dev mailing list submissions to
[email protected]

To subscribe or unsubscribe via the World Wide Web, visit
https://lists.freedesktop.org/mailman/listinfo/igt-dev
or, via email, send a message with subject or body 'help' to
[email protected]

You can reach the person managing the list at
[email protected]

When replying, please edit your Subject line so it is more specific than "Re: Contents of igt-dev digest..."

Today's Topics:

1. Re: [PATCH i-g-t] intel_gpu_top: Add display name for compute engine class (Kamil Konieczny)
2. [PATCH i-g-t] i915/i915_suspend: run in subprocess to catch oom (Kamil Konieczny)
3. ? Fi.CI.BAT: success for Validate max source size (rev3) (Patchwork)

----------------------------------------------------------------------

Message: 1
Date: Fri, 17 Feb 2023 15:37:12 +0100
From: Kamil Konieczny <[email protected]>
To: Development mailing list for IGT GPU Tools
<[email protected]>
Cc: Christopher Snowhill <[email protected]>, Christopher Snowhill

	<[email protected]>

Subject: Re: [igt-dev] [PATCH i-g-t] intel_gpu_top: Add display name
for compute engine class
Message-ID: <20230217143712.z5dbgg5ua3atifre@kamilkon-desk1>
Content-Type: text/plain; charset=utf-8

Hi Christopher,

Sidenote: please decide which is your main e-mail address and if it is different from s-o-b add From: line at begin like:

From: Christopher Snowhill <[email protected]>

Quoted 3 lines · Christopher Snowhill

Add label and abbreviated display name for the compute engine class.

Patch itself lgtm,

Regards,
Kamil

Quoted 28 lines
---
  tools/intel_gpu_top.c | 4 ++++
  1 file changed, 4 insertions(+)
tools/intel_gpu_top.c +4 -0
index 6de8a164..08306f51 100644
@@ -281,6 +281,8 @@ static const char *class_display_name(unsigned int class)
  		return "Video";
  	case I915_ENGINE_CLASS_VIDEO_ENHANCE:
  		return "VideoEnhance";
+	case I915_ENGINE_CLASS_COMPUTE:
+		return "Compute";
  	default:
  		return "[unknown]";
  	}
@@ -297,6 +299,8 @@ static const char *class_short_name(unsigned int class)
  		return "VCS";
  	case I915_ENGINE_CLASS_VIDEO_ENHANCE:
  		return "VECS";
+	case I915_ENGINE_CLASS_COMPUTE:
+		return "CCS";
  	default:
  		return "UNKN";
  	}
Signature · 1 line
2.39.0

------------------------------

Message: 2
Date: Fri, 17 Feb 2023 16:12:41 +0100
From: Kamil Konieczny <[email protected]>
To: [email protected]
Subject: [igt-dev] [PATCH i-g-t] i915/i915_suspend: run in subprocess
to catch oom
Message-ID: <[email protected]>

Shrink subtest can end up with oom killing it. Create subprocess and run it from there so it will at least get reported like:

dynamic child 0 pid:70254 died with signal 9, Killed Subtest shrink: FAIL (23.906s)

dmesg reports:

[103335.337309] Out of memory: Killed process 70254 (i915_suspend)
Cc Riana Tauro <[email protected]>
Cc Anshuman Gupta <[email protected]>
---
  tests/i915/i915_suspend.c | 19 +++++++++++++------
  1 file changed, 13 insertions(+), 6 deletions(-)
tests/i915/i915_suspend.c +5 -5
index 815f1c8a..9798ba5c 100644
@@ -176,15 +176,22 @@ test_shrink(int fd, unsigned int mode)
  	void *mem;
 
  	gem_quiescent_gpu(fd);
-	igt_purge_vm_caches(fd);
 
-	mem = igt_get_total_pinnable_mem(&size);
-	igt_assert(mem != MAP_FAILED);
+	igt_multi_fork(child, 1) {
+		fd = gem_reopen_driver(fd);
+		igt_purge_vm_caches(fd);
 
-	igt_purge_vm_caches(fd);
-	igt_system_suspend_autoresume(mode, SUSPEND_TEST_NONE);
+		mem = igt_get_total_pinnable_mem(&size);
+		igt_assert(mem != MAP_FAILED);
 

tests/i915/i915_suspend.c test_shrink(int fd, unsigned int mode) · line 195

Quoted 10 lines
tests/i915/i915_suspend.c +8 -1
-	munmap(mem, size);
+		igt_purge_vm_caches(fd);
+		igt_system_suspend_autoresume(mode, SUSPEND_TEST_NONE);
+
+		munmap(mem, size);
+		close(fd);
+	}
+
+	igt_waitchildren();
  }

Looks good to me.

Quoted 2 lines
tests/i915/i915_suspend.c +0 -0
  static void