All of lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t] tests/amdgpu: add vce decoder test
@ 2023-07-06  9:55 vitaly.prosyak
  2023-07-06 11:20 ` [igt-dev] ✓ Fi.CI.BAT: success for tests/amdgpu: add vce decoder test (rev2) Patchwork
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: vitaly.prosyak @ 2023-07-06  9:55 UTC (permalink / raw)
  To: igt-dev; +Cc: Leo Liu

From: Vitaly Prosyak <vitaly.prosyak@amd.com>

Ported and refactored drmlib vce_tests.c and  the following is done:

1. Remove everywhere global variables.
2. Reuse common functions from amd_mmd_shared.h
3. Properly formatted code to meet igt guidelines.

Signed-off-by: Vitaly Prosyak <vitaly.prosyak@amd.com>
Acked-by: Leo Liu <leo.liu@amd.com>
---
 tests/amdgpu/amd_vce_dec.c | 602 +++++++++++++++++++++++++++++++++++++
 tests/amdgpu/meson.build   |   1 +
 2 files changed, 603 insertions(+)
 create mode 100644 tests/amdgpu/amd_vce_dec.c

diff --git a/tests/amdgpu/amd_vce_dec.c b/tests/amdgpu/amd_vce_dec.c
new file mode 100644
index 000000000..364534955
--- /dev/null
+++ b/tests/amdgpu/amd_vce_dec.c
@@ -0,0 +1,602 @@
+// SPDX-License-Identifier: MIT
+// Copyright 2023 Advanced Micro Devices, Inc.
+// Copyright 2014 Advanced Micro Devices, Inc.
+
+#include "lib/amdgpu/amd_mmd_shared.h"
+#include "lib/amdgpu/amd_mmd_vce_ib.h"
+
+#define FW_53_0_03 ((53 << 24) | (0 << 16) | (03 << 8))
+
+struct amdgpu_vce_encode {
+	unsigned int width;
+	unsigned int height;
+	struct amdgpu_mmd_bo vbuf;
+	struct amdgpu_mmd_bo bs[2];
+	struct amdgpu_mmd_bo fb[2];
+	struct amdgpu_mmd_bo cpb;
+	unsigned int ib_len;
+	bool two_instance;
+	struct amdgpu_mmd_bo mvrefbuf;
+	struct amdgpu_mmd_bo mvb;
+	unsigned int mvbuf_size;
+};
+
+
+static bool
+is_vce_tests_enable(amdgpu_device_handle device_handle, uint32_t family_id,
+		uint32_t chip_id, uint32_t chip_rev, bool *is_mv_supported)
+{
+	uint64_t ids_flags;
+	uint32_t version, feature;
+	int r;
+	struct amdgpu_gpu_info gpu_info = {0};
+
+	r = amdgpu_query_gpu_info(device_handle, &gpu_info);
+	igt_assert_eq(r, 0);
+	ids_flags = gpu_info.ids_flags;
+
+	amdgpu_query_firmware_version(device_handle, AMDGPU_INFO_FW_VCE, 0,
+					  0, &version, &feature);
+
+	if (family_id >= AMDGPU_FAMILY_RV || family_id == AMDGPU_FAMILY_SI ||
+			is_gfx_pipe_removed(family_id, chip_id, chip_rev)) {
+		igt_info("\n\nThe ASIC NOT support VCE, tests are disabled\n");
+		return false;
+	}
+
+	if (!(chip_id == (chip_rev + 0x3C) || /* FIJI */
+			chip_id == (chip_rev + 0x50) || /* Polaris 10*/
+			chip_id == (chip_rev + 0x5A) || /* Polaris 11*/
+			chip_id == (chip_rev + 0x64) || /* Polaris 12*/
+			(family_id >= AMDGPU_FAMILY_AI && !ids_flags))) /* dGPU > Polaris */
+		igt_info("\n\nThe ASIC NOT support VCE MV, tests are disabled\n");
+	else if (version < FW_53_0_03)
+		igt_info("\n\nThe ASIC FW version NOT support VCE MV, tests are disabled\n");
+	else
+		*is_mv_supported = true;
+
+	return true;
+}
+
+static void
+amdgpu_cs_vce_create(amdgpu_device_handle device_handle,
+		struct amdgpu_vce_encode *enc, struct mmd_context *context, bool is_mv_supported)
+{
+	unsigned int align = (context->family_id >= AMDGPU_FAMILY_AI) ? 256 : 16;
+	int len, r;
+
+	enc->width = vce_create[6];
+	enc->height = vce_create[7];
+
+	context->num_resources  = 0;
+	alloc_resource(device_handle, &enc->fb[0], 4096, AMDGPU_GEM_DOMAIN_GTT);
+	context->resources[context->num_resources++] = enc->fb[0].handle;
+	context->resources[context->num_resources++] = context->ib_handle;
+
+	len = 0;
+	memcpy(context->ib_cpu, vce_session, sizeof(vce_session));
+	len += sizeof(vce_session) / 4;
+	memcpy((context->ib_cpu + len), vce_taskinfo, sizeof(vce_taskinfo));
+	len += sizeof(vce_taskinfo) / 4;
+	memcpy((context->ib_cpu + len), vce_create, sizeof(vce_create));
+	context->ib_cpu[len + 8] = ALIGN(enc->width, align);
+	context->ib_cpu[len + 9] = ALIGN(enc->width, align);
+	if (is_mv_supported == true) {/* disableTwoInstance */
+		if (context->family_id >= AMDGPU_FAMILY_AI)
+			context->ib_cpu[len + 11] = 0x01000001;
+		else
+			context->ib_cpu[len + 11] = 0x01000201;
+	}
+	len += sizeof(vce_create) / 4;
+	memcpy((context->ib_cpu + len), vce_feedback, sizeof(vce_feedback));
+	context->ib_cpu[len + 2] = enc->fb[0].addr >> 32;
+	context->ib_cpu[len + 3] = enc->fb[0].addr;
+	len += sizeof(vce_feedback) / 4;
+
+	r = submit(device_handle, context, len, AMDGPU_HW_IP_VCE);
+	igt_assert_eq(r, 0);
+
+	free_resource(&enc->fb[0]);
+}
+
+static void
+amdgpu_cs_vce_config(amdgpu_device_handle device_handle,
+		struct mmd_context *context, bool is_mv_supported)
+{
+	int len = 0, r;
+
+	memcpy((context->ib_cpu + len), vce_session, sizeof(vce_session));
+	len += sizeof(vce_session) / 4;
+	memcpy((context->ib_cpu + len), vce_taskinfo, sizeof(vce_taskinfo));
+	context->ib_cpu[len + 3] = 2;
+	context->ib_cpu[len + 6] = 0xffffffff;
+	len += sizeof(vce_taskinfo) / 4;
+	memcpy((context->ib_cpu + len), vce_rate_ctrl, sizeof(vce_rate_ctrl));
+	len += sizeof(vce_rate_ctrl) / 4;
+	memcpy((context->ib_cpu + len), vce_config_ext, sizeof(vce_config_ext));
+	len += sizeof(vce_config_ext) / 4;
+	memcpy((context->ib_cpu + len), vce_motion_est, sizeof(vce_motion_est));
+	len += sizeof(vce_motion_est) / 4;
+	memcpy((context->ib_cpu + len), vce_rdo, sizeof(vce_rdo));
+	len += sizeof(vce_rdo) / 4;
+	memcpy((context->ib_cpu + len), vce_pic_ctrl, sizeof(vce_pic_ctrl));
+	if (is_mv_supported == true)
+		context->ib_cpu[len + 27] = 0x00000001; /* encSliceMode */
+	len += sizeof(vce_pic_ctrl) / 4;
+
+	r = submit(device_handle, context, len, AMDGPU_HW_IP_VCE);
+	igt_assert_eq(r, 0);
+}
+
+static void amdgpu_cs_vce_encode_idr(amdgpu_device_handle device_handle,
+		struct mmd_context *context, struct amdgpu_vce_encode *enc)
+{
+
+	uint64_t luma_offset, chroma_offset;
+	unsigned int align = (context->family_id >= AMDGPU_FAMILY_AI) ? 256 : 16;
+	unsigned int luma_size = ALIGN(enc->width, align) * ALIGN(enc->height, 16);
+	int len = 0, i, r;
+
+	luma_offset = enc->vbuf.addr;
+	chroma_offset = luma_offset + luma_size;
+
+	memcpy((context->ib_cpu + len), vce_session, sizeof(vce_session));
+	len += sizeof(vce_session) / 4;
+	memcpy((context->ib_cpu + len), vce_taskinfo, sizeof(vce_taskinfo));
+	len += sizeof(vce_taskinfo) / 4;
+	memcpy((context->ib_cpu + len), vce_bs_buffer, sizeof(vce_bs_buffer));
+	context->ib_cpu[len + 2] = enc->bs[0].addr >> 32;
+	context->ib_cpu[len + 3] = enc->bs[0].addr;
+	len += sizeof(vce_bs_buffer) / 4;
+	memcpy((context->ib_cpu + len), vce_context_buffer, sizeof(vce_context_buffer));
+	context->ib_cpu[len + 2] = enc->cpb.addr >> 32;
+	context->ib_cpu[len + 3] = enc->cpb.addr;
+	len += sizeof(vce_context_buffer) / 4;
+	memcpy((context->ib_cpu + len), vce_aux_buffer, sizeof(vce_aux_buffer));
+	for (i = 0; i <  8; ++i)
+		context->ib_cpu[len + 2 + i] = luma_size * 1.5 * (i + 2);
+	for (i = 0; i <  8; ++i)
+		context->ib_cpu[len + 10 + i] = luma_size * 1.5;
+	len += sizeof(vce_aux_buffer) / 4;
+	memcpy((context->ib_cpu + len), vce_feedback, sizeof(vce_feedback));
+	context->ib_cpu[len + 2] = enc->fb[0].addr >> 32;
+	context->ib_cpu[len + 3] = enc->fb[0].addr;
+	len += sizeof(vce_feedback) / 4;
+	memcpy((context->ib_cpu + len), vce_encode, sizeof(vce_encode));
+	context->ib_cpu[len + 9] = luma_offset >> 32;
+	context->ib_cpu[len + 10] = luma_offset;
+	context->ib_cpu[len + 11] = chroma_offset >> 32;
+	context->ib_cpu[len + 12] = chroma_offset;
+	context->ib_cpu[len + 14] = ALIGN(enc->width, align);
+	context->ib_cpu[len + 15] = ALIGN(enc->width, align);
+	context->ib_cpu[len + 73] = luma_size * 1.5;
+	context->ib_cpu[len + 74] = luma_size * 2.5;
+	len += sizeof(vce_encode) / 4;
+	enc->ib_len = len;
+	if (!enc->two_instance) {
+		r = submit(device_handle, context, len, AMDGPU_HW_IP_VCE);
+		igt_assert_eq(r, 0);
+	}
+}
+
+static void amdgpu_cs_vce_encode_p(amdgpu_device_handle device_handle,
+		struct mmd_context *context, struct amdgpu_vce_encode *enc)
+{
+	uint64_t luma_offset, chroma_offset;
+	int len, i, r;
+	unsigned int align = (context->family_id >= AMDGPU_FAMILY_AI) ? 256 : 16;
+	unsigned int luma_size = ALIGN(enc->width, align) * ALIGN(enc->height, 16);
+
+	len = (enc->two_instance) ? enc->ib_len : 0;
+	luma_offset = enc->vbuf.addr;
+	chroma_offset = luma_offset + luma_size;
+
+	if (!enc->two_instance) {
+		memcpy((context->ib_cpu + len), vce_session, sizeof(vce_session));
+		len += sizeof(vce_session) / 4;
+	}
+	memcpy((context->ib_cpu + len), vce_taskinfo, sizeof(vce_taskinfo));
+	len += sizeof(vce_taskinfo) / 4;
+	memcpy((context->ib_cpu + len), vce_bs_buffer, sizeof(vce_bs_buffer));
+	context->ib_cpu[len + 2] = enc->bs[1].addr >> 32;
+	context->ib_cpu[len + 3] = enc->bs[1].addr;
+	len += sizeof(vce_bs_buffer) / 4;
+	memcpy((context->ib_cpu + len), vce_context_buffer, sizeof(vce_context_buffer));
+	context->ib_cpu[len + 2] = enc->cpb.addr >> 32;
+	context->ib_cpu[len + 3] = enc->cpb.addr;
+	len += sizeof(vce_context_buffer) / 4;
+	memcpy((context->ib_cpu + len), vce_aux_buffer, sizeof(vce_aux_buffer));
+	for (i = 0; i <  8; ++i)
+		context->ib_cpu[len + 2 + i] = luma_size * 1.5 * (i + 2);
+	for (i = 0; i <  8; ++i)
+		context->ib_cpu[len + 10 + i] = luma_size * 1.5;
+	len += sizeof(vce_aux_buffer) / 4;
+	memcpy((context->ib_cpu + len), vce_feedback, sizeof(vce_feedback));
+	context->ib_cpu[len + 2] = enc->fb[1].addr >> 32;
+	context->ib_cpu[len + 3] = enc->fb[1].addr;
+	len += sizeof(vce_feedback) / 4;
+	memcpy((context->ib_cpu + len), vce_encode, sizeof(vce_encode));
+	context->ib_cpu[len + 2] = 0;
+	context->ib_cpu[len + 9] = luma_offset >> 32;
+	context->ib_cpu[len + 10] = luma_offset;
+	context->ib_cpu[len + 11] = chroma_offset >> 32;
+	context->ib_cpu[len + 12] = chroma_offset;
+	context->ib_cpu[len + 14] = ALIGN(enc->width, align);
+	context->ib_cpu[len + 15] = ALIGN(enc->width, align);
+	context->ib_cpu[len + 18] = 0;
+	context->ib_cpu[len + 19] = 0;
+	context->ib_cpu[len + 56] = 3;
+	context->ib_cpu[len + 57] = 0;
+	context->ib_cpu[len + 58] = 0;
+	context->ib_cpu[len + 59] = luma_size * 1.5;
+	context->ib_cpu[len + 60] = luma_size * 2.5;
+	context->ib_cpu[len + 73] = 0;
+	context->ib_cpu[len + 74] = luma_size;
+	context->ib_cpu[len + 81] = 1;
+	context->ib_cpu[len + 82] = 1;
+	len += sizeof(vce_encode) / 4;
+
+	r = submit(device_handle, context, len, AMDGPU_HW_IP_VCE);
+	igt_assert_eq(r, 0);
+}
+
+static void check_result(struct amdgpu_vce_encode *enc)
+{
+	uint64_t sum;
+	uint32_t s[2] = {180325, 15946};
+	uint32_t *ptr, size;
+	int i, j, r;
+
+	for (i = 0; i < 2; ++i) {
+		r = amdgpu_bo_cpu_map(enc->fb[i].handle, (void **)&enc->fb[i].ptr);
+		igt_assert_eq(r, 0);
+		ptr = (uint32_t *)enc->fb[i].ptr;
+		size = ptr[4] - ptr[9];
+		r = amdgpu_bo_cpu_unmap(enc->fb[i].handle);
+		igt_assert_eq(r, 0);
+		r = amdgpu_bo_cpu_map(enc->bs[i].handle, (void **)&enc->bs[i].ptr);
+		igt_assert_eq(r, 0);
+		for (j = 0, sum = 0; j < size; ++j)
+			sum += enc->bs[i].ptr[j];
+		igt_assert_eq(sum, s[i]);
+		r = amdgpu_bo_cpu_unmap(enc->bs[i].handle);
+		igt_assert_eq(r, 0);
+	}
+}
+
+static void
+amdgpu_cs_vce_encode(amdgpu_device_handle device_handle, struct mmd_context *context,
+		struct amdgpu_vce_encode *enc, bool is_mv_supported)
+{
+	uint32_t vbuf_size, bs_size = 0x154000, cpb_size;
+	unsigned int align = (context->family_id >= AMDGPU_FAMILY_AI) ? 256 : 16;
+	int i, r;
+
+	vbuf_size = ALIGN(enc->width, align) * ALIGN(enc->height, 16) * 1.5;
+	cpb_size = vbuf_size * 10;
+	context->num_resources = 0;
+	alloc_resource(device_handle, &enc->fb[0], 4096, AMDGPU_GEM_DOMAIN_GTT);
+	context->resources[context->num_resources++] = enc->fb[0].handle;
+	alloc_resource(device_handle, &enc->fb[1], 4096, AMDGPU_GEM_DOMAIN_GTT);
+	context->resources[context->num_resources++] = enc->fb[1].handle;
+	alloc_resource(device_handle, &enc->bs[0], bs_size, AMDGPU_GEM_DOMAIN_GTT);
+	context->resources[context->num_resources++] = enc->bs[0].handle;
+	alloc_resource(device_handle, &enc->bs[1], bs_size, AMDGPU_GEM_DOMAIN_GTT);
+	context->resources[context->num_resources++] = enc->bs[1].handle;
+	alloc_resource(device_handle, &enc->vbuf, vbuf_size, AMDGPU_GEM_DOMAIN_VRAM);
+	context->resources[context->num_resources++] = enc->vbuf.handle;
+	alloc_resource(device_handle, &enc->cpb, cpb_size, AMDGPU_GEM_DOMAIN_VRAM);
+	context->resources[context->num_resources++] = enc->cpb.handle;
+	context->resources[context->num_resources++] = context->ib_handle;
+
+	r = amdgpu_bo_cpu_map(enc->vbuf.handle, (void **)&enc->vbuf.ptr);
+	igt_assert_eq(r, 0);
+
+	memset(enc->vbuf.ptr, 0, vbuf_size);
+	for (i = 0; i < enc->height; ++i) {
+		memcpy(enc->vbuf.ptr, (frame + i * enc->width), enc->width);
+		enc->vbuf.ptr += ALIGN(enc->width, align);
+	}
+	for (i = 0; i < enc->height / 2; ++i) {
+		memcpy(enc->vbuf.ptr, ((frame + enc->height * enc->width) +
+				i * enc->width), enc->width);
+		enc->vbuf.ptr += ALIGN(enc->width, align);
+	}
+
+	r = amdgpu_bo_cpu_unmap(enc->vbuf.handle);
+	igt_assert_eq(r, 0);
+
+	amdgpu_cs_vce_config(device_handle, context, is_mv_supported);
+
+	if (context->family_id >= AMDGPU_FAMILY_VI) {
+		vce_taskinfo[3] = 3;
+		amdgpu_cs_vce_encode_idr(device_handle, context, enc);
+		amdgpu_cs_vce_encode_p(device_handle, context, enc);
+		check_result(enc);
+
+		/* two pipes */
+		vce_encode[16] = 0;
+		amdgpu_cs_vce_encode_idr(device_handle, context, enc);
+		amdgpu_cs_vce_encode_p(device_handle, context, enc);
+		check_result(enc);
+
+		/* two instances */
+		if (context->vce_harvest_config == 0) {
+			enc->two_instance = true;
+			vce_taskinfo[2] = 0x83;
+			vce_taskinfo[4] = 1;
+			amdgpu_cs_vce_encode_idr(device_handle, context, enc);
+			vce_taskinfo[2] = 0xffffffff;
+			vce_taskinfo[4] = 2;
+			amdgpu_cs_vce_encode_p(device_handle, context, enc);
+			check_result(enc);
+		}
+	} else {
+		vce_taskinfo[3] = 3;
+		vce_encode[16] = 0;
+		amdgpu_cs_vce_encode_idr(device_handle, context, enc);
+		amdgpu_cs_vce_encode_p(device_handle, context, enc);
+		check_result(enc);
+	}
+
+	free_resource(&enc->fb[0]);
+	free_resource(&enc->fb[1]);
+	free_resource(&enc->bs[0]);
+	free_resource(&enc->bs[1]);
+	free_resource(&enc->vbuf);
+	free_resource(&enc->cpb);
+}
+
+static void amdgpu_cs_vce_mv(amdgpu_device_handle device_handle,
+		struct mmd_context *context, struct amdgpu_vce_encode *enc)
+{
+	uint64_t luma_offset, chroma_offset;
+	uint64_t mv_ref_luma_offset;
+	unsigned int align = (context->family_id >= AMDGPU_FAMILY_AI) ? 256 : 16;
+	unsigned int luma_size = ALIGN(enc->width, align) * ALIGN(enc->height, 16);
+	int len = 0, i, r;
+
+	luma_offset = enc->vbuf.addr;
+	chroma_offset = luma_offset + luma_size;
+	mv_ref_luma_offset = enc->mvrefbuf.addr;
+
+	memcpy((context->ib_cpu + len), vce_session, sizeof(vce_session));
+	len += sizeof(vce_session) / 4;
+	memcpy((context->ib_cpu + len), vce_taskinfo, sizeof(vce_taskinfo));
+	len += sizeof(vce_taskinfo) / 4;
+	memcpy((context->ib_cpu + len), vce_bs_buffer, sizeof(vce_bs_buffer));
+	context->ib_cpu[len + 2] = enc->bs[0].addr >> 32;
+	context->ib_cpu[len + 3] = enc->bs[0].addr;
+	len += sizeof(vce_bs_buffer) / 4;
+	memcpy((context->ib_cpu + len), vce_context_buffer, sizeof(vce_context_buffer));
+	context->ib_cpu[len + 2] = enc->cpb.addr >> 32;
+	context->ib_cpu[len + 3] = enc->cpb.addr;
+	len += sizeof(vce_context_buffer) / 4;
+	memcpy((context->ib_cpu + len), vce_aux_buffer, sizeof(vce_aux_buffer));
+	for (i = 0; i <  8; ++i)
+		context->ib_cpu[len + 2 + i] = luma_size * 1.5 * (i + 2);
+	for (i = 0; i <  8; ++i)
+		context->ib_cpu[len + 10 + i] = luma_size * 1.5;
+	len += sizeof(vce_aux_buffer) / 4;
+	memcpy((context->ib_cpu + len), vce_feedback, sizeof(vce_feedback));
+	context->ib_cpu[len + 2] = enc->fb[0].addr >> 32;
+	context->ib_cpu[len + 3] = enc->fb[0].addr;
+	len += sizeof(vce_feedback) / 4;
+	memcpy((context->ib_cpu + len), vce_mv_buffer, sizeof(vce_mv_buffer));
+	context->ib_cpu[len + 2] = mv_ref_luma_offset >> 32;
+	context->ib_cpu[len + 3] = mv_ref_luma_offset;
+	context->ib_cpu[len + 4] = ALIGN(enc->width, align);
+	context->ib_cpu[len + 5] = ALIGN(enc->width, align);
+	context->ib_cpu[len + 6] = luma_size;
+	context->ib_cpu[len + 7] = enc->mvb.addr >> 32;
+	context->ib_cpu[len + 8] = enc->mvb.addr;
+	len += sizeof(vce_mv_buffer) / 4;
+	memcpy((context->ib_cpu + len), vce_encode, sizeof(vce_encode));
+	context->ib_cpu[len + 2] = 0;
+	context->ib_cpu[len + 3] = 0;
+	context->ib_cpu[len + 4] = 0x154000;
+	context->ib_cpu[len + 9] = luma_offset >> 32;
+	context->ib_cpu[len + 10] = luma_offset;
+	context->ib_cpu[len + 11] = chroma_offset >> 32;
+	context->ib_cpu[len + 12] = chroma_offset;
+	context->ib_cpu[len + 13] = ALIGN(enc->height, 16);
+	context->ib_cpu[len + 14] = ALIGN(enc->width, align);
+	context->ib_cpu[len + 15] = ALIGN(enc->width, align);
+	/* encDisableMBOffloading-encDisableTwoPipeMode-encInputPicArrayMode-encInputPicAddrMode */
+	context->ib_cpu[len + 16] = 0x01010000;
+	context->ib_cpu[len + 18] = 0; /* encPicType */
+	context->ib_cpu[len + 19] = 0; /* encIdrFlag */
+	context->ib_cpu[len + 20] = 0; /* encIdrPicId */
+	context->ib_cpu[len + 21] = 0; /* encMGSKeyPic */
+	context->ib_cpu[len + 22] = 0; /* encReferenceFlag */
+	context->ib_cpu[len + 23] = 0; /* encTemporalLayerIndex */
+	context->ib_cpu[len + 55] = 0; /* pictureStructure */
+	context->ib_cpu[len + 56] = 0; /* encPicType -ref[0] */
+	context->ib_cpu[len + 61] = 0; /* pictureStructure */
+	context->ib_cpu[len + 62] = 0; /* encPicType -ref[1] */
+	context->ib_cpu[len + 67] = 0; /* pictureStructure */
+	context->ib_cpu[len + 68] = 0; /* encPicType -ref1 */
+	context->ib_cpu[len + 81] = 1; /* frameNumber */
+	context->ib_cpu[len + 82] = 2; /* pictureOrderCount */
+	context->ib_cpu[len + 83] = 0xffffffff; /* numIPicRemainInRCGOP */
+	context->ib_cpu[len + 84] = 0xffffffff; /* numPPicRemainInRCGOP */
+	context->ib_cpu[len + 85] = 0xffffffff; /* numBPicRemainInRCGOP */
+	context->ib_cpu[len + 86] = 0xffffffff; /* numIRPicRemainInRCGOP */
+	context->ib_cpu[len + 87] = 0; /* remainedIntraRefreshPictures */
+	len += sizeof(vce_encode) / 4;
+
+	enc->ib_len = len;
+	r = submit(device_handle, context, len, AMDGPU_HW_IP_VCE);
+	igt_assert_eq(r, 0);
+}
+
+static void check_mv_result(struct amdgpu_vce_encode *enc)
+{
+	uint64_t sum;
+	uint32_t s = 140790;
+	int j, r;
+
+	r = amdgpu_bo_cpu_map(enc->fb[0].handle, (void **)&enc->fb[0].ptr);
+	igt_assert_eq(r, 0);
+	r = amdgpu_bo_cpu_unmap(enc->fb[0].handle);
+	igt_assert_eq(r, 0);
+	r = amdgpu_bo_cpu_map(enc->mvb.handle, (void **)&enc->mvb.ptr);
+	igt_assert_eq(r, 0);
+	for (j = 0, sum = 0; j < enc->mvbuf_size; ++j)
+		sum += enc->mvb.ptr[j];
+	igt_assert_eq(sum, s);
+	r = amdgpu_bo_cpu_unmap(enc->mvb.handle);
+	igt_assert_eq(r, 0);
+}
+
+static void
+amdgpu_cs_vce_encode_mv(amdgpu_device_handle device_handle, struct mmd_context *context,
+		struct amdgpu_vce_encode *enc, bool is_mv_supported)
+{
+	uint32_t vbuf_size, bs_size = 0x154000, cpb_size;
+	unsigned int align = (context->family_id >= AMDGPU_FAMILY_AI) ? 256 : 16;
+	int i, r;
+
+	vbuf_size = ALIGN(enc->width, align) * ALIGN(enc->height, 16) * 1.5;
+	enc->mvbuf_size = ALIGN(enc->width, 16) * ALIGN(enc->height, 16) / 8;
+	cpb_size = vbuf_size * 10;
+	context->num_resources = 0;
+	alloc_resource(device_handle, &enc->fb[0], 4096, AMDGPU_GEM_DOMAIN_GTT);
+	context->resources[context->num_resources++] = enc->fb[0].handle;
+	alloc_resource(device_handle, &enc->bs[0], bs_size, AMDGPU_GEM_DOMAIN_GTT);
+	context->resources[context->num_resources++] = enc->bs[0].handle;
+	alloc_resource(device_handle, &enc->mvb, enc->mvbuf_size, AMDGPU_GEM_DOMAIN_GTT);
+	context->resources[context->num_resources++] = enc->mvb.handle;
+	alloc_resource(device_handle, &enc->vbuf, vbuf_size, AMDGPU_GEM_DOMAIN_VRAM);
+	context->resources[context->num_resources++] = enc->vbuf.handle;
+	alloc_resource(device_handle, &enc->mvrefbuf, vbuf_size, AMDGPU_GEM_DOMAIN_VRAM);
+	context->resources[context->num_resources++] = enc->mvrefbuf.handle;
+	alloc_resource(device_handle, &enc->cpb, cpb_size, AMDGPU_GEM_DOMAIN_VRAM);
+	context->resources[context->num_resources++] = enc->cpb.handle;
+	context->resources[context->num_resources++] = context->ib_handle;
+
+	r = amdgpu_bo_cpu_map(enc->vbuf.handle, (void **)&enc->vbuf.ptr);
+	igt_assert_eq(r, 0);
+
+	memset(enc->vbuf.ptr, 0, vbuf_size);
+	for (i = 0; i < enc->height; ++i) {
+		memcpy(enc->vbuf.ptr, (frame + i * enc->width), enc->width);
+		enc->vbuf.ptr += ALIGN(enc->width, align);
+	}
+	for (i = 0; i < enc->height / 2; ++i) {
+		memcpy(enc->vbuf.ptr, ((frame + enc->height * enc->width) + i * enc->width), enc->width);
+		enc->vbuf.ptr += ALIGN(enc->width, align);
+	}
+
+	r = amdgpu_bo_cpu_unmap(enc->vbuf.handle);
+	igt_assert_eq(r, 0);
+
+	r = amdgpu_bo_cpu_map(enc->mvrefbuf.handle, (void **)&enc->mvrefbuf.ptr);
+	igt_assert_eq(r, 0);
+
+	memset(enc->mvrefbuf.ptr, 0, vbuf_size);
+	for (i = 0; i < enc->height; ++i) {
+		memcpy(enc->mvrefbuf.ptr, (frame + (enc->height - i - 1) * enc->width), enc->width);
+		enc->mvrefbuf.ptr += ALIGN(enc->width, align);
+	}
+	for (i = 0; i < enc->height / 2; ++i) {
+		memcpy(enc->mvrefbuf.ptr,
+		((frame + enc->height * enc->width) + (enc->height / 2 - i - 1) * enc->width), enc->width);
+		enc->mvrefbuf.ptr += ALIGN(enc->width, align);
+	}
+
+	r = amdgpu_bo_cpu_unmap(enc->mvrefbuf.handle);
+	igt_assert_eq(r, 0);
+
+	amdgpu_cs_vce_config(device_handle, context, is_mv_supported);
+
+	vce_taskinfo[3] = 3;
+	amdgpu_cs_vce_mv(device_handle, context, enc);
+	check_mv_result(enc);
+
+	free_resource(&enc->fb[0]);
+	free_resource(&enc->bs[0]);
+	free_resource(&enc->vbuf);
+	free_resource(&enc->cpb);
+	free_resource(&enc->mvrefbuf);
+	free_resource(&enc->mvb);
+}
+
+static void
+amdgpu_cs_vce_destroy(amdgpu_device_handle device_handle, struct mmd_context *context,
+		struct amdgpu_vce_encode *enc)
+{
+	int len, r;
+
+	context->num_resources  = 0;
+	alloc_resource(device_handle, &enc->fb[0], 4096, AMDGPU_GEM_DOMAIN_GTT);
+	context->resources[context->num_resources++] = enc->fb[0].handle;
+	context->resources[context->num_resources++] = context->ib_handle;
+
+	len = 0;
+	memcpy(context->ib_cpu, vce_session, sizeof(vce_session));
+	len += sizeof(vce_session) / 4;
+	memcpy((context->ib_cpu + len), vce_taskinfo, sizeof(vce_taskinfo));
+	context->ib_cpu[len + 3] = 1;
+	len += sizeof(vce_taskinfo) / 4;
+	memcpy((context->ib_cpu + len), vce_feedback, sizeof(vce_feedback));
+	context->ib_cpu[len + 2] = enc->fb[0].addr >> 32;
+	context->ib_cpu[len + 3] = enc->fb[0].addr;
+	len += sizeof(vce_feedback) / 4;
+	memcpy((context->ib_cpu + len), vce_destroy, sizeof(vce_destroy));
+	len += sizeof(vce_destroy) / 4;
+
+	r = submit(device_handle, context, len, AMDGPU_HW_IP_VCE);
+	igt_assert_eq(r, 0);
+
+	free_resource(&enc->fb[0]);
+}
+
+igt_main
+{
+	amdgpu_device_handle device;
+	struct mmd_context context = {};
+	struct amdgpu_vce_encode enc = {};
+	int fd = -1;
+	bool is_mv_supported = false;
+
+	igt_fixture {
+		uint32_t major, minor;
+		int err;
+
+		fd = drm_open_driver(DRIVER_AMDGPU);
+		err = amdgpu_device_initialize(fd, &major, &minor, &device);
+		igt_require(err == 0);
+		igt_info("Initialized amdgpu, driver version %d.%d\n",
+			 major, minor);
+		err = mmd_context_init(device, &context);
+		igt_require(err == 0);
+		igt_skip_on(!is_vce_tests_enable(device, context.family_id, context.chip_id,
+				context.chip_rev, &is_mv_supported));
+	}
+	igt_describe("Test whether vce enc is created");
+	igt_subtest("amdgpu_cs_vce_create")
+	amdgpu_cs_vce_create(device, &enc, &context, is_mv_supported);
+
+	igt_describe("Test whether vce enc encodes");
+	igt_subtest("amdgpu_cs_vce_encode")
+	amdgpu_cs_vce_encode(device, &context, &enc,  is_mv_supported);
+
+	if (is_mv_supported) {
+		igt_describe("Test whether vce enc encodes mv");
+		igt_subtest("amdgpu_cs_vce_encode_mv")
+		amdgpu_cs_vce_encode_mv(device, &context, &enc, is_mv_supported);
+	}
+
+	igt_describe("Test whether vce enc is destroyed");
+	igt_subtest("amdgpu_cs_vce_destroy")
+	amdgpu_cs_vce_destroy(device, &context, &enc);
+
+
+	igt_fixture {
+		mmd_context_clean(device, &context);
+		amdgpu_device_deinitialize(device);
+		drm_close_driver(fd);
+	}
+
+}
diff --git a/tests/amdgpu/meson.build b/tests/amdgpu/meson.build
index 576333aab..e6e6eaabf 100644
--- a/tests/amdgpu/meson.build
+++ b/tests/amdgpu/meson.build
@@ -26,6 +26,7 @@ if libdrm_amdgpu.found()
 			  'amd_psr',
 			  'amd_uvd_dec',
 			  'amd_uvd_enc',
+			  'amd_vce_dec',
 			  'amd_vrr_range',
 			]
 	amdgpu_deps += libdrm_amdgpu
-- 
2.25.1

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [igt-dev] ✓ Fi.CI.BAT: success for tests/amdgpu: add vce decoder test (rev2)
  2023-07-06  9:55 [igt-dev] [PATCH i-g-t] tests/amdgpu: add vce decoder test vitaly.prosyak
@ 2023-07-06 11:20 ` Patchwork
  2023-07-06 12:08 ` [igt-dev] ○ CI.xeBAT: info " Patchwork
  2023-07-06 15:00 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
  2 siblings, 0 replies; 5+ messages in thread
From: Patchwork @ 2023-07-06 11:20 UTC (permalink / raw)
  To: vitaly.prosyak; +Cc: igt-dev

[-- Attachment #1: Type: text/plain, Size: 4985 bytes --]

== Series Details ==

Series: tests/amdgpu: add vce decoder test (rev2)
URL   : https://patchwork.freedesktop.org/series/120258/
State : success

== Summary ==

CI Bug Log - changes from IGT_7374 -> IGTPW_9353
====================================================

Summary
-------

  **SUCCESS**

  No regressions found.

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

Participating hosts (40 -> 39)
------------------------------

  Missing    (1): fi-snb-2520m 

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

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

### IGT changes ###

#### Issues hit ####

  * igt@gem_exec_suspend@basic-s0@smem:
    - bat-jsl-3:          [PASS][1] -> [ABORT][2] ([i915#5122])
   [1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7374/bat-jsl-3/igt@gem_exec_suspend@basic-s0@smem.html
   [2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/bat-jsl-3/igt@gem_exec_suspend@basic-s0@smem.html

  * igt@i915_module_load@load:
    - bat-adlp-11:        [PASS][3] -> [ABORT][4] ([i915#4423])
   [3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7374/bat-adlp-11/igt@i915_module_load@load.html
   [4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/bat-adlp-11/igt@i915_module_load@load.html

  * igt@i915_selftest@live@hangcheck:
    - bat-rpls-1:         NOTRUN -> [ABORT][5] ([i915#7677])
   [5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/bat-rpls-1/igt@i915_selftest@live@hangcheck.html

  * igt@i915_selftest@live@requests:
    - bat-rpls-2:         [PASS][6] -> [ABORT][7] ([i915#4983] / [i915#7913])
   [6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7374/bat-rpls-2/igt@i915_selftest@live@requests.html
   [7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/bat-rpls-2/igt@i915_selftest@live@requests.html

  * igt@i915_selftest@live@slpc:
    - bat-mtlp-6:         [PASS][8] -> [DMESG-WARN][9] ([i915#6367])
   [8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7374/bat-mtlp-6/igt@i915_selftest@live@slpc.html
   [9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/bat-mtlp-6/igt@i915_selftest@live@slpc.html

  * igt@i915_suspend@basic-s3-without-i915:
    - bat-jsl-3:          [PASS][10] -> [FAIL][11] ([fdo#103375])
   [10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7374/bat-jsl-3/igt@i915_suspend@basic-s3-without-i915.html
   [11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/bat-jsl-3/igt@i915_suspend@basic-s3-without-i915.html

  * igt@kms_pipe_crc_basic@read-crc-frame-sequence@pipe-d-edp-1:
    - bat-rplp-1:         [PASS][12] -> [ABORT][13] ([i915#8442] / [i915#8668])
   [12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7374/bat-rplp-1/igt@kms_pipe_crc_basic@read-crc-frame-sequence@pipe-d-edp-1.html
   [13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/bat-rplp-1/igt@kms_pipe_crc_basic@read-crc-frame-sequence@pipe-d-edp-1.html

  
#### Possible fixes ####

  * igt@gem_exec_suspend@basic-s3@smem:
    - fi-rkl-11600:       [FAIL][14] ([fdo#103375]) -> [PASS][15]
   [14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7374/fi-rkl-11600/igt@gem_exec_suspend@basic-s3@smem.html
   [15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/fi-rkl-11600/igt@gem_exec_suspend@basic-s3@smem.html

  * igt@i915_selftest@live@reset:
    - bat-rpls-1:         [ABORT][16] ([i915#4983] / [i915#7461] / [i915#7981] / [i915#8347] / [i915#8384]) -> [PASS][17]
   [16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7374/bat-rpls-1/igt@i915_selftest@live@reset.html
   [17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/bat-rpls-1/igt@i915_selftest@live@reset.html

  
  [fdo#103375]: https://bugs.freedesktop.org/show_bug.cgi?id=103375
  [i915#4423]: https://gitlab.freedesktop.org/drm/intel/issues/4423
  [i915#4983]: https://gitlab.freedesktop.org/drm/intel/issues/4983
  [i915#5122]: https://gitlab.freedesktop.org/drm/intel/issues/5122
  [i915#6367]: https://gitlab.freedesktop.org/drm/intel/issues/6367
  [i915#7461]: https://gitlab.freedesktop.org/drm/intel/issues/7461
  [i915#7677]: https://gitlab.freedesktop.org/drm/intel/issues/7677
  [i915#7913]: https://gitlab.freedesktop.org/drm/intel/issues/7913
  [i915#7981]: https://gitlab.freedesktop.org/drm/intel/issues/7981
  [i915#8347]: https://gitlab.freedesktop.org/drm/intel/issues/8347
  [i915#8384]: https://gitlab.freedesktop.org/drm/intel/issues/8384
  [i915#8442]: https://gitlab.freedesktop.org/drm/intel/issues/8442
  [i915#8668]: https://gitlab.freedesktop.org/drm/intel/issues/8668


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

  * CI: CI-20190529 -> None
  * IGT: IGT_7374 -> IGTPW_9353

  CI-20190529: 20190529
  CI_DRM_13348: 23b57f4b8f17bc34c0c9b0420409fe2539f0ac01 @ git://anongit.freedesktop.org/gfx-ci/linux
  IGTPW_9353: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/index.html
  IGT_7374: 470370c8c25d419eafa627e54edcf0af3b116d92 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git

== Logs ==

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

[-- Attachment #2: Type: text/html, Size: 5917 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [igt-dev] ○ CI.xeBAT: info for tests/amdgpu: add vce decoder test (rev2)
  2023-07-06  9:55 [igt-dev] [PATCH i-g-t] tests/amdgpu: add vce decoder test vitaly.prosyak
  2023-07-06 11:20 ` [igt-dev] ✓ Fi.CI.BAT: success for tests/amdgpu: add vce decoder test (rev2) Patchwork
@ 2023-07-06 12:08 ` Patchwork
  2023-07-06 15:00 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
  2 siblings, 0 replies; 5+ messages in thread
From: Patchwork @ 2023-07-06 12:08 UTC (permalink / raw)
  To: vitaly.prosyak; +Cc: igt-dev

[-- Attachment #1: Type: text/plain, Size: 347 bytes --]

== Series Details ==

Series: tests/amdgpu: add vce decoder test (rev2)
URL   : https://patchwork.freedesktop.org/series/120258/
State : info

== Summary ==

Participating hosts:
"bat-pvc-2n""bat-atsm-2n""bat-dg2-oem2n""bat-adlp-7n"Missing hosts results[0]:
Results: [IGTPW_9353](https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_9353/index.html)



[-- Attachment #2: Type: text/html, Size: 839 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [igt-dev] ✗ Fi.CI.IGT: failure for tests/amdgpu: add vce decoder test (rev2)
  2023-07-06  9:55 [igt-dev] [PATCH i-g-t] tests/amdgpu: add vce decoder test vitaly.prosyak
  2023-07-06 11:20 ` [igt-dev] ✓ Fi.CI.BAT: success for tests/amdgpu: add vce decoder test (rev2) Patchwork
  2023-07-06 12:08 ` [igt-dev] ○ CI.xeBAT: info " Patchwork
@ 2023-07-06 15:00 ` Patchwork
  2 siblings, 0 replies; 5+ messages in thread
From: Patchwork @ 2023-07-06 15:00 UTC (permalink / raw)
  To: vitaly.prosyak; +Cc: igt-dev

[-- Attachment #1: Type: text/plain, Size: 61705 bytes --]

== Series Details ==

Series: tests/amdgpu: add vce decoder test (rev2)
URL   : https://patchwork.freedesktop.org/series/120258/
State : failure

== Summary ==

CI Bug Log - changes from IGT_7374_full -> IGTPW_9353_full
====================================================

Summary
-------

  **FAILURE**

  Serious unknown changes coming with IGTPW_9353_full absolutely need to be
  verified manually.
  
  If you think the reported changes have nothing to do with the changes
  introduced in IGTPW_9353_full, please notify your bug team to allow them
  to document this new failure mode, which will reduce false positives in CI.

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

Participating hosts (10 -> 9)
------------------------------

  Missing    (1): shard-rkl0 

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

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

### IGT changes ###

#### Possible regressions ####

  * igt@gem_exec_capture@pi@vecs0:
    - shard-mtlp:         [PASS][1] -> [DMESG-WARN][2]
   [1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7374/shard-mtlp-7/igt@gem_exec_capture@pi@vecs0.html
   [2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-mtlp-8/igt@gem_exec_capture@pi@vecs0.html

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

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

### IGT changes ###

#### Issues hit ####

  * igt@device_reset@unbind-cold-reset-rebind:
    - shard-mtlp:         NOTRUN -> [SKIP][3] ([i915#7701])
   [3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-mtlp-1/igt@device_reset@unbind-cold-reset-rebind.html
    - shard-dg2:          NOTRUN -> [SKIP][4] ([i915#7701])
   [4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-dg2-5/igt@device_reset@unbind-cold-reset-rebind.html

  * igt@feature_discovery@chamelium:
    - shard-dg2:          NOTRUN -> [SKIP][5] ([i915#4854])
   [5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-dg2-2/igt@feature_discovery@chamelium.html
    - shard-rkl:          NOTRUN -> [SKIP][6] ([fdo#111827])
   [6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-rkl-2/igt@feature_discovery@chamelium.html
    - shard-mtlp:         NOTRUN -> [SKIP][7] ([i915#4854])
   [7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-mtlp-3/igt@feature_discovery@chamelium.html

  * igt@gem_barrier_race@remote-request@rcs0:
    - shard-apl:          [PASS][8] -> [ABORT][9] ([i915#7461] / [i915#8190])
   [8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7374/shard-apl1/igt@gem_barrier_race@remote-request@rcs0.html
   [9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-apl1/igt@gem_barrier_race@remote-request@rcs0.html

  * igt@gem_ccs@ctrl-surf-copy-new-ctx:
    - shard-mtlp:         NOTRUN -> [SKIP][10] ([i915#3555]) +1 similar issue
   [10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-mtlp-1/igt@gem_ccs@ctrl-surf-copy-new-ctx.html

  * igt@gem_ccs@suspend-resume:
    - shard-tglu:         NOTRUN -> [SKIP][11] ([i915#3555] / [i915#5325])
   [11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-tglu-10/igt@gem_ccs@suspend-resume.html

  * igt@gem_create@create-ext-cpu-access-sanity-check:
    - shard-rkl:          NOTRUN -> [SKIP][12] ([i915#6335])
   [12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-rkl-6/igt@gem_create@create-ext-cpu-access-sanity-check.html

  * igt@gem_ctx_exec@basic-nohangcheck:
    - shard-mtlp:         [PASS][13] -> [FAIL][14] ([i915#6121] / [i915#7916])
   [13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7374/shard-mtlp-2/igt@gem_ctx_exec@basic-nohangcheck.html
   [14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-mtlp-3/igt@gem_ctx_exec@basic-nohangcheck.html

  * igt@gem_ctx_isolation@preservation-s3@ccs2:
    - shard-dg2:          [PASS][15] -> [FAIL][16] ([fdo#103375] / [i915#6121]) +11 similar issues
   [15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7374/shard-dg2-3/igt@gem_ctx_isolation@preservation-s3@ccs2.html
   [16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-dg2-3/igt@gem_ctx_isolation@preservation-s3@ccs2.html

  * igt@gem_ctx_persistence@heartbeat-close:
    - shard-dg2:          NOTRUN -> [SKIP][17] ([i915#8555])
   [17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-dg2-6/igt@gem_ctx_persistence@heartbeat-close.html

  * igt@gem_ctx_persistence@heartbeat-hostile:
    - shard-mtlp:         NOTRUN -> [SKIP][18] ([i915#8555])
   [18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-mtlp-2/igt@gem_ctx_persistence@heartbeat-hostile.html

  * igt@gem_eio@hibernate:
    - shard-dg2:          [PASS][19] -> [ABORT][20] ([i915#7975] / [i915#8213])
   [19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7374/shard-dg2-11/igt@gem_eio@hibernate.html
   [20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-dg2-6/igt@gem_eio@hibernate.html
    - shard-rkl:          NOTRUN -> [ABORT][21] ([i915#7975] / [i915#8213])
   [21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-rkl-7/igt@gem_eio@hibernate.html

  * igt@gem_exec_capture@capture-recoverable:
    - shard-rkl:          NOTRUN -> [SKIP][22] ([i915#6344])
   [22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-rkl-7/igt@gem_exec_capture@capture-recoverable.html

  * igt@gem_exec_capture@pi@vcs1:
    - shard-mtlp:         [PASS][23] -> [FAIL][24] ([i915#4475] / [i915#7765])
   [23]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7374/shard-mtlp-7/igt@gem_exec_capture@pi@vcs1.html
   [24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-mtlp-8/igt@gem_exec_capture@pi@vcs1.html

  * igt@gem_exec_fair@basic-pace-solo@rcs0:
    - shard-rkl:          [PASS][25] -> [FAIL][26] ([i915#2842])
   [25]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7374/shard-rkl-1/igt@gem_exec_fair@basic-pace-solo@rcs0.html
   [26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-rkl-4/igt@gem_exec_fair@basic-pace-solo@rcs0.html

  * igt@gem_exec_params@secure-non-master:
    - shard-tglu:         NOTRUN -> [SKIP][27] ([fdo#112283])
   [27]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-tglu-6/igt@gem_exec_params@secure-non-master.html

  * igt@gem_exec_reloc@basic-gtt-noreloc:
    - shard-mtlp:         NOTRUN -> [SKIP][28] ([i915#3281]) +4 similar issues
   [28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-mtlp-7/igt@gem_exec_reloc@basic-gtt-noreloc.html

  * igt@gem_exec_reloc@basic-gtt-wc-active:
    - shard-rkl:          NOTRUN -> [SKIP][29] ([i915#3281]) +3 similar issues
   [29]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-rkl-7/igt@gem_exec_reloc@basic-gtt-wc-active.html

  * igt@gem_exec_reloc@basic-gtt-wc-noreloc:
    - shard-dg2:          NOTRUN -> [SKIP][30] ([i915#3281])
   [30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-dg2-1/igt@gem_exec_reloc@basic-gtt-wc-noreloc.html

  * igt@gem_exec_schedule@deep@vcs0:
    - shard-mtlp:         [PASS][31] -> [FAIL][32] ([i915#8545])
   [31]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7374/shard-mtlp-8/igt@gem_exec_schedule@deep@vcs0.html
   [32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-mtlp-6/igt@gem_exec_schedule@deep@vcs0.html

  * igt@gem_exec_schedule@reorder-wide:
    - shard-dg2:          NOTRUN -> [SKIP][33] ([i915#4537] / [i915#4812])
   [33]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-dg2-5/igt@gem_exec_schedule@reorder-wide.html

  * igt@gem_exec_whisper@basic-contexts-priority-all:
    - shard-mtlp:         [PASS][34] -> [TIMEOUT][35] ([i915#7392])
   [34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7374/shard-mtlp-7/igt@gem_exec_whisper@basic-contexts-priority-all.html
   [35]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-mtlp-8/igt@gem_exec_whisper@basic-contexts-priority-all.html

  * igt@gem_exec_whisper@basic-fds-all:
    - shard-mtlp:         [PASS][36] -> [FAIL][37] ([i915#6363]) +1 similar issue
   [36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7374/shard-mtlp-6/igt@gem_exec_whisper@basic-fds-all.html
   [37]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-mtlp-4/igt@gem_exec_whisper@basic-fds-all.html

  * igt@gem_fenced_exec_thrash@too-many-fences:
    - shard-mtlp:         NOTRUN -> [SKIP][38] ([i915#4860])
   [38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-mtlp-2/igt@gem_fenced_exec_thrash@too-many-fences.html

  * igt@gem_gpgpu_fill@basic@smem:
    - shard-mtlp:         NOTRUN -> [FAIL][39] ([i915#5464])
   [39]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-mtlp-7/igt@gem_gpgpu_fill@basic@smem.html

  * igt@gem_lmem_swapping@heavy-verify-multi:
    - shard-rkl:          NOTRUN -> [SKIP][40] ([i915#4613])
   [40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-rkl-4/igt@gem_lmem_swapping@heavy-verify-multi.html

  * igt@gem_media_fill@media-fill:
    - shard-mtlp:         NOTRUN -> [SKIP][41] ([i915#8289])
   [41]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-mtlp-3/igt@gem_media_fill@media-fill.html
    - shard-dg2:          NOTRUN -> [SKIP][42] ([i915#8289])
   [42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-dg2-2/igt@gem_media_fill@media-fill.html

  * igt@gem_media_vme:
    - shard-mtlp:         NOTRUN -> [SKIP][43] ([i915#284])
   [43]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-mtlp-3/igt@gem_media_vme.html

  * igt@gem_mmap@short-mmap:
    - shard-dg2:          NOTRUN -> [SKIP][44] ([i915#4083])
   [44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-dg2-5/igt@gem_mmap@short-mmap.html

  * igt@gem_mmap_gtt@zero-extend:
    - shard-dg2:          NOTRUN -> [SKIP][45] ([i915#4077]) +3 similar issues
   [45]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-dg2-2/igt@gem_mmap_gtt@zero-extend.html
    - shard-mtlp:         NOTRUN -> [SKIP][46] ([i915#4077]) +3 similar issues
   [46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-mtlp-3/igt@gem_mmap_gtt@zero-extend.html

  * igt@gem_partial_pwrite_pread@write-display:
    - shard-dg2:          NOTRUN -> [SKIP][47] ([i915#3282])
   [47]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-dg2-12/igt@gem_partial_pwrite_pread@write-display.html

  * igt@gem_partial_pwrite_pread@writes-after-reads-snoop:
    - shard-mtlp:         NOTRUN -> [SKIP][48] ([i915#3282]) +2 similar issues
   [48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-mtlp-1/igt@gem_partial_pwrite_pread@writes-after-reads-snoop.html

  * igt@gem_pread@snoop:
    - shard-rkl:          NOTRUN -> [SKIP][49] ([i915#3282]) +1 similar issue
   [49]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-rkl-1/igt@gem_pread@snoop.html

  * igt@gem_pxp@display-protected-crc:
    - shard-dg2:          NOTRUN -> [SKIP][50] ([i915#4270])
   [50]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-dg2-12/igt@gem_pxp@display-protected-crc.html

  * igt@gem_pxp@protected-encrypted-src-copy-not-readible:
    - shard-tglu:         NOTRUN -> [SKIP][51] ([i915#4270])
   [51]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-tglu-10/igt@gem_pxp@protected-encrypted-src-copy-not-readible.html

  * igt@gem_render_copy@y-tiled-to-vebox-linear:
    - shard-mtlp:         NOTRUN -> [SKIP][52] ([i915#8428]) +3 similar issues
   [52]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-mtlp-7/igt@gem_render_copy@y-tiled-to-vebox-linear.html

  * igt@gem_render_copy@y-tiled-to-vebox-y-tiled:
    - shard-dg2:          NOTRUN -> [SKIP][53] ([i915#5190]) +2 similar issues
   [53]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-dg2-11/igt@gem_render_copy@y-tiled-to-vebox-y-tiled.html

  * igt@gem_softpin@evict-snoop-interruptible:
    - shard-tglu:         NOTRUN -> [SKIP][54] ([fdo#109312])
   [54]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-tglu-10/igt@gem_softpin@evict-snoop-interruptible.html

  * igt@gem_userptr_blits@access-control:
    - shard-mtlp:         NOTRUN -> [SKIP][55] ([i915#3297])
   [55]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-mtlp-6/igt@gem_userptr_blits@access-control.html
    - shard-rkl:          NOTRUN -> [SKIP][56] ([i915#3297])
   [56]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-rkl-7/igt@gem_userptr_blits@access-control.html

  * igt@gem_userptr_blits@unsync-unmap-cycles:
    - shard-dg2:          NOTRUN -> [SKIP][57] ([i915#3297]) +1 similar issue
   [57]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-dg2-2/igt@gem_userptr_blits@unsync-unmap-cycles.html

  * igt@gen7_exec_parse@chained-batch:
    - shard-dg2:          NOTRUN -> [SKIP][58] ([fdo#109289]) +1 similar issue
   [58]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-dg2-1/igt@gen7_exec_parse@chained-batch.html

  * igt@gen9_exec_parse@basic-rejected-ctx-param:
    - shard-mtlp:         NOTRUN -> [SKIP][59] ([i915#2856]) +1 similar issue
   [59]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-mtlp-3/igt@gen9_exec_parse@basic-rejected-ctx-param.html
    - shard-dg2:          NOTRUN -> [SKIP][60] ([i915#2856])
   [60]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-dg2-11/igt@gen9_exec_parse@basic-rejected-ctx-param.html

  * igt@gen9_exec_parse@cmd-crossing-page:
    - shard-rkl:          NOTRUN -> [SKIP][61] ([i915#2527]) +1 similar issue
   [61]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-rkl-4/igt@gen9_exec_parse@cmd-crossing-page.html

  * igt@i915_hangman@gt-engine-error@vcs0:
    - shard-mtlp:         [PASS][62] -> [FAIL][63] ([i915#7069])
   [62]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7374/shard-mtlp-7/igt@i915_hangman@gt-engine-error@vcs0.html
   [63]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-mtlp-5/igt@i915_hangman@gt-engine-error@vcs0.html

  * igt@i915_module_load@reload-with-fault-injection:
    - shard-mtlp:         [PASS][64] -> [ABORT][65] ([i915#8489] / [i915#8668])
   [64]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7374/shard-mtlp-7/igt@i915_module_load@reload-with-fault-injection.html
   [65]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-mtlp-1/igt@i915_module_load@reload-with-fault-injection.html

  * igt@i915_pm_dc@dc5-psr:
    - shard-rkl:          NOTRUN -> [SKIP][66] ([i915#658]) +1 similar issue
   [66]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-rkl-7/igt@i915_pm_dc@dc5-psr.html

  * igt@i915_pm_dc@dc6-dpms:
    - shard-mtlp:         NOTRUN -> [SKIP][67] ([i915#3361])
   [67]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-mtlp-4/igt@i915_pm_dc@dc6-dpms.html

  * igt@i915_pm_lpsp@screens-disabled:
    - shard-dg2:          NOTRUN -> [SKIP][68] ([i915#1902])
   [68]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-dg2-11/igt@i915_pm_lpsp@screens-disabled.html

  * igt@i915_pm_rpm@gem-execbuf-stress-pc8:
    - shard-dg2:          NOTRUN -> [SKIP][69] ([fdo#109506])
   [69]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-dg2-12/igt@i915_pm_rpm@gem-execbuf-stress-pc8.html

  * igt@i915_pm_rpm@modeset-lpsp-stress-no-wait:
    - shard-rkl:          [PASS][70] -> [SKIP][71] ([i915#1397]) +1 similar issue
   [70]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7374/shard-rkl-7/igt@i915_pm_rpm@modeset-lpsp-stress-no-wait.html
   [71]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-rkl-4/igt@i915_pm_rpm@modeset-lpsp-stress-no-wait.html

  * igt@i915_pm_rpm@modeset-non-lpsp:
    - shard-dg2:          [PASS][72] -> [SKIP][73] ([i915#1397]) +1 similar issue
   [72]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7374/shard-dg2-3/igt@i915_pm_rpm@modeset-non-lpsp.html
   [73]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-dg2-12/igt@i915_pm_rpm@modeset-non-lpsp.html

  * igt@i915_selftest@live@gt_mocs:
    - shard-mtlp:         [PASS][74] -> [DMESG-FAIL][75] ([i915#7059])
   [74]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7374/shard-mtlp-2/igt@i915_selftest@live@gt_mocs.html
   [75]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-mtlp-4/igt@i915_selftest@live@gt_mocs.html

  * igt@i915_selftest@live@slpc:
    - shard-mtlp:         [PASS][76] -> [DMESG-WARN][77] ([i915#6367])
   [76]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7374/shard-mtlp-2/igt@i915_selftest@live@slpc.html
   [77]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-mtlp-4/igt@i915_selftest@live@slpc.html

  * igt@kms_async_flips@async-flip-with-page-flip-events@pipe-a-hdmi-a-2-y-rc_ccs:
    - shard-rkl:          NOTRUN -> [SKIP][78] ([i915#8502]) +3 similar issues
   [78]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-rkl-2/igt@kms_async_flips@async-flip-with-page-flip-events@pipe-a-hdmi-a-2-y-rc_ccs.html

  * igt@kms_async_flips@crc@pipe-a-hdmi-a-2:
    - shard-dg2:          NOTRUN -> [FAIL][79] ([i915#8247]) +3 similar issues
   [79]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-dg2-2/igt@kms_async_flips@crc@pipe-a-hdmi-a-2.html
    - shard-rkl:          NOTRUN -> [FAIL][80] ([i915#8247]) +1 similar issue
   [80]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-rkl-2/igt@kms_async_flips@crc@pipe-a-hdmi-a-2.html

  * igt@kms_async_flips@crc@pipe-b-hdmi-a-1:
    - shard-snb:          NOTRUN -> [FAIL][81] ([i915#8247]) +1 similar issue
   [81]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-snb1/igt@kms_async_flips@crc@pipe-b-hdmi-a-1.html

  * igt@kms_async_flips@crc@pipe-d-edp-1:
    - shard-mtlp:         NOTRUN -> [FAIL][82] ([i915#8247]) +3 similar issues
   [82]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-mtlp-3/igt@kms_async_flips@crc@pipe-d-edp-1.html

  * igt@kms_big_fb@4-tiled-16bpp-rotate-90:
    - shard-rkl:          NOTRUN -> [SKIP][83] ([i915#5286]) +1 similar issue
   [83]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-rkl-7/igt@kms_big_fb@4-tiled-16bpp-rotate-90.html

  * igt@kms_big_fb@4-tiled-max-hw-stride-64bpp-rotate-180-async-flip:
    - shard-mtlp:         [PASS][84] -> [FAIL][85] ([i915#3743])
   [84]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7374/shard-mtlp-6/igt@kms_big_fb@4-tiled-max-hw-stride-64bpp-rotate-180-async-flip.html
   [85]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-mtlp-8/igt@kms_big_fb@4-tiled-max-hw-stride-64bpp-rotate-180-async-flip.html

  * igt@kms_big_fb@linear-16bpp-rotate-270:
    - shard-mtlp:         NOTRUN -> [SKIP][86] ([fdo#111614]) +1 similar issue
   [86]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-mtlp-6/igt@kms_big_fb@linear-16bpp-rotate-270.html

  * igt@kms_big_fb@x-tiled-16bpp-rotate-270:
    - shard-dg2:          NOTRUN -> [SKIP][87] ([fdo#111614]) +1 similar issue
   [87]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-dg2-2/igt@kms_big_fb@x-tiled-16bpp-rotate-270.html

  * igt@kms_big_fb@x-tiled-32bpp-rotate-270:
    - shard-rkl:          NOTRUN -> [SKIP][88] ([fdo#111614] / [i915#3638]) +2 similar issues
   [88]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-rkl-4/igt@kms_big_fb@x-tiled-32bpp-rotate-270.html

  * igt@kms_big_fb@y-tiled-max-hw-stride-32bpp-rotate-0-async-flip:
    - shard-tglu:         [PASS][89] -> [FAIL][90] ([i915#3743])
   [89]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7374/shard-tglu-10/igt@kms_big_fb@y-tiled-max-hw-stride-32bpp-rotate-0-async-flip.html
   [90]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-tglu-2/igt@kms_big_fb@y-tiled-max-hw-stride-32bpp-rotate-0-async-flip.html

  * igt@kms_big_fb@yf-tiled-16bpp-rotate-90:
    - shard-dg2:          NOTRUN -> [SKIP][91] ([i915#4538] / [i915#5190]) +1 similar issue
   [91]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-dg2-1/igt@kms_big_fb@yf-tiled-16bpp-rotate-90.html

  * igt@kms_big_fb@yf-tiled-max-hw-stride-32bpp-rotate-180:
    - shard-mtlp:         NOTRUN -> [SKIP][92] ([fdo#111615])
   [92]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-mtlp-3/igt@kms_big_fb@yf-tiled-max-hw-stride-32bpp-rotate-180.html

  * igt@kms_big_fb@yf-tiled-max-hw-stride-64bpp-rotate-0-async-flip:
    - shard-rkl:          NOTRUN -> [SKIP][93] ([fdo#110723]) +1 similar issue
   [93]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-rkl-4/igt@kms_big_fb@yf-tiled-max-hw-stride-64bpp-rotate-0-async-flip.html

  * igt@kms_ccs@pipe-a-ccs-on-another-bo-y_tiled_gen12_mc_ccs:
    - shard-dg2:          NOTRUN -> [SKIP][94] ([i915#3689] / [i915#3886] / [i915#5354]) +1 similar issue
   [94]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-dg2-7/igt@kms_ccs@pipe-a-ccs-on-another-bo-y_tiled_gen12_mc_ccs.html

  * igt@kms_ccs@pipe-a-random-ccs-data-y_tiled_gen12_rc_ccs:
    - shard-mtlp:         NOTRUN -> [SKIP][95] ([i915#6095]) +3 similar issues
   [95]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-mtlp-7/igt@kms_ccs@pipe-a-random-ccs-data-y_tiled_gen12_rc_ccs.html

  * igt@kms_ccs@pipe-b-crc-primary-rotation-180-y_tiled_gen12_mc_ccs:
    - shard-tglu:         NOTRUN -> [SKIP][96] ([i915#3689] / [i915#3886] / [i915#5354] / [i915#6095]) +1 similar issue
   [96]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-tglu-9/igt@kms_ccs@pipe-b-crc-primary-rotation-180-y_tiled_gen12_mc_ccs.html

  * igt@kms_ccs@pipe-b-crc-primary-rotation-180-y_tiled_gen12_rc_ccs_cc:
    - shard-mtlp:         NOTRUN -> [SKIP][97] ([i915#3886] / [i915#6095])
   [97]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-mtlp-4/igt@kms_ccs@pipe-b-crc-primary-rotation-180-y_tiled_gen12_rc_ccs_cc.html

  * igt@kms_ccs@pipe-b-crc-sprite-planes-basic-4_tiled_mtl_rc_ccs:
    - shard-rkl:          NOTRUN -> [SKIP][98] ([i915#5354] / [i915#6095]) +4 similar issues
   [98]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-rkl-4/igt@kms_ccs@pipe-b-crc-sprite-planes-basic-4_tiled_mtl_rc_ccs.html

  * igt@kms_ccs@pipe-c-ccs-on-another-bo-4_tiled_mtl_rc_ccs_cc:
    - shard-tglu:         NOTRUN -> [SKIP][99] ([i915#5354] / [i915#6095]) +1 similar issue
   [99]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-tglu-7/igt@kms_ccs@pipe-c-ccs-on-another-bo-4_tiled_mtl_rc_ccs_cc.html

  * igt@kms_ccs@pipe-d-bad-aux-stride-y_tiled_ccs:
    - shard-rkl:          NOTRUN -> [SKIP][100] ([i915#5354]) +6 similar issues
   [100]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-rkl-6/igt@kms_ccs@pipe-d-bad-aux-stride-y_tiled_ccs.html

  * igt@kms_ccs@pipe-d-ccs-on-another-bo-yf_tiled_ccs:
    - shard-dg2:          NOTRUN -> [SKIP][101] ([i915#3689] / [i915#5354]) +3 similar issues
   [101]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-dg2-12/igt@kms_ccs@pipe-d-ccs-on-another-bo-yf_tiled_ccs.html

  * igt@kms_ccs@pipe-d-crc-sprite-planes-basic-4_tiled_mtl_rc_ccs:
    - shard-dg2:          NOTRUN -> [SKIP][102] ([i915#5354]) +15 similar issues
   [102]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-dg2-5/igt@kms_ccs@pipe-d-crc-sprite-planes-basic-4_tiled_mtl_rc_ccs.html

  * igt@kms_cdclk@mode-transition-all-outputs:
    - shard-rkl:          NOTRUN -> [SKIP][103] ([i915#3742])
   [103]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-rkl-7/igt@kms_cdclk@mode-transition-all-outputs.html

  * igt@kms_cdclk@plane-scaling@pipe-c-hdmi-a-3:
    - shard-dg2:          NOTRUN -> [SKIP][104] ([i915#4087]) +3 similar issues
   [104]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-dg2-1/igt@kms_cdclk@plane-scaling@pipe-c-hdmi-a-3.html

  * igt@kms_chamelium_edid@dp-edid-change-during-suspend:
    - shard-rkl:          NOTRUN -> [SKIP][105] ([i915#7828]) +3 similar issues
   [105]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-rkl-7/igt@kms_chamelium_edid@dp-edid-change-during-suspend.html

  * igt@kms_chamelium_frames@hdmi-crc-nonplanar-formats:
    - shard-dg2:          NOTRUN -> [SKIP][106] ([i915#7828]) +3 similar issues
   [106]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-dg2-5/igt@kms_chamelium_frames@hdmi-crc-nonplanar-formats.html

  * igt@kms_chamelium_hpd@vga-hpd:
    - shard-mtlp:         NOTRUN -> [SKIP][107] ([i915#7828]) +3 similar issues
   [107]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-mtlp-3/igt@kms_chamelium_hpd@vga-hpd.html

  * igt@kms_content_protection@content_type_change:
    - shard-mtlp:         NOTRUN -> [SKIP][108] ([i915#3555] / [i915#6944])
   [108]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-mtlp-7/igt@kms_content_protection@content_type_change.html

  * igt@kms_content_protection@lic@pipe-a-dp-4:
    - shard-dg2:          NOTRUN -> [TIMEOUT][109] ([i915#7173]) +1 similar issue
   [109]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-dg2-11/igt@kms_content_protection@lic@pipe-a-dp-4.html

  * igt@kms_cursor_crc@cursor-offscreen-512x170:
    - shard-tglu:         NOTRUN -> [SKIP][110] ([fdo#109279] / [i915#3359])
   [110]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-tglu-2/igt@kms_cursor_crc@cursor-offscreen-512x170.html

  * igt@kms_cursor_crc@cursor-random-512x512:
    - shard-tglu:         NOTRUN -> [SKIP][111] ([i915#3359])
   [111]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-tglu-3/igt@kms_cursor_crc@cursor-random-512x512.html

  * igt@kms_cursor_crc@cursor-sliding-512x170:
    - shard-mtlp:         NOTRUN -> [SKIP][112] ([i915#3359])
   [112]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-mtlp-5/igt@kms_cursor_crc@cursor-sliding-512x170.html

  * igt@kms_cursor_legacy@2x-cursor-vs-flip-legacy:
    - shard-dg2:          NOTRUN -> [SKIP][113] ([fdo#109274] / [i915#5354])
   [113]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-dg2-2/igt@kms_cursor_legacy@2x-cursor-vs-flip-legacy.html
    - shard-rkl:          NOTRUN -> [SKIP][114] ([fdo#111825]) +1 similar issue
   [114]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-rkl-1/igt@kms_cursor_legacy@2x-cursor-vs-flip-legacy.html
    - shard-mtlp:         NOTRUN -> [SKIP][115] ([i915#3546]) +1 similar issue
   [115]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-mtlp-8/igt@kms_cursor_legacy@2x-cursor-vs-flip-legacy.html

  * igt@kms_cursor_legacy@basic-busy-flip-before-cursor-legacy:
    - shard-rkl:          NOTRUN -> [SKIP][116] ([i915#4103])
   [116]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-rkl-2/igt@kms_cursor_legacy@basic-busy-flip-before-cursor-legacy.html

  * igt@kms_cursor_legacy@cursora-vs-flipb-legacy:
    - shard-tglu:         NOTRUN -> [SKIP][117] ([fdo#109274])
   [117]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-tglu-9/igt@kms_cursor_legacy@cursora-vs-flipb-legacy.html

  * igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions:
    - shard-glk:          [PASS][118] -> [FAIL][119] ([i915#2346])
   [118]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7374/shard-glk2/igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions.html
   [119]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-glk3/igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions.html

  * igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions-varying-size:
    - shard-apl:          [PASS][120] -> [FAIL][121] ([i915#2346])
   [120]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7374/shard-apl6/igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions-varying-size.html
   [121]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-apl3/igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions-varying-size.html

  * igt@kms_dither@fb-8bpc-vs-panel-6bpc@pipe-a-hdmi-a-1:
    - shard-rkl:          NOTRUN -> [SKIP][122] ([i915#3804])
   [122]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-rkl-7/igt@kms_dither@fb-8bpc-vs-panel-6bpc@pipe-a-hdmi-a-1.html

  * igt@kms_fbcon_fbt@psr:
    - shard-rkl:          NOTRUN -> [SKIP][123] ([i915#3955])
   [123]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-rkl-7/igt@kms_fbcon_fbt@psr.html

  * igt@kms_flip@2x-plain-flip-ts-check:
    - shard-dg2:          NOTRUN -> [SKIP][124] ([fdo#109274]) +1 similar issue
   [124]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-dg2-11/igt@kms_flip@2x-plain-flip-ts-check.html

  * igt@kms_flip@2x-plain-flip-ts-check-interruptible:
    - shard-tglu:         NOTRUN -> [SKIP][125] ([fdo#109274] / [i915#3637]) +1 similar issue
   [125]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-tglu-5/igt@kms_flip@2x-plain-flip-ts-check-interruptible.html

  * igt@kms_flip@flip-vs-expired-vblank-interruptible@c-hdmi-a1:
    - shard-glk:          [PASS][126] -> [FAIL][127] ([i915#79])
   [126]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7374/shard-glk1/igt@kms_flip@flip-vs-expired-vblank-interruptible@c-hdmi-a1.html
   [127]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-glk3/igt@kms_flip@flip-vs-expired-vblank-interruptible@c-hdmi-a1.html

  * igt@kms_flip_scaled_crc@flip-32bpp-yftileccs-to-64bpp-yftile-upscaling@pipe-a-valid-mode:
    - shard-dg2:          NOTRUN -> [SKIP][128] ([i915#2672]) +1 similar issue
   [128]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-dg2-12/igt@kms_flip_scaled_crc@flip-32bpp-yftileccs-to-64bpp-yftile-upscaling@pipe-a-valid-mode.html

  * igt@kms_flip_scaled_crc@flip-64bpp-4tile-to-32bpp-4tiledg2rcccs-downscaling@pipe-a-default-mode:
    - shard-mtlp:         NOTRUN -> [SKIP][129] ([i915#2672])
   [129]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-mtlp-6/igt@kms_flip_scaled_crc@flip-64bpp-4tile-to-32bpp-4tiledg2rcccs-downscaling@pipe-a-default-mode.html

  * igt@kms_frontbuffer_tracking@fbc-2p-primscrn-cur-indfb-draw-mmap-wc:
    - shard-rkl:          NOTRUN -> [SKIP][130] ([fdo#111825] / [i915#1825]) +9 similar issues
   [130]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-rkl-1/igt@kms_frontbuffer_tracking@fbc-2p-primscrn-cur-indfb-draw-mmap-wc.html

  * igt@kms_frontbuffer_tracking@fbc-2p-primscrn-spr-indfb-onoff:
    - shard-tglu:         NOTRUN -> [SKIP][131] ([fdo#109280]) +1 similar issue
   [131]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-tglu-10/igt@kms_frontbuffer_tracking@fbc-2p-primscrn-spr-indfb-onoff.html

  * igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-spr-indfb-draw-render:
    - shard-mtlp:         NOTRUN -> [SKIP][132] ([i915#1825]) +8 similar issues
   [132]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-mtlp-4/igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-spr-indfb-draw-render.html

  * igt@kms_frontbuffer_tracking@fbcpsr-1p-offscren-pri-shrfb-draw-blt:
    - shard-dg2:          NOTRUN -> [SKIP][133] ([i915#3458]) +4 similar issues
   [133]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-dg2-6/igt@kms_frontbuffer_tracking@fbcpsr-1p-offscren-pri-shrfb-draw-blt.html

  * igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-cur-indfb-draw-mmap-cpu:
    - shard-rkl:          NOTRUN -> [SKIP][134] ([i915#3023]) +6 similar issues
   [134]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-rkl-6/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-cur-indfb-draw-mmap-cpu.html

  * igt@kms_frontbuffer_tracking@fbcpsr-rgb565-draw-mmap-gtt:
    - shard-mtlp:         NOTRUN -> [SKIP][135] ([i915#8708]) +1 similar issue
   [135]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-mtlp-3/igt@kms_frontbuffer_tracking@fbcpsr-rgb565-draw-mmap-gtt.html

  * igt@kms_frontbuffer_tracking@fbcpsr-tiling-y:
    - shard-mtlp:         NOTRUN -> [SKIP][136] ([i915#5460])
   [136]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-mtlp-6/igt@kms_frontbuffer_tracking@fbcpsr-tiling-y.html

  * igt@kms_frontbuffer_tracking@psr-2p-primscrn-pri-indfb-draw-mmap-gtt:
    - shard-dg2:          NOTRUN -> [SKIP][137] ([i915#8708]) +4 similar issues
   [137]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-dg2-8/igt@kms_frontbuffer_tracking@psr-2p-primscrn-pri-indfb-draw-mmap-gtt.html

  * igt@kms_hdr@static-toggle:
    - shard-dg2:          NOTRUN -> [SKIP][138] ([i915#3555]) +6 similar issues
   [138]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-dg2-2/igt@kms_hdr@static-toggle.html

  * igt@kms_plane_lowres@tiling-yf:
    - shard-rkl:          NOTRUN -> [SKIP][139] ([i915#3555]) +5 similar issues
   [139]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-rkl-4/igt@kms_plane_lowres@tiling-yf.html

  * igt@kms_plane_scaling@plane-downscale-with-rotation-factor-0-25@pipe-c-edp-1:
    - shard-mtlp:         NOTRUN -> [SKIP][140] ([i915#5176]) +3 similar issues
   [140]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-mtlp-3/igt@kms_plane_scaling@plane-downscale-with-rotation-factor-0-25@pipe-c-edp-1.html

  * igt@kms_plane_scaling@plane-downscale-with-rotation-factor-0-25@pipe-d-hdmi-a-2:
    - shard-dg2:          NOTRUN -> [SKIP][141] ([i915#5176]) +7 similar issues
   [141]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-dg2-2/igt@kms_plane_scaling@plane-downscale-with-rotation-factor-0-25@pipe-d-hdmi-a-2.html

  * igt@kms_plane_scaling@plane-downscale-with-rotation-factor-0-5@pipe-a-hdmi-a-1:
    - shard-rkl:          NOTRUN -> [SKIP][142] ([i915#5176]) +5 similar issues
   [142]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-rkl-7/igt@kms_plane_scaling@plane-downscale-with-rotation-factor-0-5@pipe-a-hdmi-a-1.html

  * igt@kms_plane_scaling@plane-scaler-with-clipping-clamping-rotation@pipe-a-vga-1:
    - shard-snb:          NOTRUN -> [SKIP][143] ([fdo#109271]) +27 similar issues
   [143]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-snb6/igt@kms_plane_scaling@plane-scaler-with-clipping-clamping-rotation@pipe-a-vga-1.html

  * igt@kms_plane_scaling@planes-downscale-factor-0-25-upscale-20x20@pipe-d-edp-1:
    - shard-mtlp:         NOTRUN -> [SKIP][144] ([i915#5235]) +7 similar issues
   [144]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-mtlp-1/igt@kms_plane_scaling@planes-downscale-factor-0-25-upscale-20x20@pipe-d-edp-1.html

  * igt@kms_plane_scaling@planes-upscale-20x20-downscale-factor-0-25@pipe-b-hdmi-a-1:
    - shard-rkl:          NOTRUN -> [SKIP][145] ([i915#5235]) +1 similar issue
   [145]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-rkl-7/igt@kms_plane_scaling@planes-upscale-20x20-downscale-factor-0-25@pipe-b-hdmi-a-1.html

  * igt@kms_plane_scaling@planes-upscale-factor-0-25-downscale-factor-0-25@pipe-a-hdmi-a-3:
    - shard-dg2:          NOTRUN -> [SKIP][146] ([i915#5235]) +15 similar issues
   [146]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-dg2-7/igt@kms_plane_scaling@planes-upscale-factor-0-25-downscale-factor-0-25@pipe-a-hdmi-a-3.html

  * igt@kms_psr2_su@frontbuffer-xrgb8888:
    - shard-rkl:          NOTRUN -> [SKIP][147] ([fdo#111068] / [i915#658])
   [147]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-rkl-4/igt@kms_psr2_su@frontbuffer-xrgb8888.html

  * igt@kms_psr@psr2_cursor_mmap_gtt:
    - shard-tglu:         NOTRUN -> [SKIP][148] ([fdo#110189]) +3 similar issues
   [148]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-tglu-3/igt@kms_psr@psr2_cursor_mmap_gtt.html

  * igt@kms_psr@sprite_mmap_cpu:
    - shard-dg2:          NOTRUN -> [SKIP][149] ([i915#1072]) +2 similar issues
   [149]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-dg2-5/igt@kms_psr@sprite_mmap_cpu.html
    - shard-rkl:          NOTRUN -> [SKIP][150] ([i915#1072]) +1 similar issue
   [150]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-rkl-7/igt@kms_psr@sprite_mmap_cpu.html

  * igt@kms_psr_stress_test@invalidate-primary-flip-overlay:
    - shard-rkl:          NOTRUN -> [SKIP][151] ([i915#5461] / [i915#658])
   [151]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-rkl-1/igt@kms_psr_stress_test@invalidate-primary-flip-overlay.html

  * igt@kms_rotation_crc@exhaust-fences:
    - shard-mtlp:         NOTRUN -> [SKIP][152] ([i915#4235])
   [152]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-mtlp-4/igt@kms_rotation_crc@exhaust-fences.html

  * igt@kms_scaling_modes@scaling-mode-center:
    - shard-tglu:         NOTRUN -> [SKIP][153] ([i915#3555])
   [153]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-tglu-2/igt@kms_scaling_modes@scaling-mode-center.html

  * igt@kms_tiled_display@basic-test-pattern-with-chamelium:
    - shard-rkl:          NOTRUN -> [SKIP][154] ([i915#8623])
   [154]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-rkl-2/igt@kms_tiled_display@basic-test-pattern-with-chamelium.html

  * igt@kms_tv_load_detect@load-detect:
    - shard-dg2:          NOTRUN -> [SKIP][155] ([fdo#109309])
   [155]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-dg2-3/igt@kms_tv_load_detect@load-detect.html

  * igt@kms_universal_plane@disable-primary-vs-flip-pipe-d:
    - shard-rkl:          NOTRUN -> [SKIP][156] ([i915#4070] / [i915#533] / [i915#6768])
   [156]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-rkl-7/igt@kms_universal_plane@disable-primary-vs-flip-pipe-d.html

  * igt@kms_vblank@pipe-b-ts-continuation-suspend:
    - shard-tglu:         [PASS][157] -> [ABORT][158] ([i915#5122] / [i915#8213])
   [157]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7374/shard-tglu-3/igt@kms_vblank@pipe-b-ts-continuation-suspend.html
   [158]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-tglu-6/igt@kms_vblank@pipe-b-ts-continuation-suspend.html

  * igt@kms_vblank@pipe-c-wait-forked:
    - shard-rkl:          NOTRUN -> [SKIP][159] ([i915#4070] / [i915#6768])
   [159]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-rkl-2/igt@kms_vblank@pipe-c-wait-forked.html

  * igt@perf@enable-disable@0-rcs0:
    - shard-dg2:          [PASS][160] -> [FAIL][161] ([i915#8724])
   [160]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7374/shard-dg2-8/igt@perf@enable-disable@0-rcs0.html
   [161]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-dg2-11/igt@perf@enable-disable@0-rcs0.html

  * igt@perf@non-zero-reason@0-rcs0:
    - shard-dg2:          [PASS][162] -> [FAIL][163] ([i915#7484])
   [162]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7374/shard-dg2-3/igt@perf@non-zero-reason@0-rcs0.html
   [163]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-dg2-7/igt@perf@non-zero-reason@0-rcs0.html

  * igt@sysfs_preempt_timeout@timeout@vecs0:
    - shard-mtlp:         [PASS][164] -> [ABORT][165] ([i915#8521])
   [164]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7374/shard-mtlp-3/igt@sysfs_preempt_timeout@timeout@vecs0.html
   [165]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-mtlp-2/igt@sysfs_preempt_timeout@timeout@vecs0.html

  * igt@v3d/v3d_perfmon@get-values-invalid-pointer:
    - shard-tglu:         NOTRUN -> [SKIP][166] ([fdo#109315] / [i915#2575])
   [166]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-tglu-10/igt@v3d/v3d_perfmon@get-values-invalid-pointer.html

  * igt@v3d/v3d_submit_csd@bad-flag:
    - shard-dg2:          NOTRUN -> [SKIP][167] ([i915#2575]) +4 similar issues
   [167]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-dg2-11/igt@v3d/v3d_submit_csd@bad-flag.html

  * igt@v3d/v3d_submit_csd@valid-multisync-submission:
    - shard-rkl:          NOTRUN -> [SKIP][168] ([fdo#109315]) +6 similar issues
   [168]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-rkl-4/igt@v3d/v3d_submit_csd@valid-multisync-submission.html
    - shard-mtlp:         NOTRUN -> [SKIP][169] ([i915#2575]) +5 similar issues
   [169]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-mtlp-5/igt@v3d/v3d_submit_csd@valid-multisync-submission.html

  * igt@vc4/vc4_perfmon@get-values-valid-perfmon:
    - shard-dg2:          NOTRUN -> [SKIP][170] ([i915#7711]) +1 similar issue
   [170]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-dg2-1/igt@vc4/vc4_perfmon@get-values-valid-perfmon.html

  * igt@vc4/vc4_purgeable_bo@mark-purgeable-twice:
    - shard-mtlp:         NOTRUN -> [SKIP][171] ([i915#7711])
   [171]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-mtlp-5/igt@vc4/vc4_purgeable_bo@mark-purgeable-twice.html

  * igt@vc4/vc4_purgeable_bo@mark-willneed:
    - shard-tglu:         NOTRUN -> [SKIP][172] ([i915#2575])
   [172]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-tglu-8/igt@vc4/vc4_purgeable_bo@mark-willneed.html

  * igt@vc4/vc4_wait_seqno@bad-seqno-1ns:
    - shard-rkl:          NOTRUN -> [SKIP][173] ([i915#7711]) +2 similar issues
   [173]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-rkl-2/igt@vc4/vc4_wait_seqno@bad-seqno-1ns.html

  
#### Possible fixes ####

  * igt@gem_create@create-ext-cpu-access-big:
    - shard-dg2:          [ABORT][174] ([i915#7461]) -> [PASS][175]
   [174]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7374/shard-dg2-5/igt@gem_create@create-ext-cpu-access-big.html
   [175]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-dg2-5/igt@gem_create@create-ext-cpu-access-big.html

  * igt@gem_create@hog-create@smem0:
    - shard-dg2:          [FAIL][176] ([i915#5892] / [i915#8758]) -> [PASS][177]
   [176]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7374/shard-dg2-12/igt@gem_create@hog-create@smem0.html
   [177]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-dg2-11/igt@gem_create@hog-create@smem0.html

  * igt@gem_ctx_exec@basic-nohangcheck:
    - shard-tglu:         [FAIL][178] ([i915#6268]) -> [PASS][179]
   [178]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7374/shard-tglu-7/igt@gem_ctx_exec@basic-nohangcheck.html
   [179]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-tglu-8/igt@gem_ctx_exec@basic-nohangcheck.html

  * igt@gem_ctx_persistence@legacy-engines-hostile@vebox:
    - shard-mtlp:         [FAIL][180] ([i915#2410]) -> [PASS][181] +3 similar issues
   [180]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7374/shard-mtlp-8/igt@gem_ctx_persistence@legacy-engines-hostile@vebox.html
   [181]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-mtlp-7/igt@gem_ctx_persistence@legacy-engines-hostile@vebox.html

  * igt@gem_eio@unwedge-stress:
    - shard-dg2:          [FAIL][182] ([i915#5784]) -> [PASS][183]
   [182]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7374/shard-dg2-11/igt@gem_eio@unwedge-stress.html
   [183]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-dg2-11/igt@gem_eio@unwedge-stress.html

  * igt@gem_exec_await@wide-contexts:
    - shard-dg2:          [FAIL][184] ([i915#5892]) -> [PASS][185]
   [184]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7374/shard-dg2-7/igt@gem_exec_await@wide-contexts.html
   [185]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-dg2-1/igt@gem_exec_await@wide-contexts.html

  * igt@gem_exec_capture@pi@vcs0:
    - shard-mtlp:         [FAIL][186] ([i915#4475]) -> [PASS][187]
   [186]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7374/shard-mtlp-7/igt@gem_exec_capture@pi@vcs0.html
   [187]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-mtlp-8/igt@gem_exec_capture@pi@vcs0.html

  * igt@gem_exec_endless@dispatch@vcs1:
    - shard-mtlp:         [TIMEOUT][188] ([i915#3778]) -> [PASS][189]
   [188]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7374/shard-mtlp-5/igt@gem_exec_endless@dispatch@vcs1.html
   [189]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-mtlp-6/igt@gem_exec_endless@dispatch@vcs1.html

  * igt@gem_exec_fair@basic-deadline:
    - shard-glk:          [FAIL][190] ([i915#2846]) -> [PASS][191]
   [190]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7374/shard-glk1/igt@gem_exec_fair@basic-deadline.html
   [191]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-glk4/igt@gem_exec_fair@basic-deadline.html

  * igt@gem_exec_fair@basic-pace@vecs0:
    - shard-rkl:          [FAIL][192] ([i915#2842]) -> [PASS][193]
   [192]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7374/shard-rkl-7/igt@gem_exec_fair@basic-pace@vecs0.html
   [193]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-rkl-2/igt@gem_exec_fair@basic-pace@vecs0.html

  * igt@gem_exec_whisper@basic-queues:
    - shard-mtlp:         [FAIL][194] ([i915#6363]) -> [PASS][195]
   [194]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7374/shard-mtlp-4/igt@gem_exec_whisper@basic-queues.html
   [195]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-mtlp-1/igt@gem_exec_whisper@basic-queues.html

  * igt@gem_lmem_swapping@smem-oom@lmem0:
    - shard-dg2:          [TIMEOUT][196] ([i915#5493]) -> [PASS][197]
   [196]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7374/shard-dg2-2/igt@gem_lmem_swapping@smem-oom@lmem0.html
   [197]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-dg2-1/igt@gem_lmem_swapping@smem-oom@lmem0.html

  * igt@i915_hangman@gt-engine-hang@vcs0:
    - shard-mtlp:         [FAIL][198] ([i915#7069]) -> [PASS][199] +1 similar issue
   [198]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7374/shard-mtlp-8/igt@i915_hangman@gt-engine-hang@vcs0.html
   [199]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-mtlp-5/igt@i915_hangman@gt-engine-hang@vcs0.html

  * igt@i915_pm_rc6_residency@rc6-idle@bcs0:
    - {shard-dg1}:        [FAIL][200] ([i915#3591]) -> [PASS][201]
   [200]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7374/shard-dg1-18/igt@i915_pm_rc6_residency@rc6-idle@bcs0.html
   [201]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-dg1-13/igt@i915_pm_rc6_residency@rc6-idle@bcs0.html

  * igt@i915_pm_rpm@dpms-mode-unset-non-lpsp:
    - shard-rkl:          [SKIP][202] ([i915#1397]) -> [PASS][203] +1 similar issue
   [202]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7374/shard-rkl-7/igt@i915_pm_rpm@dpms-mode-unset-non-lpsp.html
   [203]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-rkl-6/igt@i915_pm_rpm@dpms-mode-unset-non-lpsp.html

  * igt@i915_pm_rpm@i2c:
    - shard-dg2:          [FAIL][204] ([i915#8717]) -> [PASS][205]
   [204]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7374/shard-dg2-2/igt@i915_pm_rpm@i2c.html
   [205]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-dg2-1/igt@i915_pm_rpm@i2c.html

  * igt@i915_pm_rpm@modeset-non-lpsp:
    - {shard-dg1}:        [SKIP][206] ([i915#1397]) -> [PASS][207]
   [206]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7374/shard-dg1-19/igt@i915_pm_rpm@modeset-non-lpsp.html
   [207]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-dg1-12/igt@i915_pm_rpm@modeset-non-lpsp.html

  * igt@i915_pm_rpm@modeset-non-lpsp-stress:
    - shard-dg2:          [SKIP][208] ([i915#1397]) -> [PASS][209] +1 similar issue
   [208]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7374/shard-dg2-12/igt@i915_pm_rpm@modeset-non-lpsp-stress.html
   [209]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-dg2-2/igt@i915_pm_rpm@modeset-non-lpsp-stress.html

  * igt@i915_pm_rpm@system-suspend:
    - shard-dg2:          [FAIL][210] ([fdo#103375] / [i915#6121]) -> [PASS][211]
   [210]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7374/shard-dg2-11/igt@i915_pm_rpm@system-suspend.html
   [211]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-dg2-1/igt@i915_pm_rpm@system-suspend.html

  * igt@i915_selftest@live@gt_heartbeat:
    - shard-glk:          [DMESG-FAIL][212] ([i915#5334]) -> [PASS][213]
   [212]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7374/shard-glk3/igt@i915_selftest@live@gt_heartbeat.html
   [213]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-glk8/igt@i915_selftest@live@gt_heartbeat.html

  * igt@i915_selftest@live@requests:
    - shard-mtlp:         [DMESG-FAIL][214] ([i915#8497]) -> [PASS][215]
   [214]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7374/shard-mtlp-2/igt@i915_selftest@live@requests.html
   [215]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-mtlp-4/igt@i915_selftest@live@requests.html

  * igt@kms_big_fb@4-tiled-16bpp-rotate-0:
    - shard-mtlp:         [DMESG-WARN][216] ([i915#2017]) -> [PASS][217]
   [216]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7374/shard-mtlp-1/igt@kms_big_fb@4-tiled-16bpp-rotate-0.html
   [217]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-mtlp-6/igt@kms_big_fb@4-tiled-16bpp-rotate-0.html

  * igt@kms_big_fb@4-tiled-max-hw-stride-64bpp-rotate-0-hflip:
    - shard-mtlp:         [FAIL][218] ([i915#5138]) -> [PASS][219]
   [218]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7374/shard-mtlp-2/igt@kms_big_fb@4-tiled-max-hw-stride-64bpp-rotate-0-hflip.html
   [219]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-mtlp-4/igt@kms_big_fb@4-tiled-max-hw-stride-64bpp-rotate-0-hflip.html

  * igt@kms_big_fb@x-tiled-max-hw-stride-64bpp-rotate-180-async-flip:
    - shard-mtlp:         [FAIL][220] ([i915#3743]) -> [PASS][221] +1 similar issue
   [220]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7374/shard-mtlp-3/igt@kms_big_fb@x-tiled-max-hw-stride-64bpp-rotate-180-async-flip.html
   [221]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-mtlp-6/igt@kms_big_fb@x-tiled-max-hw-stride-64bpp-rotate-180-async-flip.html

  * igt@kms_plane_cursor@viewport@pipe-d-edp-1-size-128:
    - shard-mtlp:         [FAIL][222] -> [PASS][223] +11 similar issues
   [222]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7374/shard-mtlp-8/igt@kms_plane_cursor@viewport@pipe-d-edp-1-size-128.html
   [223]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-mtlp-8/igt@kms_plane_cursor@viewport@pipe-d-edp-1-size-128.html

  * igt@perf_pmu@render-node-busy-idle@ccs2:
    - shard-dg2:          [FAIL][224] ([i915#4349]) -> [PASS][225] +2 similar issues
   [224]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7374/shard-dg2-2/igt@perf_pmu@render-node-busy-idle@ccs2.html
   [225]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-dg2-7/igt@perf_pmu@render-node-busy-idle@ccs2.html

  * igt@perf_pmu@semaphore-busy@vcs1:
    - shard-mtlp:         [FAIL][226] ([i915#4349]) -> [PASS][227] +3 similar issues
   [226]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7374/shard-mtlp-8/igt@perf_pmu@semaphore-busy@vcs1.html
   [227]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-mtlp-5/igt@perf_pmu@semaphore-busy@vcs1.html

  * igt@testdisplay:
    - shard-apl:          [TIMEOUT][228] -> [PASS][229]
   [228]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7374/shard-apl3/igt@testdisplay.html
   [229]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-apl3/igt@testdisplay.html

  
#### Warnings ####

  * igt@i915_pm_rc6_residency@rc6-idle@rcs0:
    - shard-tglu:         [WARN][230] ([i915#2681]) -> [FAIL][231] ([i915#2681] / [i915#3591])
   [230]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7374/shard-tglu-7/igt@i915_pm_rc6_residency@rc6-idle@rcs0.html
   [231]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-tglu-2/igt@i915_pm_rc6_residency@rc6-idle@rcs0.html

  * igt@kms_fbcon_fbt@psr-suspend:
    - shard-rkl:          [SKIP][232] ([fdo#110189] / [i915#3955]) -> [SKIP][233] ([i915#3955])
   [232]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7374/shard-rkl-1/igt@kms_fbcon_fbt@psr-suspend.html
   [233]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-rkl-6/igt@kms_fbcon_fbt@psr-suspend.html

  * igt@kms_multipipe_modeset@basic-max-pipe-crc-check:
    - shard-rkl:          [SKIP][234] ([i915#4070] / [i915#4816]) -> [SKIP][235] ([i915#4816])
   [234]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7374/shard-rkl-6/igt@kms_multipipe_modeset@basic-max-pipe-crc-check.html
   [235]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-rkl-7/igt@kms_multipipe_modeset@basic-max-pipe-crc-check.html

  * igt@prime_mmap@test_aperture_limit@test_aperture_limit-smem:
    - shard-dg2:          [CRASH][236] ([i915#7331]) -> [INCOMPLETE][237] ([i915#5493])
   [236]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7374/shard-dg2-1/igt@prime_mmap@test_aperture_limit@test_aperture_limit-smem.html
   [237]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/shard-dg2-2/igt@prime_mmap@test_aperture_limit@test_aperture_limit-smem.html

  
  {name}: This element is suppressed. This means it is ignored when computing
          the status of the difference (SUCCESS, WARNING, or FAILURE).

  [fdo#103375]: https://bugs.freedesktop.org/show_bug.cgi?id=103375
  [fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
  [fdo#109274]: https://bugs.freedesktop.org/show_bug.cgi?id=109274
  [fdo#109279]: https://bugs.freedesktop.org/show_bug.cgi?id=109279
  [fdo#109280]: https://bugs.freedesktop.org/show_bug.cgi?id=109280
  [fdo#109289]: https://bugs.freedesktop.org/show_bug.cgi?id=109289
  [fdo#109309]: https://bugs.freedesktop.org/show_bug.cgi?id=109309
  [fdo#109312]: https://bugs.freedesktop.org/show_bug.cgi?id=109312
  [fdo#109315]: https://bugs.freedesktop.org/show_bug.cgi?id=109315
  [fdo#109506]: https://bugs.freedesktop.org/show_bug.cgi?id=109506
  [fdo#110189]: https://bugs.freedesktop.org/show_bug.cgi?id=110189
  [fdo#110723]: https://bugs.freedesktop.org/show_bug.cgi?id=110723
  [fdo#111068]: https://bugs.freedesktop.org/show_bug.cgi?id=111068
  [fdo#111614]: https://bugs.freedesktop.org/show_bug.cgi?id=111614
  [fdo#111615]: https://bugs.freedesktop.org/show_bug.cgi?id=111615
  [fdo#111825]: https://bugs.freedesktop.org/show_bug.cgi?id=111825
  [fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
  [fdo#112283]: https://bugs.freedesktop.org/show_bug.cgi?id=112283
  [i915#1072]: https://gitlab.freedesktop.org/drm/intel/issues/1072
  [i915#1397]: https://gitlab.freedesktop.org/drm/intel/issues/1397
  [i915#1825]: https://gitlab.freedesktop.org/drm/intel/issues/1825
  [i915#1902]: https://gitlab.freedesktop.org/drm/intel/issues/1902
  [i915#2017]: https://gitlab.freedesktop.org/drm/intel/issues/2017
  [i915#2346]: https://gitlab.freedesktop.org/drm/intel/issues/2346
  [i915#2410]: https://gitlab.freedesktop.org/drm/intel/issues/2410
  [i915#2527]: https://gitlab.freedesktop.org/drm/intel/issues/2527
  [i915#2575]: https://gitlab.freedesktop.org/drm/intel/issues/2575
  [i915#2587]: https://gitlab.freedesktop.org/drm/intel/issues/2587
  [i915#2672]: https://gitlab.freedesktop.org/drm/intel/issues/2672
  [i915#2681]: https://gitlab.freedesktop.org/drm/intel/issues/2681
  [i915#284]: https://gitlab.freedesktop.org/drm/intel/issues/284
  [i915#2842]: https://gitlab.freedesktop.org/drm/intel/issues/2842
  [i915#2846]: https://gitlab.freedesktop.org/drm/intel/issues/2846
  [i915#2856]: https://gitlab.freedesktop.org/drm/intel/issues/2856
  [i915#3023]: https://gitlab.freedesktop.org/drm/intel/issues/3023
  [i915#3281]: https://gitlab.freedesktop.org/drm/intel/issues/3281
  [i915#3282]: https://gitlab.freedesktop.org/drm/intel/issues/3282
  [i915#3297]: https://gitlab.freedesktop.org/drm/intel/issues/3297
  [i915#3359]: https://gitlab.freedesktop.org/drm/intel/issues/3359
  [i915#3361]: https://gitlab.freedesktop.org/drm/intel/issues/3361
  [i915#3458]: https://gitlab.freedesktop.org/drm/intel/issues/3458
  [i915#3469]: https://gitlab.freedesktop.org/drm/intel/issues/3469
  [i915#3546]: https://gitlab.freedesktop.org/drm/intel/issues/3546
  [i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
  [i915#3591]: https://gitlab.freedesktop.org/drm/intel/issues/3591
  [i915#3637]: https://gitlab.freedesktop.org/drm/intel/issues/3637
  [i915#3638]: https://gitlab.freedesktop.org/drm/intel/issues/3638
  [i915#3689]: https://gitlab.freedesktop.org/drm/intel/issues/3689
  [i915#3742]: https://gitlab.freedesktop.org/drm/intel/issues/3742
  [i915#3743]: https://gitlab.freedesktop.org/drm/intel/issues/3743
  [i915#3778]: https://gitlab.freedesktop.org/drm/intel/issues/3778
  [i915#3804]: https://gitlab.freedesktop.org/drm/intel/issues/3804
  [i915#3886]: https://gitlab.freedesktop.org/drm/intel/issues/3886
  [i915#3955]: https://gitlab.freedesktop.org/drm/intel/issues/3955
  [i915#4070]: https://gitlab.freedesktop.org/drm/intel/issues/4070
  [i915#4077]: https://gitlab.freedesktop.org/drm/intel/issues/4077
  [i915#4078]: https://gitlab.freedesktop.org/drm/intel/issues/4078
  [i915#4083]: https://gitlab.freedesktop.org/drm/intel/issues/4083
  [i915#4087]: https://gitlab.freedesktop.org/drm/intel/issues/4087
  [i915#4103]: https://gitlab.freedesktop.org/drm/intel/issues/4103
  [i915#4235]: https://gitlab.freedesktop.org/drm/intel/issues/4235
  [i915#4270]: https://gitlab.freedesktop.org/drm/intel/issues/4270
  [i915#4349]: https://gitlab.freedesktop.org/drm/intel/issues/4349
  [i915#4475]: https://gitlab.freedesktop.org/drm/intel/issues/4475
  [i915#4537]: https://gitlab.freedesktop.org/drm/intel/issues/4537
  [i915#4538]: https://gitlab.freedesktop.org/drm/intel/issues/4538
  [i915#4565]: https://gitlab.freedesktop.org/drm/intel/issues/4565
  [i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
  [i915#4771]: https://gitlab.freedesktop.org/drm/intel/issues/4771
  [i915#4812]: https://gitlab.freedesktop.org/drm/intel/issues/4812
  [i915#4816]: https://gitlab.freedesktop.org/drm/intel/issues/4816
  [i915#4854]: https://gitlab.freedesktop.org/drm/intel/issues/4854
  [i915#4860]: https://gitlab.freedesktop.org/drm/intel/issues/4860
  [i915#5122]: https://gitlab.freedesktop.org/drm/intel/issues/5122
  [i915#5138]: https://gitlab.freedesktop.org/drm/intel/issues/5138
  [i915#5176]: https://gitlab.freedesktop.org/drm/intel/issues/5176
  [i915#5190]: https://gitlab.freedesktop.org/drm/intel/issues/5190
  [i915#5235]: https://gitlab.freedesktop.org/drm/intel/issues/5235
  [i915#5286]: https://gitlab.freedesktop.org/drm/intel/issues/5286
  [i915#5289]: https://gitlab.freedesktop.org/drm/intel/issues/5289
  [i915#5325]: https://gitlab.freedesktop.org/drm/intel/issues/5325
  [i915#533]: https://gitlab.freedesktop.org/drm/intel/issues/533
  [i915#5334]: https://gitlab.freedesktop.org/drm/intel/issues/5334
  [i915#5354]: https://gitlab.freedesktop.org/drm/intel/issues/5354
  [i915#5439]: https://gitlab.freedesktop.org/drm/intel/issues/5439
  [i915#5460]: https://gitlab.freedesktop.org/drm/intel/issues/5460
  [i915#5461]: https://gitlab.freedesktop.org/drm/intel/issues/5461
  [i915#5464]: https://gitlab.freedesktop.org/drm/intel/issues/5464
  [i915#5493]: https://gitlab.freedesktop.org/drm/intel/issues/5493
  [i915#5784]: https://gitlab.freedesktop.org/drm/intel/issues/5784
  [i915#5892]: https://gitlab.freedesktop.org/drm/intel/issues/5892
  [i915#6095]: https://gitlab.freedesktop.org/drm/intel/issues/6095
  [i915#6121]: https://gitlab.freedesktop.org/drm/intel/issues/6121
  [i915#6268]: https://gitlab.freedesktop.org/drm/intel/issues/6268
  [i915#6301]: https://gitlab.freedesktop.org/drm/intel/issues/6301
  [i915#6335]: https://gitlab.freedesktop.org/drm/intel/issues/6335
  [i915#6344]: https://gitlab.freedesktop.org/drm/intel/issues/6344
  [i915#6363]: https://gitlab.freedesktop.org/drm/intel/issues/6363
  [i915#6367]: https://gitlab.freedesktop.org/drm/intel/issues/6367
  [i915#658]: https://gitlab.freedesktop.org/drm/intel/issues/658
  [i915#6768]: https://gitlab.freedesktop.org/drm/intel/issues/6768
  [i915#6944]: https://gitlab.freedesktop.org/drm/intel/issues/6944
  [i915#7059]: https://gitlab.freedesktop.org/drm/intel/issues/7059
  [i915#7069]: https://gitlab.freedesktop.org/drm/intel/issues/7069
  [i915#7173]: https://gitlab.freedesktop.org/drm/intel/issues/7173
  [i915#7331]: https://gitlab.freedesktop.org/drm/intel/issues/7331
  [i915#7392]: https://gitlab.freedesktop.org/drm/intel/issues/7392
  [i915#7461]: https://gitlab.freedesktop.org/drm/intel/issues/7461
  [i915#7484]: https://gitlab.freedesktop.org/drm/intel/issues/7484
  [i915#7701]: https://gitlab.freedesktop.org/drm/intel/issues/7701
  [i915#7711]: https://gitlab.freedesktop.org/drm/intel/issues/7711
  [i915#7765]: https://gitlab.freedesktop.org/drm/intel/issues/7765
  [i915#7828]: https://gitlab.freedesktop.org/drm/intel/issues/7828
  [i915#79]: https://gitlab.freedesktop.org/drm/intel/issues/79
  [i915#7916]: https://gitlab.freedesktop.org/drm/intel/issues/7916
  [i915#7975]: https://gitlab.freedesktop.org/drm/intel/issues/7975
  [i915#8190]: https://gitlab.freedesktop.org/drm/intel/issues/8190
  [i915#8213]: https://gitlab.freedesktop.org/drm/intel/issues/8213
  [i915#8247]: https://gitlab.freedesktop.org/drm/intel/issues/8247
  [i915#8289]: https://gitlab.freedesktop.org/drm/intel/issues/8289
  [i915#8292]: https://gitlab.freedesktop.org/drm/intel/issues/8292
  [i915#8428]: https://gitlab.freedesktop.org/drm/intel/issues/8428
  [i915#8489]: https://gitlab.freedesktop.org/drm/intel/issues/8489
  [i915#8497]: https://gitlab.freedesktop.org/drm/intel/issues/8497
  [i915#8502]: https://gitlab.freedesktop.org/drm/intel/issues/8502
  [i915#8521]: https://gitlab.freedesktop.org/drm/intel/issues/8521
  [i915#8545]: https://gitlab.freedesktop.org/drm/intel/issues/8545
  [i915#8555]: https://gitlab.freedesktop.org/drm/intel/issues/8555
  [i915#8621]: https://gitlab.freedesktop.org/drm/intel/issues/8621
  [i915#8623]: https://gitlab.freedesktop.org/drm/intel/issues/8623
  [i915#8661]: https://gitlab.freedesktop.org/drm/intel/issues/8661
  [i915#8668]: https://gitlab.freedesktop.org/drm/intel/issues/8668
  [i915#8708]: https://gitlab.freedesktop.org/drm/intel/issues/8708
  [i915#8709]: https://gitlab.freedesktop.org/drm/intel/issues/8709
  [i915#8717]: https://gitlab.freedesktop.org/drm/intel/issues/8717
  [i915#8724]: https://gitlab.freedesktop.org/drm/intel/issues/8724
  [i915#8758]: https://gitlab.freedesktop.org/drm/intel/issues/8758


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

  * CI: CI-20190529 -> None
  * IGT: IGT_7374 -> IGTPW_9353

  CI-20190529: 20190529
  CI_DRM_13348: 23b57f4b8f17bc34c0c9b0420409fe2539f0ac01 @ git://anongit.freedesktop.org/gfx-ci/linux
  IGTPW_9353: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9353/index.html
  IGT_7374: 470370c8c25d419eafa627e54edcf0af3b116d92 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git

== Logs ==

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

[-- Attachment #2: Type: text/html, Size: 71941 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [igt-dev] [PATCH i-g-t] tests/amdgpu: add vce decoder test
@ 2023-07-06  1:11 vitaly.prosyak
  0 siblings, 0 replies; 5+ messages in thread
From: vitaly.prosyak @ 2023-07-06  1:11 UTC (permalink / raw)
  To: igt-dev; +Cc: Leo Liu

From: Vitaly Prosyak <vitaly.prosyak@amd.com>

Ported and refactored drmlib vce_tests.c and  the following is done:

1. Remove everywhere global variables.
2. Reuse common functions from amd_mmd_shared.h
3. Properly formatted code to meet igt guidelines.

Signed-off-by: Vitaly Prosyak <vitaly.prosyak@amd.com>
Acked-by: Leo Liu <leo.liu@amd.com>
---
 tests/amdgpu/amd_vce_dec.c | 602 +++++++++++++++++++++++++++++++++++++
 tests/amdgpu/meson.build   |   1 +
 2 files changed, 603 insertions(+)
 create mode 100644 tests/amdgpu/amd_vce_dec.c

diff --git a/tests/amdgpu/amd_vce_dec.c b/tests/amdgpu/amd_vce_dec.c
new file mode 100644
index 000000000..364534955
--- /dev/null
+++ b/tests/amdgpu/amd_vce_dec.c
@@ -0,0 +1,602 @@
+// SPDX-License-Identifier: MIT
+// Copyright 2023 Advanced Micro Devices, Inc.
+// Copyright 2014 Advanced Micro Devices, Inc.
+
+#include "lib/amdgpu/amd_mmd_shared.h"
+#include "lib/amdgpu/amd_mmd_vce_ib.h"
+
+#define FW_53_0_03 ((53 << 24) | (0 << 16) | (03 << 8))
+
+struct amdgpu_vce_encode {
+	unsigned int width;
+	unsigned int height;
+	struct amdgpu_mmd_bo vbuf;
+	struct amdgpu_mmd_bo bs[2];
+	struct amdgpu_mmd_bo fb[2];
+	struct amdgpu_mmd_bo cpb;
+	unsigned int ib_len;
+	bool two_instance;
+	struct amdgpu_mmd_bo mvrefbuf;
+	struct amdgpu_mmd_bo mvb;
+	unsigned int mvbuf_size;
+};
+
+
+static bool
+is_vce_tests_enable(amdgpu_device_handle device_handle, uint32_t family_id,
+		uint32_t chip_id, uint32_t chip_rev, bool *is_mv_supported)
+{
+	uint64_t ids_flags;
+	uint32_t version, feature;
+	int r;
+	struct amdgpu_gpu_info gpu_info = {0};
+
+	r = amdgpu_query_gpu_info(device_handle, &gpu_info);
+	igt_assert_eq(r, 0);
+	ids_flags = gpu_info.ids_flags;
+
+	amdgpu_query_firmware_version(device_handle, AMDGPU_INFO_FW_VCE, 0,
+					  0, &version, &feature);
+
+	if (family_id >= AMDGPU_FAMILY_RV || family_id == AMDGPU_FAMILY_SI ||
+			is_gfx_pipe_removed(family_id, chip_id, chip_rev)) {
+		igt_info("\n\nThe ASIC NOT support VCE, tests are disabled\n");
+		return false;
+	}
+
+	if (!(chip_id == (chip_rev + 0x3C) || /* FIJI */
+			chip_id == (chip_rev + 0x50) || /* Polaris 10*/
+			chip_id == (chip_rev + 0x5A) || /* Polaris 11*/
+			chip_id == (chip_rev + 0x64) || /* Polaris 12*/
+			(family_id >= AMDGPU_FAMILY_AI && !ids_flags))) /* dGPU > Polaris */
+		igt_info("\n\nThe ASIC NOT support VCE MV, tests are disabled\n");
+	else if (version < FW_53_0_03)
+		igt_info("\n\nThe ASIC FW version NOT support VCE MV, tests are disabled\n");
+	else
+		*is_mv_supported = true;
+
+	return true;
+}
+
+static void
+amdgpu_cs_vce_create(amdgpu_device_handle device_handle,
+		struct amdgpu_vce_encode *enc, struct mmd_context *context, bool is_mv_supported)
+{
+	unsigned int align = (context->family_id >= AMDGPU_FAMILY_AI) ? 256 : 16;
+	int len, r;
+
+	enc->width = vce_create[6];
+	enc->height = vce_create[7];
+
+	context->num_resources  = 0;
+	alloc_resource(device_handle, &enc->fb[0], 4096, AMDGPU_GEM_DOMAIN_GTT);
+	context->resources[context->num_resources++] = enc->fb[0].handle;
+	context->resources[context->num_resources++] = context->ib_handle;
+
+	len = 0;
+	memcpy(context->ib_cpu, vce_session, sizeof(vce_session));
+	len += sizeof(vce_session) / 4;
+	memcpy((context->ib_cpu + len), vce_taskinfo, sizeof(vce_taskinfo));
+	len += sizeof(vce_taskinfo) / 4;
+	memcpy((context->ib_cpu + len), vce_create, sizeof(vce_create));
+	context->ib_cpu[len + 8] = ALIGN(enc->width, align);
+	context->ib_cpu[len + 9] = ALIGN(enc->width, align);
+	if (is_mv_supported == true) {/* disableTwoInstance */
+		if (context->family_id >= AMDGPU_FAMILY_AI)
+			context->ib_cpu[len + 11] = 0x01000001;
+		else
+			context->ib_cpu[len + 11] = 0x01000201;
+	}
+	len += sizeof(vce_create) / 4;
+	memcpy((context->ib_cpu + len), vce_feedback, sizeof(vce_feedback));
+	context->ib_cpu[len + 2] = enc->fb[0].addr >> 32;
+	context->ib_cpu[len + 3] = enc->fb[0].addr;
+	len += sizeof(vce_feedback) / 4;
+
+	r = submit(device_handle, context, len, AMDGPU_HW_IP_VCE);
+	igt_assert_eq(r, 0);
+
+	free_resource(&enc->fb[0]);
+}
+
+static void
+amdgpu_cs_vce_config(amdgpu_device_handle device_handle,
+		struct mmd_context *context, bool is_mv_supported)
+{
+	int len = 0, r;
+
+	memcpy((context->ib_cpu + len), vce_session, sizeof(vce_session));
+	len += sizeof(vce_session) / 4;
+	memcpy((context->ib_cpu + len), vce_taskinfo, sizeof(vce_taskinfo));
+	context->ib_cpu[len + 3] = 2;
+	context->ib_cpu[len + 6] = 0xffffffff;
+	len += sizeof(vce_taskinfo) / 4;
+	memcpy((context->ib_cpu + len), vce_rate_ctrl, sizeof(vce_rate_ctrl));
+	len += sizeof(vce_rate_ctrl) / 4;
+	memcpy((context->ib_cpu + len), vce_config_ext, sizeof(vce_config_ext));
+	len += sizeof(vce_config_ext) / 4;
+	memcpy((context->ib_cpu + len), vce_motion_est, sizeof(vce_motion_est));
+	len += sizeof(vce_motion_est) / 4;
+	memcpy((context->ib_cpu + len), vce_rdo, sizeof(vce_rdo));
+	len += sizeof(vce_rdo) / 4;
+	memcpy((context->ib_cpu + len), vce_pic_ctrl, sizeof(vce_pic_ctrl));
+	if (is_mv_supported == true)
+		context->ib_cpu[len + 27] = 0x00000001; /* encSliceMode */
+	len += sizeof(vce_pic_ctrl) / 4;
+
+	r = submit(device_handle, context, len, AMDGPU_HW_IP_VCE);
+	igt_assert_eq(r, 0);
+}
+
+static void amdgpu_cs_vce_encode_idr(amdgpu_device_handle device_handle,
+		struct mmd_context *context, struct amdgpu_vce_encode *enc)
+{
+
+	uint64_t luma_offset, chroma_offset;
+	unsigned int align = (context->family_id >= AMDGPU_FAMILY_AI) ? 256 : 16;
+	unsigned int luma_size = ALIGN(enc->width, align) * ALIGN(enc->height, 16);
+	int len = 0, i, r;
+
+	luma_offset = enc->vbuf.addr;
+	chroma_offset = luma_offset + luma_size;
+
+	memcpy((context->ib_cpu + len), vce_session, sizeof(vce_session));
+	len += sizeof(vce_session) / 4;
+	memcpy((context->ib_cpu + len), vce_taskinfo, sizeof(vce_taskinfo));
+	len += sizeof(vce_taskinfo) / 4;
+	memcpy((context->ib_cpu + len), vce_bs_buffer, sizeof(vce_bs_buffer));
+	context->ib_cpu[len + 2] = enc->bs[0].addr >> 32;
+	context->ib_cpu[len + 3] = enc->bs[0].addr;
+	len += sizeof(vce_bs_buffer) / 4;
+	memcpy((context->ib_cpu + len), vce_context_buffer, sizeof(vce_context_buffer));
+	context->ib_cpu[len + 2] = enc->cpb.addr >> 32;
+	context->ib_cpu[len + 3] = enc->cpb.addr;
+	len += sizeof(vce_context_buffer) / 4;
+	memcpy((context->ib_cpu + len), vce_aux_buffer, sizeof(vce_aux_buffer));
+	for (i = 0; i <  8; ++i)
+		context->ib_cpu[len + 2 + i] = luma_size * 1.5 * (i + 2);
+	for (i = 0; i <  8; ++i)
+		context->ib_cpu[len + 10 + i] = luma_size * 1.5;
+	len += sizeof(vce_aux_buffer) / 4;
+	memcpy((context->ib_cpu + len), vce_feedback, sizeof(vce_feedback));
+	context->ib_cpu[len + 2] = enc->fb[0].addr >> 32;
+	context->ib_cpu[len + 3] = enc->fb[0].addr;
+	len += sizeof(vce_feedback) / 4;
+	memcpy((context->ib_cpu + len), vce_encode, sizeof(vce_encode));
+	context->ib_cpu[len + 9] = luma_offset >> 32;
+	context->ib_cpu[len + 10] = luma_offset;
+	context->ib_cpu[len + 11] = chroma_offset >> 32;
+	context->ib_cpu[len + 12] = chroma_offset;
+	context->ib_cpu[len + 14] = ALIGN(enc->width, align);
+	context->ib_cpu[len + 15] = ALIGN(enc->width, align);
+	context->ib_cpu[len + 73] = luma_size * 1.5;
+	context->ib_cpu[len + 74] = luma_size * 2.5;
+	len += sizeof(vce_encode) / 4;
+	enc->ib_len = len;
+	if (!enc->two_instance) {
+		r = submit(device_handle, context, len, AMDGPU_HW_IP_VCE);
+		igt_assert_eq(r, 0);
+	}
+}
+
+static void amdgpu_cs_vce_encode_p(amdgpu_device_handle device_handle,
+		struct mmd_context *context, struct amdgpu_vce_encode *enc)
+{
+	uint64_t luma_offset, chroma_offset;
+	int len, i, r;
+	unsigned int align = (context->family_id >= AMDGPU_FAMILY_AI) ? 256 : 16;
+	unsigned int luma_size = ALIGN(enc->width, align) * ALIGN(enc->height, 16);
+
+	len = (enc->two_instance) ? enc->ib_len : 0;
+	luma_offset = enc->vbuf.addr;
+	chroma_offset = luma_offset + luma_size;
+
+	if (!enc->two_instance) {
+		memcpy((context->ib_cpu + len), vce_session, sizeof(vce_session));
+		len += sizeof(vce_session) / 4;
+	}
+	memcpy((context->ib_cpu + len), vce_taskinfo, sizeof(vce_taskinfo));
+	len += sizeof(vce_taskinfo) / 4;
+	memcpy((context->ib_cpu + len), vce_bs_buffer, sizeof(vce_bs_buffer));
+	context->ib_cpu[len + 2] = enc->bs[1].addr >> 32;
+	context->ib_cpu[len + 3] = enc->bs[1].addr;
+	len += sizeof(vce_bs_buffer) / 4;
+	memcpy((context->ib_cpu + len), vce_context_buffer, sizeof(vce_context_buffer));
+	context->ib_cpu[len + 2] = enc->cpb.addr >> 32;
+	context->ib_cpu[len + 3] = enc->cpb.addr;
+	len += sizeof(vce_context_buffer) / 4;
+	memcpy((context->ib_cpu + len), vce_aux_buffer, sizeof(vce_aux_buffer));
+	for (i = 0; i <  8; ++i)
+		context->ib_cpu[len + 2 + i] = luma_size * 1.5 * (i + 2);
+	for (i = 0; i <  8; ++i)
+		context->ib_cpu[len + 10 + i] = luma_size * 1.5;
+	len += sizeof(vce_aux_buffer) / 4;
+	memcpy((context->ib_cpu + len), vce_feedback, sizeof(vce_feedback));
+	context->ib_cpu[len + 2] = enc->fb[1].addr >> 32;
+	context->ib_cpu[len + 3] = enc->fb[1].addr;
+	len += sizeof(vce_feedback) / 4;
+	memcpy((context->ib_cpu + len), vce_encode, sizeof(vce_encode));
+	context->ib_cpu[len + 2] = 0;
+	context->ib_cpu[len + 9] = luma_offset >> 32;
+	context->ib_cpu[len + 10] = luma_offset;
+	context->ib_cpu[len + 11] = chroma_offset >> 32;
+	context->ib_cpu[len + 12] = chroma_offset;
+	context->ib_cpu[len + 14] = ALIGN(enc->width, align);
+	context->ib_cpu[len + 15] = ALIGN(enc->width, align);
+	context->ib_cpu[len + 18] = 0;
+	context->ib_cpu[len + 19] = 0;
+	context->ib_cpu[len + 56] = 3;
+	context->ib_cpu[len + 57] = 0;
+	context->ib_cpu[len + 58] = 0;
+	context->ib_cpu[len + 59] = luma_size * 1.5;
+	context->ib_cpu[len + 60] = luma_size * 2.5;
+	context->ib_cpu[len + 73] = 0;
+	context->ib_cpu[len + 74] = luma_size;
+	context->ib_cpu[len + 81] = 1;
+	context->ib_cpu[len + 82] = 1;
+	len += sizeof(vce_encode) / 4;
+
+	r = submit(device_handle, context, len, AMDGPU_HW_IP_VCE);
+	igt_assert_eq(r, 0);
+}
+
+static void check_result(struct amdgpu_vce_encode *enc)
+{
+	uint64_t sum;
+	uint32_t s[2] = {180325, 15946};
+	uint32_t *ptr, size;
+	int i, j, r;
+
+	for (i = 0; i < 2; ++i) {
+		r = amdgpu_bo_cpu_map(enc->fb[i].handle, (void **)&enc->fb[i].ptr);
+		igt_assert_eq(r, 0);
+		ptr = (uint32_t *)enc->fb[i].ptr;
+		size = ptr[4] - ptr[9];
+		r = amdgpu_bo_cpu_unmap(enc->fb[i].handle);
+		igt_assert_eq(r, 0);
+		r = amdgpu_bo_cpu_map(enc->bs[i].handle, (void **)&enc->bs[i].ptr);
+		igt_assert_eq(r, 0);
+		for (j = 0, sum = 0; j < size; ++j)
+			sum += enc->bs[i].ptr[j];
+		igt_assert_eq(sum, s[i]);
+		r = amdgpu_bo_cpu_unmap(enc->bs[i].handle);
+		igt_assert_eq(r, 0);
+	}
+}
+
+static void
+amdgpu_cs_vce_encode(amdgpu_device_handle device_handle, struct mmd_context *context,
+		struct amdgpu_vce_encode *enc, bool is_mv_supported)
+{
+	uint32_t vbuf_size, bs_size = 0x154000, cpb_size;
+	unsigned int align = (context->family_id >= AMDGPU_FAMILY_AI) ? 256 : 16;
+	int i, r;
+
+	vbuf_size = ALIGN(enc->width, align) * ALIGN(enc->height, 16) * 1.5;
+	cpb_size = vbuf_size * 10;
+	context->num_resources = 0;
+	alloc_resource(device_handle, &enc->fb[0], 4096, AMDGPU_GEM_DOMAIN_GTT);
+	context->resources[context->num_resources++] = enc->fb[0].handle;
+	alloc_resource(device_handle, &enc->fb[1], 4096, AMDGPU_GEM_DOMAIN_GTT);
+	context->resources[context->num_resources++] = enc->fb[1].handle;
+	alloc_resource(device_handle, &enc->bs[0], bs_size, AMDGPU_GEM_DOMAIN_GTT);
+	context->resources[context->num_resources++] = enc->bs[0].handle;
+	alloc_resource(device_handle, &enc->bs[1], bs_size, AMDGPU_GEM_DOMAIN_GTT);
+	context->resources[context->num_resources++] = enc->bs[1].handle;
+	alloc_resource(device_handle, &enc->vbuf, vbuf_size, AMDGPU_GEM_DOMAIN_VRAM);
+	context->resources[context->num_resources++] = enc->vbuf.handle;
+	alloc_resource(device_handle, &enc->cpb, cpb_size, AMDGPU_GEM_DOMAIN_VRAM);
+	context->resources[context->num_resources++] = enc->cpb.handle;
+	context->resources[context->num_resources++] = context->ib_handle;
+
+	r = amdgpu_bo_cpu_map(enc->vbuf.handle, (void **)&enc->vbuf.ptr);
+	igt_assert_eq(r, 0);
+
+	memset(enc->vbuf.ptr, 0, vbuf_size);
+	for (i = 0; i < enc->height; ++i) {
+		memcpy(enc->vbuf.ptr, (frame + i * enc->width), enc->width);
+		enc->vbuf.ptr += ALIGN(enc->width, align);
+	}
+	for (i = 0; i < enc->height / 2; ++i) {
+		memcpy(enc->vbuf.ptr, ((frame + enc->height * enc->width) +
+				i * enc->width), enc->width);
+		enc->vbuf.ptr += ALIGN(enc->width, align);
+	}
+
+	r = amdgpu_bo_cpu_unmap(enc->vbuf.handle);
+	igt_assert_eq(r, 0);
+
+	amdgpu_cs_vce_config(device_handle, context, is_mv_supported);
+
+	if (context->family_id >= AMDGPU_FAMILY_VI) {
+		vce_taskinfo[3] = 3;
+		amdgpu_cs_vce_encode_idr(device_handle, context, enc);
+		amdgpu_cs_vce_encode_p(device_handle, context, enc);
+		check_result(enc);
+
+		/* two pipes */
+		vce_encode[16] = 0;
+		amdgpu_cs_vce_encode_idr(device_handle, context, enc);
+		amdgpu_cs_vce_encode_p(device_handle, context, enc);
+		check_result(enc);
+
+		/* two instances */
+		if (context->vce_harvest_config == 0) {
+			enc->two_instance = true;
+			vce_taskinfo[2] = 0x83;
+			vce_taskinfo[4] = 1;
+			amdgpu_cs_vce_encode_idr(device_handle, context, enc);
+			vce_taskinfo[2] = 0xffffffff;
+			vce_taskinfo[4] = 2;
+			amdgpu_cs_vce_encode_p(device_handle, context, enc);
+			check_result(enc);
+		}
+	} else {
+		vce_taskinfo[3] = 3;
+		vce_encode[16] = 0;
+		amdgpu_cs_vce_encode_idr(device_handle, context, enc);
+		amdgpu_cs_vce_encode_p(device_handle, context, enc);
+		check_result(enc);
+	}
+
+	free_resource(&enc->fb[0]);
+	free_resource(&enc->fb[1]);
+	free_resource(&enc->bs[0]);
+	free_resource(&enc->bs[1]);
+	free_resource(&enc->vbuf);
+	free_resource(&enc->cpb);
+}
+
+static void amdgpu_cs_vce_mv(amdgpu_device_handle device_handle,
+		struct mmd_context *context, struct amdgpu_vce_encode *enc)
+{
+	uint64_t luma_offset, chroma_offset;
+	uint64_t mv_ref_luma_offset;
+	unsigned int align = (context->family_id >= AMDGPU_FAMILY_AI) ? 256 : 16;
+	unsigned int luma_size = ALIGN(enc->width, align) * ALIGN(enc->height, 16);
+	int len = 0, i, r;
+
+	luma_offset = enc->vbuf.addr;
+	chroma_offset = luma_offset + luma_size;
+	mv_ref_luma_offset = enc->mvrefbuf.addr;
+
+	memcpy((context->ib_cpu + len), vce_session, sizeof(vce_session));
+	len += sizeof(vce_session) / 4;
+	memcpy((context->ib_cpu + len), vce_taskinfo, sizeof(vce_taskinfo));
+	len += sizeof(vce_taskinfo) / 4;
+	memcpy((context->ib_cpu + len), vce_bs_buffer, sizeof(vce_bs_buffer));
+	context->ib_cpu[len + 2] = enc->bs[0].addr >> 32;
+	context->ib_cpu[len + 3] = enc->bs[0].addr;
+	len += sizeof(vce_bs_buffer) / 4;
+	memcpy((context->ib_cpu + len), vce_context_buffer, sizeof(vce_context_buffer));
+	context->ib_cpu[len + 2] = enc->cpb.addr >> 32;
+	context->ib_cpu[len + 3] = enc->cpb.addr;
+	len += sizeof(vce_context_buffer) / 4;
+	memcpy((context->ib_cpu + len), vce_aux_buffer, sizeof(vce_aux_buffer));
+	for (i = 0; i <  8; ++i)
+		context->ib_cpu[len + 2 + i] = luma_size * 1.5 * (i + 2);
+	for (i = 0; i <  8; ++i)
+		context->ib_cpu[len + 10 + i] = luma_size * 1.5;
+	len += sizeof(vce_aux_buffer) / 4;
+	memcpy((context->ib_cpu + len), vce_feedback, sizeof(vce_feedback));
+	context->ib_cpu[len + 2] = enc->fb[0].addr >> 32;
+	context->ib_cpu[len + 3] = enc->fb[0].addr;
+	len += sizeof(vce_feedback) / 4;
+	memcpy((context->ib_cpu + len), vce_mv_buffer, sizeof(vce_mv_buffer));
+	context->ib_cpu[len + 2] = mv_ref_luma_offset >> 32;
+	context->ib_cpu[len + 3] = mv_ref_luma_offset;
+	context->ib_cpu[len + 4] = ALIGN(enc->width, align);
+	context->ib_cpu[len + 5] = ALIGN(enc->width, align);
+	context->ib_cpu[len + 6] = luma_size;
+	context->ib_cpu[len + 7] = enc->mvb.addr >> 32;
+	context->ib_cpu[len + 8] = enc->mvb.addr;
+	len += sizeof(vce_mv_buffer) / 4;
+	memcpy((context->ib_cpu + len), vce_encode, sizeof(vce_encode));
+	context->ib_cpu[len + 2] = 0;
+	context->ib_cpu[len + 3] = 0;
+	context->ib_cpu[len + 4] = 0x154000;
+	context->ib_cpu[len + 9] = luma_offset >> 32;
+	context->ib_cpu[len + 10] = luma_offset;
+	context->ib_cpu[len + 11] = chroma_offset >> 32;
+	context->ib_cpu[len + 12] = chroma_offset;
+	context->ib_cpu[len + 13] = ALIGN(enc->height, 16);
+	context->ib_cpu[len + 14] = ALIGN(enc->width, align);
+	context->ib_cpu[len + 15] = ALIGN(enc->width, align);
+	/* encDisableMBOffloading-encDisableTwoPipeMode-encInputPicArrayMode-encInputPicAddrMode */
+	context->ib_cpu[len + 16] = 0x01010000;
+	context->ib_cpu[len + 18] = 0; /* encPicType */
+	context->ib_cpu[len + 19] = 0; /* encIdrFlag */
+	context->ib_cpu[len + 20] = 0; /* encIdrPicId */
+	context->ib_cpu[len + 21] = 0; /* encMGSKeyPic */
+	context->ib_cpu[len + 22] = 0; /* encReferenceFlag */
+	context->ib_cpu[len + 23] = 0; /* encTemporalLayerIndex */
+	context->ib_cpu[len + 55] = 0; /* pictureStructure */
+	context->ib_cpu[len + 56] = 0; /* encPicType -ref[0] */
+	context->ib_cpu[len + 61] = 0; /* pictureStructure */
+	context->ib_cpu[len + 62] = 0; /* encPicType -ref[1] */
+	context->ib_cpu[len + 67] = 0; /* pictureStructure */
+	context->ib_cpu[len + 68] = 0; /* encPicType -ref1 */
+	context->ib_cpu[len + 81] = 1; /* frameNumber */
+	context->ib_cpu[len + 82] = 2; /* pictureOrderCount */
+	context->ib_cpu[len + 83] = 0xffffffff; /* numIPicRemainInRCGOP */
+	context->ib_cpu[len + 84] = 0xffffffff; /* numPPicRemainInRCGOP */
+	context->ib_cpu[len + 85] = 0xffffffff; /* numBPicRemainInRCGOP */
+	context->ib_cpu[len + 86] = 0xffffffff; /* numIRPicRemainInRCGOP */
+	context->ib_cpu[len + 87] = 0; /* remainedIntraRefreshPictures */
+	len += sizeof(vce_encode) / 4;
+
+	enc->ib_len = len;
+	r = submit(device_handle, context, len, AMDGPU_HW_IP_VCE);
+	igt_assert_eq(r, 0);
+}
+
+static void check_mv_result(struct amdgpu_vce_encode *enc)
+{
+	uint64_t sum;
+	uint32_t s = 140790;
+	int j, r;
+
+	r = amdgpu_bo_cpu_map(enc->fb[0].handle, (void **)&enc->fb[0].ptr);
+	igt_assert_eq(r, 0);
+	r = amdgpu_bo_cpu_unmap(enc->fb[0].handle);
+	igt_assert_eq(r, 0);
+	r = amdgpu_bo_cpu_map(enc->mvb.handle, (void **)&enc->mvb.ptr);
+	igt_assert_eq(r, 0);
+	for (j = 0, sum = 0; j < enc->mvbuf_size; ++j)
+		sum += enc->mvb.ptr[j];
+	igt_assert_eq(sum, s);
+	r = amdgpu_bo_cpu_unmap(enc->mvb.handle);
+	igt_assert_eq(r, 0);
+}
+
+static void
+amdgpu_cs_vce_encode_mv(amdgpu_device_handle device_handle, struct mmd_context *context,
+		struct amdgpu_vce_encode *enc, bool is_mv_supported)
+{
+	uint32_t vbuf_size, bs_size = 0x154000, cpb_size;
+	unsigned int align = (context->family_id >= AMDGPU_FAMILY_AI) ? 256 : 16;
+	int i, r;
+
+	vbuf_size = ALIGN(enc->width, align) * ALIGN(enc->height, 16) * 1.5;
+	enc->mvbuf_size = ALIGN(enc->width, 16) * ALIGN(enc->height, 16) / 8;
+	cpb_size = vbuf_size * 10;
+	context->num_resources = 0;
+	alloc_resource(device_handle, &enc->fb[0], 4096, AMDGPU_GEM_DOMAIN_GTT);
+	context->resources[context->num_resources++] = enc->fb[0].handle;
+	alloc_resource(device_handle, &enc->bs[0], bs_size, AMDGPU_GEM_DOMAIN_GTT);
+	context->resources[context->num_resources++] = enc->bs[0].handle;
+	alloc_resource(device_handle, &enc->mvb, enc->mvbuf_size, AMDGPU_GEM_DOMAIN_GTT);
+	context->resources[context->num_resources++] = enc->mvb.handle;
+	alloc_resource(device_handle, &enc->vbuf, vbuf_size, AMDGPU_GEM_DOMAIN_VRAM);
+	context->resources[context->num_resources++] = enc->vbuf.handle;
+	alloc_resource(device_handle, &enc->mvrefbuf, vbuf_size, AMDGPU_GEM_DOMAIN_VRAM);
+	context->resources[context->num_resources++] = enc->mvrefbuf.handle;
+	alloc_resource(device_handle, &enc->cpb, cpb_size, AMDGPU_GEM_DOMAIN_VRAM);
+	context->resources[context->num_resources++] = enc->cpb.handle;
+	context->resources[context->num_resources++] = context->ib_handle;
+
+	r = amdgpu_bo_cpu_map(enc->vbuf.handle, (void **)&enc->vbuf.ptr);
+	igt_assert_eq(r, 0);
+
+	memset(enc->vbuf.ptr, 0, vbuf_size);
+	for (i = 0; i < enc->height; ++i) {
+		memcpy(enc->vbuf.ptr, (frame + i * enc->width), enc->width);
+		enc->vbuf.ptr += ALIGN(enc->width, align);
+	}
+	for (i = 0; i < enc->height / 2; ++i) {
+		memcpy(enc->vbuf.ptr, ((frame + enc->height * enc->width) + i * enc->width), enc->width);
+		enc->vbuf.ptr += ALIGN(enc->width, align);
+	}
+
+	r = amdgpu_bo_cpu_unmap(enc->vbuf.handle);
+	igt_assert_eq(r, 0);
+
+	r = amdgpu_bo_cpu_map(enc->mvrefbuf.handle, (void **)&enc->mvrefbuf.ptr);
+	igt_assert_eq(r, 0);
+
+	memset(enc->mvrefbuf.ptr, 0, vbuf_size);
+	for (i = 0; i < enc->height; ++i) {
+		memcpy(enc->mvrefbuf.ptr, (frame + (enc->height - i - 1) * enc->width), enc->width);
+		enc->mvrefbuf.ptr += ALIGN(enc->width, align);
+	}
+	for (i = 0; i < enc->height / 2; ++i) {
+		memcpy(enc->mvrefbuf.ptr,
+		((frame + enc->height * enc->width) + (enc->height / 2 - i - 1) * enc->width), enc->width);
+		enc->mvrefbuf.ptr += ALIGN(enc->width, align);
+	}
+
+	r = amdgpu_bo_cpu_unmap(enc->mvrefbuf.handle);
+	igt_assert_eq(r, 0);
+
+	amdgpu_cs_vce_config(device_handle, context, is_mv_supported);
+
+	vce_taskinfo[3] = 3;
+	amdgpu_cs_vce_mv(device_handle, context, enc);
+	check_mv_result(enc);
+
+	free_resource(&enc->fb[0]);
+	free_resource(&enc->bs[0]);
+	free_resource(&enc->vbuf);
+	free_resource(&enc->cpb);
+	free_resource(&enc->mvrefbuf);
+	free_resource(&enc->mvb);
+}
+
+static void
+amdgpu_cs_vce_destroy(amdgpu_device_handle device_handle, struct mmd_context *context,
+		struct amdgpu_vce_encode *enc)
+{
+	int len, r;
+
+	context->num_resources  = 0;
+	alloc_resource(device_handle, &enc->fb[0], 4096, AMDGPU_GEM_DOMAIN_GTT);
+	context->resources[context->num_resources++] = enc->fb[0].handle;
+	context->resources[context->num_resources++] = context->ib_handle;
+
+	len = 0;
+	memcpy(context->ib_cpu, vce_session, sizeof(vce_session));
+	len += sizeof(vce_session) / 4;
+	memcpy((context->ib_cpu + len), vce_taskinfo, sizeof(vce_taskinfo));
+	context->ib_cpu[len + 3] = 1;
+	len += sizeof(vce_taskinfo) / 4;
+	memcpy((context->ib_cpu + len), vce_feedback, sizeof(vce_feedback));
+	context->ib_cpu[len + 2] = enc->fb[0].addr >> 32;
+	context->ib_cpu[len + 3] = enc->fb[0].addr;
+	len += sizeof(vce_feedback) / 4;
+	memcpy((context->ib_cpu + len), vce_destroy, sizeof(vce_destroy));
+	len += sizeof(vce_destroy) / 4;
+
+	r = submit(device_handle, context, len, AMDGPU_HW_IP_VCE);
+	igt_assert_eq(r, 0);
+
+	free_resource(&enc->fb[0]);
+}
+
+igt_main
+{
+	amdgpu_device_handle device;
+	struct mmd_context context = {};
+	struct amdgpu_vce_encode enc = {};
+	int fd = -1;
+	bool is_mv_supported = false;
+
+	igt_fixture {
+		uint32_t major, minor;
+		int err;
+
+		fd = drm_open_driver(DRIVER_AMDGPU);
+		err = amdgpu_device_initialize(fd, &major, &minor, &device);
+		igt_require(err == 0);
+		igt_info("Initialized amdgpu, driver version %d.%d\n",
+			 major, minor);
+		err = mmd_context_init(device, &context);
+		igt_require(err == 0);
+		igt_skip_on(!is_vce_tests_enable(device, context.family_id, context.chip_id,
+				context.chip_rev, &is_mv_supported));
+	}
+	igt_describe("Test whether vce enc is created");
+	igt_subtest("amdgpu_cs_vce_create")
+	amdgpu_cs_vce_create(device, &enc, &context, is_mv_supported);
+
+	igt_describe("Test whether vce enc encodes");
+	igt_subtest("amdgpu_cs_vce_encode")
+	amdgpu_cs_vce_encode(device, &context, &enc,  is_mv_supported);
+
+	if (is_mv_supported) {
+		igt_describe("Test whether vce enc encodes mv");
+		igt_subtest("amdgpu_cs_vce_encode_mv")
+		amdgpu_cs_vce_encode_mv(device, &context, &enc, is_mv_supported);
+	}
+
+	igt_describe("Test whether vce enc is destroyed");
+	igt_subtest("amdgpu_cs_vce_destroy")
+	amdgpu_cs_vce_destroy(device, &context, &enc);
+
+
+	igt_fixture {
+		mmd_context_clean(device, &context);
+		amdgpu_device_deinitialize(device);
+		drm_close_driver(fd);
+	}
+
+}
diff --git a/tests/amdgpu/meson.build b/tests/amdgpu/meson.build
index 576333aab..e6e6eaabf 100644
--- a/tests/amdgpu/meson.build
+++ b/tests/amdgpu/meson.build
@@ -26,6 +26,7 @@ if libdrm_amdgpu.found()
 			  'amd_psr',
 			  'amd_uvd_dec',
 			  'amd_uvd_enc',
+			  'amd_vce_dec',
 			  'amd_vrr_range',
 			]
 	amdgpu_deps += libdrm_amdgpu
-- 
2.25.1

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-07-06 15:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-06  9:55 [igt-dev] [PATCH i-g-t] tests/amdgpu: add vce decoder test vitaly.prosyak
2023-07-06 11:20 ` [igt-dev] ✓ Fi.CI.BAT: success for tests/amdgpu: add vce decoder test (rev2) Patchwork
2023-07-06 12:08 ` [igt-dev] ○ CI.xeBAT: info " Patchwork
2023-07-06 15:00 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
  -- strict thread matches above, loose matches on Subject: below --
2023-07-06  1:11 [igt-dev] [PATCH i-g-t] tests/amdgpu: add vce decoder test vitaly.prosyak

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.