Skip to contentSkip to conversation

lib/amdgpu: fix NULL deref computing available_rings in amdgpu_create_ip_queues

PATCH In review Jesse Zhang 3 participants 6 messages Aug 13 – Aug 19

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 lib/amdgpu: fix NULL deref computing available_rings in amdgpu_create_ip_queues

amdgpu_create_ip_queues() dereferenced ring_context->hw_ip_info to compute available_rings while ring_context was still NULL - it is only allocated later via calloc(). This crashed the all-queues-with-umq subtest with a SIGSEGV in amdgpu_create_ip_queues() before any queue was created.

The HW IP info is already queried into the local hw_ip_info at the top of the function, so read available_rings from that instead of the not-yet-allocated ring_context.

---
 lib/amdgpu/amd_command_submission.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
lib/amdgpu/amd_command_submission.c +3 -3
index 0334c2ded..7210cffb9 100644
@@ -181,10 +181,10 @@ static void amdgpu_create_ip_queues(amdgpu_device_handle device,
 	amdgpu_dma_limits_query(device, &limits);
 
 	if (user_queue)
-		available_rings = ring_context->hw_ip_info.num_userq_slots ?
-			((1 << ring_context->hw_ip_info.num_userq_slots) -1) : 1;
+		available_rings = hw_ip_info.num_userq_slots ?
+			((1 << hw_ip_info.num_userq_slots) - 1) : 1;
 	else
-		available_rings = ring_context->hw_ip_info.available_rings;
+		available_rings = hw_ip_info.available_rings;
 
 	if (available_rings <= 0) {
 		*ring_context_out = NULL;
Signature · 1 line
2.49.0
#1 lore raw

PATCH 2/2 lib/amdgpu: add gfx12 shader blob for sync_dependency_test

The shader blob used by amdgpu_sync_dependency_test() is a GFX11 (RDNA3) assembly. GFX12 (RDNA4) re-encoded several of the SOP/FLAT opcodes it uses (s_endpgm, s_cbranch_scc0 and the store), so on gfx1200 the GFX11 blob decodes into different instructions: the shader neither terminates nor stores its result, and the test hangs/fails.

Add a gfx1200 re-assembled copy of the same kernel and select it in get_shader_bin() by family_id, falling back to the existing GFX11 blob for everything else.

---
 lib/amdgpu/shaders/amd_shaders.c | 35 ++++++++++++++++++++++++++++++--
 lib/amdgpu/shaders/amd_shaders.h |  3 ++-
 tests/amdgpu/amd_basic.c         |  3 ++-
 3 files changed, 37 insertions(+), 4 deletions(-)
lib/amdgpu/shaders/amd_shaders.c +33 -2
index adc4fc051..07489706e 100644
@@ -109,12 +109,43 @@ uint32_t shader_bin[] = {
 	SWAP_32(0x000070e0), SWAP_32(0x00000080), SWAP_32(0x000081bf)
 };
 
+/*
+ * GFX12 (RDNA4) re-encoded several of the SOP/FLAT opcodes used above
+ * (s_endpgm, s_cbranch_scc0, the store), so the GFX11 blob decodes into
+ * different instructions and the shader neither terminates nor stores its
+ * result. This is the same kernel re-assembled for gfx1200:
+ *
+ *	s_mov_b32 s2, 0
+ * .Lloop:
+ *	s_add_co_i32 s2, s2, 1
+ *	s_cmp_gt_u32 s2, 0x0098967f
+ *	s_cbranch_scc0 .Lloop
+ *	v_mov_b32_e32 v0, 42
+ *	v_mov_b32_e32 v1, s0
+ *	v_mov_b32_e32 v2, s1
+ *	flat_store_b32 v[1:2], v0
+ *	s_endpgm
+ */
+static  const
+uint32_t shader_bin_gfx12[] = {
+	SWAP_32(0x800082be), SWAP_32(0x02810281), SWAP_32(0x02ff08bf), SWAP_32(0x7f969800),
+	SWAP_32(0xfcffa1bf), SWAP_32(0xaa02007e), SWAP_32(0x0002027e), SWAP_32(0x0102047e),
+	SWAP_32(0x7c8006ec), SWAP_32(0x00000000), SWAP_32(0x01000000), SWAP_32(0x0000b0bf)
+};
+
 const uint32_t *
-get_shader_bin(uint32_t *size_bytes, uint32_t *code_offset, uint32_t *data_offset)
+get_shader_bin(uint32_t *size_bytes, uint32_t *code_offset, uint32_t *data_offset,
+	       uint32_t family_id)
 {
-	*size_bytes = sizeof(shader_bin);
 	*code_offset =  CODE_OFFSET;
 	*data_offset = DATA_OFFSET;
+
+	if (family_id == AMDGPU_FAMILY_GC_12_0_0) {
+		*size_bytes = sizeof(shader_bin_gfx12);
+		return shader_bin_gfx12;
+	}
+
+	*size_bytes = sizeof(shader_bin);
 	return shader_bin;
 }
 
lib/amdgpu/shaders/amd_shaders.h +2 -1
index f7d4cab07..284c1b2f8 100644
@@ -30,7 +30,8 @@
 #include "amdgpu/compute_utils/amd_shared_dispatch.h"
 
 const uint32_t *
-get_shader_bin(uint32_t *size_bytes, uint32_t *code_offset, uint32_t *data_offset);
+get_shader_bin(uint32_t *size_bytes, uint32_t *code_offset, uint32_t *data_offset,
+	       uint32_t family_id);
 
 int
 amdgpu_dispatch_load_cs_shader_hang_slow(uint32_t *ptr, uint32_t family_id);
tests/amdgpu/amd_basic.c +2 -1
index 3ad023472..84a6d8618 100644
@@ -553,7 +553,8 @@ amdgpu_sync_dependency_test(amdgpu_device_handle device_handle, bool user_queue)
 		igt_assert_eq(r, 0);
 	}
 
-	shader = get_shader_bin(&size_bytes, &code_offset, &data_offset);
+	shader = get_shader_bin(&size_bytes, &code_offset, &data_offset,
+				ip_block->funcs->family_id);
 
 	/* assign cmd buffer */
 	base->attach_buf(base, ib_result_cpu, const_size);
Signature · 1 line
2.49.0
#2 lore raw

✓ Xe.CI.BAT: success for series starting with [i-g-t,1/2] lib/amdgpu: fix NULL deref computing available_rings in amdgpu_create_ip_queues

In reply to Jesse Zhang
== Series Details ==

== Series Details ==

Series: series starting with [i-g-t,1/2] lib/amdgpu: fix NULL deref computing available_rings in amdgpu_create_ip_queues
URL : https://patchwork.freedesktop.org/series/172119/
State : success

== Summary ==

CI Bug Log - changes from XEIGT_9054_BAT -> XEIGTPW_15673_BAT
====================================================

Summary
-------

**SUCCESS**

No regressions found.

Participating hosts (12 -> 12)
------------------------------

Additional (1): bat-nvls-1
Missing (1): bat-bmg-2

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

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

### IGT changes ###

#### Issues hit ####

* igt@kms_addfb_basic@addfb25-y-tiled-small-legacy:
- bat-nvls-1: NOTRUN -> [SKIP][1] ([Intel XE#8757])
[1]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15673/bat-nvls-1/igt@[email protected]

* igt@kms_dsc@dsc-basic:
- bat-nvls-1: NOTRUN -> [SKIP][2] ([Intel XE#8759])
[2]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15673/bat-nvls-1/igt@[email protected]

* igt@xe_evict@evict-small-multi-vm:
- bat-nvls-1: NOTRUN -> [SKIP][3] ([Intel XE#8777]) +9 other tests skip
[3]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15673/bat-nvls-1/igt@[email protected]

* igt@xe_evict_ccs@evict-overcommit-parallel-nofree-samefd:
- bat-nvls-1: NOTRUN -> [SKIP][4] ([Intel XE#8744]) +1 other test skip
[4]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15673/bat-nvls-1/igt@[email protected]

* igt@xe_exec_balancer@twice-virtual-userptr-invalidate:
- bat-nvls-1: NOTRUN -> [SKIP][5] ([Intel XE#8741]) +17 other tests skip
[5]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15673/bat-nvls-1/igt@[email protected]

* igt@xe_exec_multi_queue@many-queues-userptr-invalidate:
- bat-nvls-1: NOTRUN -> [SKIP][6] ([Intel XE#8377]) +13 other tests skip
[6]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15673/bat-nvls-1/igt@[email protected]

* igt@xe_huc_copy@huc_copy:
- bat-nvls-1: NOTRUN -> [SKIP][7] ([Intel XE#8746])
[7]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15673/bat-nvls-1/igt@xe_huc_copy@huc_copy.html

* igt@xe_live_ktest@xe_bo:
- bat-nvls-1: NOTRUN -> [SKIP][8] ([Intel XE#8792])
[8]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15673/bat-nvls-1/igt@xe_live_ktest@xe_bo.html

* igt@xe_live_ktest@xe_bo@xe_bo_evict_kunit:
- bat-nvls-1: NOTRUN -> [SKIP][9] ([Intel XE#8791] / [Intel XE#8792])
[9]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15673/bat-nvls-1/igt@xe_live_ktest@xe_bo@xe_bo_evict_kunit.html

* igt@xe_live_ktest@xe_migrate@xe_validate_ccs_kunit:
- bat-nvls-1: NOTRUN -> [SKIP][10] ([Intel XE#8791])
[10]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15673/bat-nvls-1/igt@xe_live_ktest@xe_migrate@xe_validate_ccs_kunit.html

* igt@xe_mmap@vram:
- bat-nvls-1: NOTRUN -> [SKIP][11] ([Intel XE#8747])
[11]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15673/bat-nvls-1/igt@[email protected]

* igt@xe_pat@pat-index-xehpc:
- bat-nvls-1: NOTRUN -> [SKIP][12] ([Intel XE#8748])
[12]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15673/bat-nvls-1/igt@[email protected]

* igt@xe_pat@pat-index-xelp:
- bat-nvls-1: NOTRUN -> [SKIP][13] ([Intel XE#8743])
[13]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15673/bat-nvls-1/igt@[email protected]

* igt@xe_pat@pat-index-xelpg:
- bat-nvls-1: NOTRUN -> [SKIP][14] ([Intel XE#8745])
[14]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15673/bat-nvls-1/igt@[email protected]

[Intel XE#8377]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8377
[Intel XE#8741]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8741
[Intel XE#8743]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8743
[Intel XE#8744]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8744
[Intel XE#8745]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8745
[Intel XE#8746]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8746
[Intel XE#8747]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8747
[Intel XE#8748]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8748
[Intel XE#8757]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8757
[Intel XE#8759]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8759
[Intel XE#8777]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8777
[Intel XE#8791]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8791
[Intel XE#8792]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8792

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

* IGT: IGT_9054 -> IGTPW_15673
* Linux: xe-5582-43db79ba5c8eac68b393cca2faa0b13a6505de1a -> xe-5588-ce212c90b6b1f5c50c99d1ad8770d4e45ea19c98

IGTPW_15673: 15673
IGT_9054: 3d819a8f511b2bcd844647bcf7e433b9407d058e @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
xe-5582-43db79ba5c8eac68b393cca2faa0b13a6505de1a: 43db79ba5c8eac68b393cca2faa0b13a6505de1a xe-5588-ce212c90b6b1f5c50c99d1ad8770d4e45ea19c98: ce212c90b6b1f5c50c99d1ad8770d4e45ea19c98

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15673/index.html

#3 lore raw

✓ i915.CI.BAT: success for series starting with [i-g-t,1/2] lib/amdgpu: fix NULL deref computing available_rings in amdgpu_create_ip_queues

In reply to Jesse Zhang
== Series Details ==

== Series Details ==

Series: series starting with [i-g-t,1/2] lib/amdgpu: fix NULL deref computing available_rings in amdgpu_create_ip_queues
URL : https://patchwork.freedesktop.org/series/172119/
State : success

== Summary ==

CI Bug Log - changes from IGT_9054 -> IGTPW_15673
====================================================

Summary
-------

**SUCCESS**

No regressions found.

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

Participating hosts (37 -> 36)
------------------------------

Additional (1): fi-glk-j4005
Missing (2): bat-dg2-13 fi-snb-2520m

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

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

### IGT changes ###

#### Issues hit ####

* igt@gem_huc_copy@huc-copy:
- fi-glk-j4005: NOTRUN -> [SKIP][1] ([i915#2190])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_15673/fi-glk-j4005/igt@[email protected]

* igt@gem_lmem_swapping@basic:
- fi-glk-j4005: NOTRUN -> [SKIP][2] ([i915#4613]) +3 other tests skip
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_15673/fi-glk-j4005/igt@[email protected]

* igt@kms_cursor_legacy@basic-busy-flip-before-cursor-atomic:
- fi-glk-j4005: NOTRUN -> [SKIP][3] +11 other tests skip
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_15673/fi-glk-j4005/igt@[email protected]

#### Possible fixes ####

* igt@i915_selftest@live@sanitycheck:
- fi-kbl-7567u: [DMESG-WARN][4] ([i915#13735]) -> [PASS][5] +79 other tests pass
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_9054/fi-kbl-7567u/igt@i915_selftest@[email protected]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_15673/fi-kbl-7567u/igt@i915_selftest@[email protected]

* igt@kms_busy@basic@flip:
- fi-kbl-7567u: [DMESG-WARN][6] ([i915#13735] / [i915#180]) -> [PASS][7]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_9054/fi-kbl-7567u/igt@kms_busy@[email protected]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_15673/fi-kbl-7567u/igt@kms_busy@[email protected]

* igt@kms_pm_rpm@basic-pci-d3-state:
- fi-kbl-7567u: [DMESG-WARN][8] ([i915#13735] / [i915#15673] / [i915#180]) -> [PASS][9] +52 other tests pass
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_9054/fi-kbl-7567u/igt@[email protected]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_15673/fi-kbl-7567u/igt@[email protected]

[i915#13735]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/13735
[i915#15673]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/15673
[i915#180]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/180
[i915#2190]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/2190
[i915#4613]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/4613

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

* CI: CI-20190529 -> None
* IGT: IGT_9054 -> IGTPW_15673
* Linux: CI_DRM_18984 -> CI_DRM_18989

CI-20190529: 20190529
CI_DRM_18984: 43db79ba5c8eac68b393cca2faa0b13a6505de1a @ git://anongit.freedesktop.org/gfx-ci/linux
CI_DRM_18989: ce212c90b6b1f5c50c99d1ad8770d4e45ea19c98 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_15673: 15673
IGT_9054: 3d819a8f511b2bcd844647bcf7e433b9407d058e @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git

== Logs ==

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

#4 lore raw

✓ Xe.CI.FULL: success for series starting with [i-g-t,1/2] lib/amdgpu: fix NULL deref computing available_rings in amdgpu_create_ip_queues

In reply to Jesse Zhang
== Series Details ==

== Series Details ==

Series: series starting with [i-g-t,1/2] lib/amdgpu: fix NULL deref computing available_rings in amdgpu_create_ip_queues
URL : https://patchwork.freedesktop.org/series/172119/
State : success

== Summary ==

CI Bug Log - changes from XEIGT_9054_FULL -> XEIGTPW_15673_FULL
====================================================

Summary
-------

**SUCCESS**

No regressions found.

Participating hosts (2 -> 2)
------------------------------

No changes in participating hosts

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

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

### IGT changes ###

#### Issues hit ####

* igt@kms_big_fb@linear-8bpp-rotate-270:
- shard-bmg: NOTRUN -> [SKIP][1] ([Intel XE#2327])
[1]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15673/shard-bmg-8/igt@[email protected]

* igt@kms_big_fb@linear-max-hw-stride-64bpp-rotate-180-hflip:
- shard-bmg: NOTRUN -> [SKIP][2] ([Intel XE#7059] / [Intel XE#7085])
[2]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15673/shard-bmg-7/igt@[email protected]

* igt@kms_big_fb@yf-tiled-32bpp-rotate-0:
- shard-bmg: NOTRUN -> [SKIP][3] ([Intel XE#1124]) +7 other tests skip
[3]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15673/shard-bmg-8/igt@[email protected]

* igt@kms_bw@connected-linear-tiling-3-displays-target-2160x1440p:
- shard-bmg: NOTRUN -> [SKIP][4] ([Intel XE#7679])
[4]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15673/shard-bmg-9/igt@[email protected]

* igt@kms_bw@linear-tiling-2-displays-target-3840x2160p:
- shard-bmg: NOTRUN -> [SKIP][5] ([Intel XE#367]) +2 other tests skip
[5]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15673/shard-bmg-9/igt@[email protected]

* igt@kms_ccs@crc-primary-basic-4-tiled-lnl-ccs@pipe-b-dp-2:
- shard-bmg: NOTRUN -> [SKIP][6] ([Intel XE#2652]) +8 other tests skip
[6]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15673/shard-bmg-2/igt@kms_ccs@[email protected]

* igt@kms_ccs@crc-primary-suspend-yf-tiled-ccs:
- shard-bmg: NOTRUN -> [SKIP][7] ([Intel XE#3432]) +2 other tests skip
[7]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15673/shard-bmg-7/igt@[email protected]

* igt@kms_ccs@crc-sprite-planes-basic-y-tiled-gen12-rc-ccs:
- shard-bmg: NOTRUN -> [SKIP][8] ([Intel XE#2887]) +6 other tests skip
[8]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15673/shard-bmg-10/igt@[email protected]

* igt@kms_cdclk@mode-transition:
- shard-bmg: NOTRUN -> [SKIP][9] ([Intel XE#2724] / [Intel XE#7449])
[9]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15673/shard-bmg-1/igt@[email protected]

* igt@kms_chamelium_color@degamma:
- shard-bmg: NOTRUN -> [SKIP][10] ([Intel XE#2325] / [Intel XE#7358]) +1 other test skip
[10]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15673/shard-bmg-10/igt@[email protected]

* igt@kms_chamelium_color_pipeline@plane-lut1d-pre-ctm3x4:
- shard-bmg: NOTRUN -> [SKIP][11] ([Intel XE#7358]) +1 other test skip
[11]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15673/shard-bmg-2/igt@[email protected]

* igt@kms_chamelium_edid@hdmi-edid-change-during-suspend:
- shard-bmg: NOTRUN -> [SKIP][12] ([Intel XE#2252]) +7 other tests skip
[12]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15673/shard-bmg-3/igt@[email protected]

* igt@kms_content_protection@dp-mst-type-0:
- shard-bmg: NOTRUN -> [SKIP][13] ([Intel XE#2390] / [Intel XE#6974])
[13]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15673/shard-bmg-2/igt@[email protected]

* igt@kms_content_protection@lic-type-0-hdcp14@pipe-a-dp-2:
- shard-bmg: NOTRUN -> [FAIL][14] ([Intel XE#1178] / [Intel XE#3304] / [Intel XE#7374]) +5 other tests fail
[14]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15673/shard-bmg-5/igt@kms_content_protection@[email protected]

* igt@kms_cursor_crc@cursor-offscreen-max-size:
- shard-bmg: NOTRUN -> [SKIP][15] ([Intel XE#2320]) +2 other tests skip
[15]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15673/shard-bmg-2/igt@[email protected]

* igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions:
- shard-bmg: NOTRUN -> [FAIL][16] ([Intel XE#7809])
[16]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15673/shard-bmg-6/igt@[email protected]

* igt@kms_cursor_legacy@flip-vs-cursor-legacy:
- shard-bmg: [PASS][17] -> [FAIL][18] ([Intel XE#7571])
[17]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_9054/shard-bmg-4/igt@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15673/shard-bmg-4/igt@[email protected]

* igt@kms_dp_link_training@uhbr-sst:
- shard-bmg: NOTRUN -> [SKIP][19] ([Intel XE#4354] / [Intel XE#5870])
[19]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15673/shard-bmg-4/igt@[email protected]

* igt@kms_dsc@dsc-basic-ultrajoiner:
- shard-bmg: NOTRUN -> [SKIP][20] ([Intel XE#8265]) +2 other tests skip
[20]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15673/shard-bmg-8/igt@[email protected]

* igt@kms_fbc_dirty_rect@fbc-dirty-rectangle-out-visible-area:
- shard-bmg: NOTRUN -> [SKIP][21] ([Intel XE#4422] / [Intel XE#7442])
[21]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15673/shard-bmg-8/igt@[email protected]

* igt@kms_flip@flip-vs-expired-vblank@a-edp1:
- shard-lnl: [PASS][22] -> [FAIL][23] ([Intel XE#301]) +3 other tests fail
[22]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_9054/shard-lnl-2/igt@kms_flip@[email protected]
[23]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15673/shard-lnl-4/igt@kms_flip@[email protected]

* igt@kms_flip_scaled_crc@flip-32bpp-yftile-to-32bpp-yftileccs-upscaling:
- shard-bmg: NOTRUN -> [SKIP][24] ([Intel XE#7178] / [Intel XE#7351]) +2 other tests skip
[24]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15673/shard-bmg-8/igt@kms_flip_scaled_crc@flip-32bpp-yftile-to-32bpp-yftileccs-upscaling.html

* igt@kms_flip_scaled_crc@flip-64bpp-4tile-to-32bpp-4tiledg2rcccs-upscaling:
- shard-bmg: NOTRUN -> [SKIP][25] ([Intel XE#7178] / [Intel XE#7349])
[25]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15673/shard-bmg-10/igt@kms_flip_scaled_crc@flip-64bpp-4tile-to-32bpp-4tiledg2rcccs-upscaling.html

* igt@kms_frontbuffer_tracking@drrs-2p-scndscrn-pri-indfb-draw-mmap-wc:
- shard-bmg: NOTRUN -> [SKIP][26] ([Intel XE#2311]) +43 other tests skip
[26]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15673/shard-bmg-10/igt@kms_frontbuffer_tracking@drrs-2p-scndscrn-pri-indfb-draw-mmap-wc.html

* igt@kms_frontbuffer_tracking@fbc-1p-offscreen-pri-indfb-draw-render:
- shard-bmg: NOTRUN -> [SKIP][27] ([Intel XE#4141]) +9 other tests skip
[27]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15673/shard-bmg-2/igt@kms_frontbuffer_tracking@fbc-1p-offscreen-pri-indfb-draw-render.html

* igt@kms_frontbuffer_tracking@fbcdrrshdr-argb161616f-draw-blt:
- shard-bmg: NOTRUN -> [SKIP][28] ([Intel XE#7061]) +2 other tests skip
[28]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15673/shard-bmg-10/igt@[email protected]

* igt@kms_frontbuffer_tracking@psr-2p-primscrn-indfb-plflip-blt:
- shard-bmg: NOTRUN -> [SKIP][29] ([Intel XE#2313]) +50 other tests skip
[29]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15673/shard-bmg-1/igt@[email protected]

* igt@kms_frontbuffer_tracking@psr-argb161616f-draw-render:
- shard-bmg: NOTRUN -> [SKIP][30] ([Intel XE#7061] / [Intel XE#7356])
[30]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15673/shard-bmg-1/igt@[email protected]

* igt@kms_hdr@brightness-with-hdr:
- shard-bmg: NOTRUN -> [SKIP][31] ([Intel XE#3374] / [Intel XE#3544])
[31]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15673/shard-bmg-8/igt@[email protected]

* igt@kms_hdr@invalid-hdr:
- shard-bmg: [PASS][32] -> [SKIP][33] ([Intel XE#1503])
[32]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_9054/shard-bmg-7/igt@[email protected]
[33]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15673/shard-bmg-5/igt@[email protected]

* igt@kms_panel_fitting@atomic-fastset:
- shard-bmg: NOTRUN -> [SKIP][34] ([Intel XE#2486])
[34]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15673/shard-bmg-3/igt@[email protected]

* igt@kms_plane@pixel-format-4-tiled-mtl-rc-ccs-modifier-source-clamping:
- shard-bmg: NOTRUN -> [SKIP][35] ([Intel XE#7283]) +2 other tests skip
[35]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15673/shard-bmg-4/igt@kms_plane@pixel-format-4-tiled-mtl-rc-ccs-modifier-source-clamping.html

* igt@kms_plane_multiple@tiling-y:
- shard-bmg: NOTRUN -> [SKIP][36] ([Intel XE#5020] / [Intel XE#7348])
[36]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15673/shard-bmg-3/igt@[email protected]

* igt@kms_plane_scaling@planes-upscale-factor-0-25-downscale-factor-0-75:
- shard-bmg: NOTRUN -> [SKIP][37] ([Intel XE#2763] / [Intel XE#6886]) +4 other tests skip
[37]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15673/shard-bmg-3/igt@kms_plane_scaling@planes-upscale-factor-0-25-downscale-factor-0-75.html

* igt@kms_pm_dc@dc5-psr:
- shard-lnl: [PASS][38] -> [FAIL][39] ([Intel XE#8399])
[38]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_9054/shard-lnl-4/igt@[email protected]
[39]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15673/shard-lnl-7/igt@[email protected]

* igt@kms_psr2_sf@fbc-psr2-overlay-primary-update-sf-dmg-area:
- shard-bmg: NOTRUN -> [SKIP][40] ([Intel XE#1489]) +6 other tests skip
[40]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15673/shard-bmg-9/igt@[email protected]

* igt@kms_psr@psr-basic:
- shard-bmg: NOTRUN -> [SKIP][41] ([Intel XE#2234] / [Intel XE#2850]) +11 other tests skip
[41]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15673/shard-bmg-1/igt@[email protected]

* igt@kms_sharpness_filter@invalid-filter-with-scaling-mode:
- shard-bmg: NOTRUN -> [SKIP][42] ([Intel XE#6503]) +3 other tests skip
[42]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15673/shard-bmg-5/igt@[email protected]

* igt@kms_tiled_display@basic-test-pattern-with-chamelium:
- shard-bmg: NOTRUN -> [SKIP][43] ([Intel XE#2426] / [Intel XE#5848])
[43]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15673/shard-bmg-6/igt@[email protected]

* igt@kms_vrr@seamless-rr-switch-virtual:
- shard-bmg: NOTRUN -> [SKIP][44] ([Intel XE#1499])
[44]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15673/shard-bmg-6/igt@[email protected]

* igt@sriov_basic@pf-unbind-with-vfs-enabled-numvfs-all:
- shard-bmg: NOTRUN -> [ABORT][45] ([Intel XE#8868])
[45]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15673/shard-bmg-1/igt@[email protected]

* igt@xe_evict@evict-beng-mixed-many-threads-small:
- shard-bmg: NOTRUN -> [INCOMPLETE][46] ([Intel XE#6321] / [Intel XE#8355])
[46]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15673/shard-bmg-9/igt@[email protected]

* igt@xe_evict@evict-cm-threads-small-multi-queue:
- shard-bmg: NOTRUN -> [SKIP][47] ([Intel XE#8370]) +1 other test skip
[47]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15673/shard-bmg-8/igt@[email protected]

* igt@xe_exec_basic@multigpu-once-bindexecqueue-rebind:
- shard-bmg: NOTRUN -> [SKIP][48] ([Intel XE#2322] / [Intel XE#7372]) +8 other tests skip
[48]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15673/shard-bmg-5/igt@[email protected]

* igt@xe_exec_fault_mode@many-multi-queue-rebind-prefetch:
- shard-bmg: NOTRUN -> [SKIP][49] ([Intel XE#8374]) +8 other tests skip
[49]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15673/shard-bmg-8/igt@[email protected]

* igt@xe_exec_multi_queue@few-execs-preempt-mode-priority:
- shard-bmg: NOTRUN -> [SKIP][50] ([Intel XE#8364]) +21 other tests skip
[50]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15673/shard-bmg-6/igt@[email protected]

* igt@xe_exec_reset@multi-queue-cancel-on-secondary:
- shard-bmg: NOTRUN -> [SKIP][51] ([Intel XE#8369])
[51]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15673/shard-bmg-8/igt@[email protected]

* igt@xe_exec_threads@threads-multi-queue-cm-fd-userptr-rebind:
- shard-bmg: NOTRUN -> [SKIP][52] ([Intel XE#8378]) +9 other tests skip
[52]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15673/shard-bmg-1/igt@[email protected]

* igt@xe_live_ktest@xe_bo@xe_ccs_migrate_kunit:
- shard-bmg: NOTRUN -> [SKIP][53] ([Intel XE#2229])
[53]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15673/shard-bmg-4/igt@xe_live_ktest@xe_bo@xe_ccs_migrate_kunit.html

* igt@xe_media_fill@media-fill:
- shard-bmg: NOTRUN -> [SKIP][54] ([Intel XE#2459] / [Intel XE#2596] / [Intel XE#7321] / [Intel XE#7453])
[54]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15673/shard-bmg-7/igt@[email protected]

* igt@xe_multigpu_svm@mgpu-atomic-op-conflict:
- shard-bmg: NOTRUN -> [SKIP][55] ([Intel XE#6964]) +2 other tests skip
[55]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15673/shard-bmg-8/igt@[email protected]

* igt@xe_oa@non-zero-reason-all@oag-0:
- shard-bmg: [PASS][56] -> [FAIL][57] ([Intel XE#7334]) +1 other test fail
[56]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_9054/shard-bmg-2/igt@xe_oa@[email protected]
[57]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15673/shard-bmg-6/igt@xe_oa@[email protected]

* igt@xe_page_reclaim@pde-vs-pd:
- shard-bmg: NOTRUN -> [SKIP][58] ([Intel XE#7793]) +1 other test skip
[58]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15673/shard-bmg-6/igt@[email protected]

* igt@xe_pat@pat-index-xelpg:
- shard-bmg: NOTRUN -> [SKIP][59] ([Intel XE#2236] / [Intel XE#7590])
[59]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15673/shard-bmg-1/igt@[email protected]

* igt@xe_pat@xa-app-transient-media-on:
- shard-bmg: NOTRUN -> [SKIP][60] ([Intel XE#7590])
[60]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15673/shard-bmg-5/igt@[email protected]

* igt@xe_pm@d3cold-i2c:
- shard-bmg: NOTRUN -> [SKIP][61] ([Intel XE#5694] / [Intel XE#7370])
[61]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15673/shard-bmg-4/igt@[email protected]

* igt@xe_pm@d3cold-mmap-system:
- shard-bmg: NOTRUN -> [SKIP][62] ([Intel XE#2284] / [Intel XE#7370])
[62]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15673/shard-bmg-3/igt@[email protected]

* igt@xe_prefetch_fault@prefetch-fault-svm:
- shard-bmg: NOTRUN -> [SKIP][63] ([Intel XE#7599])
[63]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15673/shard-bmg-2/igt@[email protected]

* igt@xe_pxp@pxp-stale-queue-post-suspend:
- shard-bmg: NOTRUN -> [SKIP][64] ([Intel XE#4733] / [Intel XE#7417]) +1 other test skip
[64]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15673/shard-bmg-8/igt@[email protected]

* igt@xe_query@multigpu-query-cs-cycles:
- shard-bmg: NOTRUN -> [SKIP][65] ([Intel XE#944]) +1 other test skip
[65]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15673/shard-bmg-6/igt@[email protected]

#### Possible fixes ####

* igt@kms_async_flips@async-flip-suspend-resume@pipe-d-hdmi-a-3:
- shard-bmg: [INCOMPLETE][66] ([Intel XE#8587]) -> [PASS][67] +1 other test pass
[66]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_9054/shard-bmg-8/igt@kms_async_flips@[email protected]
[67]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15673/shard-bmg-2/igt@kms_async_flips@[email protected]

* igt@kms_flip@2x-flip-vs-expired-vblank-interruptible:
- shard-bmg: [FAIL][68] ([Intel XE#3149] / [Intel XE#3321]) -> [PASS][69] +1 other test pass
[68]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_9054/shard-bmg-1/igt@[email protected]
[69]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15673/shard-bmg-2/igt@[email protected]

* igt@kms_hdmi_inject@inject-audio:
- shard-bmg: [SKIP][70] ([Intel XE#7308]) -> [PASS][71]
[70]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_9054/shard-bmg-4/igt@[email protected]
[71]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15673/shard-bmg-5/igt@[email protected]

* igt@kms_pm_dc@dc5-dpms:
- shard-lnl: [FAIL][72] ([Intel XE#8399]) -> [PASS][73]
[72]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_9054/shard-lnl-1/igt@[email protected]
[73]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15673/shard-lnl-3/igt@[email protected]

* igt@xe_evict@evict-mixed-many-threads-small:
- shard-bmg: [INCOMPLETE][74] ([Intel XE#6321] / [Intel XE#8355]) -> [PASS][75]
[74]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_9054/shard-bmg-2/igt@[email protected]
[75]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15673/shard-bmg-5/igt@[email protected]

* igt@xe_module_load@force-load:
- shard-bmg: [ABORT][76] ([Intel XE#8007]) -> [PASS][77] +2 other tests pass
[76]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_9054/shard-bmg-10/igt@[email protected]
[77]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15673/shard-bmg-9/igt@[email protected]

* igt@xe_sriov_flr@flr-vfs-parallel:
- shard-bmg: [FAIL][78] ([Intel XE#6569]) -> [PASS][79] +2 other tests pass
[78]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_9054/shard-bmg-6/igt@[email protected]
[79]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15673/shard-bmg-8/igt@[email protected]

* igt@xe_sriov_scheduling@nonpreempt-engine-resets-low-priority@numvfs-random-gt0-rcs0:
- shard-bmg: [FAIL][80] ([Intel XE#7992]) -> [PASS][81] +3 other tests pass
[80]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_9054/shard-bmg-1/igt@xe_sriov_scheduling@nonpreempt-engine-resets-low-priority@numvfs-random-gt0-rcs0.html
[81]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15673/shard-bmg-10/igt@xe_sriov_scheduling@nonpreempt-engine-resets-low-priority@numvfs-random-gt0-rcs0.html

* igt@xe_sriov_scheduling@nonpreempt-engine-resets-low-priority@numvfs-random-gt1-vcs0:
- shard-bmg: [FAIL][82] ([Intel XE#8340]) -> [PASS][83]
[82]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_9054/shard-bmg-1/igt@xe_sriov_scheduling@nonpreempt-engine-resets-low-priority@numvfs-random-gt1-vcs0.html
[83]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15673/shard-bmg-10/igt@xe_sriov_scheduling@nonpreempt-engine-resets-low-priority@numvfs-random-gt1-vcs0.html

#### Warnings ####

* igt@kms_cursor_legacy@cursorb-vs-flipb-atomic-transitions:
- shard-lnl: [SKIP][84] ([Intel XE#309] / [Intel XE#7343] / [Intel XE#7935]) -> [SKIP][85] ([Intel XE#309] / [Intel XE#7343])
[84]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_9054/shard-lnl-8/igt@[email protected]
[85]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15673/shard-lnl-3/igt@[email protected]

[Intel XE#1124]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1124
[Intel XE#1178]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1178
[Intel XE#1489]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1489
[Intel XE#1499]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1499
[Intel XE#1503]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1503
[Intel XE#2229]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2229
[Intel XE#2234]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2234
[Intel XE#2236]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2236
[Intel XE#2252]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2252
[Intel XE#2284]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2284
[Intel XE#2311]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2311
[Intel XE#2313]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2313
[Intel XE#2320]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2320
[Intel XE#2322]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2322
[Intel XE#2325]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2325
[Intel XE#2327]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2327
[Intel XE#2390]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2390
[Intel XE#2426]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2426
[Intel XE#2459]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2459
[Intel XE#2486]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2486
[Intel XE#2596]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2596
[Intel XE#2652]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2652
[Intel XE#2724]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2724
[Intel XE#2763]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2763
[Intel XE#2850]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2850
[Intel XE#2887]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2887
[Intel XE#301]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/301
[Intel XE#309]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/309
[Intel XE#3149]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3149
[Intel XE#3304]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3304
[Intel XE#3321]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3321
[Intel XE#3374]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3374
[Intel XE#3432]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3432
[Intel XE#3544]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3544
[Intel XE#367]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/367
[Intel XE#4141]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4141
[Intel XE#4354]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4354
[Intel XE#4422]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4422
[Intel XE#4733]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4733
[Intel XE#5020]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5020
[Intel XE#5694]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5694
[Intel XE#5848]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5848
[Intel XE#5870]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5870
[Intel XE#6321]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6321
[Intel XE#6503]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6503
[Intel XE#6569]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6569
[Intel XE#6886]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6886
[Intel XE#6964]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6964
[Intel XE#6974]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6974
[Intel XE#7059]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7059
[Intel XE#7061]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7061
[Intel XE#7085]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7085
[Intel XE#7178]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7178
[Intel XE#7283]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7283
[Intel XE#7308]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7308
[Intel XE#7321]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7321
[Intel XE#7334]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7334
[Intel XE#7343]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7343
[Intel XE#7348]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7348
[Intel XE#7349]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7349
[Intel XE#7351]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7351
[Intel XE#7356]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7356
[Intel XE#7358]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7358
[Intel XE#7370]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7370
[Intel XE#7372]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7372
[Intel XE#7374]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7374
[Intel XE#7417]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7417
[Intel XE#7442]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7442
[Intel XE#7449]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7449
[Intel XE#7453]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7453
[Intel XE#7571]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7571
[Intel XE#7590]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7590
[Intel XE#7599]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7599
[Intel XE#7679]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7679
[Intel XE#7793]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7793
[Intel XE#7809]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7809
[Intel XE#7935]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7935
[Intel XE#7992]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7992
[Intel XE#8007]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8007
[Intel XE#8265]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8265
[Intel XE#8340]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8340
[Intel XE#8355]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8355
[Intel XE#8364]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8364
[Intel XE#8369]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8369
[Intel XE#8370]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8370
[Intel XE#8374]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8374
[Intel XE#8378]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8378
[Intel XE#8399]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8399
[Intel XE#8587]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8587
[Intel XE#8868]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8868
[Intel XE#944]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/944

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

* IGT: IGT_9054 -> IGTPW_15673
* Linux: xe-5582-43db79ba5c8eac68b393cca2faa0b13a6505de1a -> xe-5588-ce212c90b6b1f5c50c99d1ad8770d4e45ea19c98

IGTPW_15673: 15673
IGT_9054: 3d819a8f511b2bcd844647bcf7e433b9407d058e @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
xe-5582-43db79ba5c8eac68b393cca2faa0b13a6505de1a: 43db79ba5c8eac68b393cca2faa0b13a6505de1a xe-5588-ce212c90b6b1f5c50c99d1ad8770d4e45ea19c98: ce212c90b6b1f5c50c99d1ad8770d4e45ea19c98

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15673/index.html

Reviewed-by on v1 1/2
#5 lore raw
In reply to Jesse Zhang

LGTM, both patches

Quoted 32 lines · Jesse Zhang

amdgpu_create_ip_queues() dereferenced ring_context->hw_ip_info to compute available_rings while ring_context was still NULL - it is only allocated later via calloc(). This crashed the all-queues-with-umq subtest with a SIGSEGV in amdgpu_create_ip_queues() before any queue was created.

The HW IP info is already queried into the local hw_ip_info at the top of the function, so read available_rings from that instead of the not-yet-allocated ring_context.

---
 lib/amdgpu/amd_command_submission.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
lib/amdgpu/amd_command_submission.c +3 -3
index 0334c2ded..7210cffb9 100644
@@ -181,10 +181,10 @@ static void amdgpu_create_ip_queues(amdgpu_device_handle device,
 	amdgpu_dma_limits_query(device, &limits);
 
 	if (user_queue)
-		available_rings = ring_context->hw_ip_info.num_userq_slots ?
-			((1 << ring_context->hw_ip_info.num_userq_slots) -1) : 1;
+		available_rings = hw_ip_info.num_userq_slots ?
+			((1 << hw_ip_info.num_userq_slots) - 1) : 1;
 	else
-		available_rings = ring_context->hw_ip_info.available_rings;
+		available_rings = hw_ip_info.available_rings;
 
 	if (available_rings <= 0) {
 		*ring_context_out = NULL;