Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH] tests/amdgpu: add security tests
@ 2023-07-26 23:26 vitaly.prosyak
  2023-07-27  0:58 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: vitaly.prosyak @ 2023-07-26 23:26 UTC (permalink / raw)
  To: igt-dev; +Cc: alexander.deucher, luben.tuikov, christian.koenig, aaron.liu

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

Ported and refactored drmlib security tests and  the following is done:

1. Remove everywhere global variables.
2. Reuse common functions from amd_command_submission.c
3. Reuse IGT igt_fixture functions.
4. Properly formatted code to meet IGT guidelines.

Cc: Aaron Liu <aaron.liu@amd.com>
Cc: Luben Tuikov <luben.tuikov@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: Christian Koenig <christian.koenig@amd.com>

Signed-off-by: Vitaly Prosyak <vitaly.prosyak@amd.com>
---
 lib/amdgpu/amd_ip_blocks.c  |   3 +-
 tests/amdgpu/amd_security.c | 390 ++++++++++++++++++++++++++++++++++++
 tests/amdgpu/meson.build    |   1 +
 3 files changed, 392 insertions(+), 2 deletions(-)
 create mode 100644 tests/amdgpu/amd_security.c

diff --git a/lib/amdgpu/amd_ip_blocks.c b/lib/amdgpu/amd_ip_blocks.c
index 1249551cc..bf003b820 100644
--- a/lib/amdgpu/amd_ip_blocks.c
+++ b/lib/amdgpu/amd_ip_blocks.c
@@ -669,6 +669,7 @@ int setup_amdgpu_ip_blocks(uint32_t major, uint32_t minor, struct amdgpu_gpu_inf
 	case GFX8: /* tested */
 	case GFX9: /* tested */
 	case GFX10:/* tested */
+	case GFX10_3: /*to be tested*/
 		amdgpu_device_ip_block_add(&gfx_v8_x_ip_block);
 		amdgpu_device_ip_block_add(&compute_v8_x_ip_block);
 		amdgpu_device_ip_block_add(&sdma_v3_x_ip_block);
@@ -680,8 +681,6 @@ int setup_amdgpu_ip_blocks(uint32_t major, uint32_t minor, struct amdgpu_gpu_inf
 		igt_assert_eq(gfx_v8_x_ip_block.funcs->family_id, FAMILY_VI);
 		igt_assert_eq(sdma_v3_x_ip_block.funcs->family_id, FAMILY_VI);
 		break;
-	case GFX10_3:
-		break;
 	default:
 		igt_info("amdgpu: GFX or old.\n");
 		return -1;
diff --git a/tests/amdgpu/amd_security.c b/tests/amdgpu/amd_security.c
new file mode 100644
index 000000000..210f41675
--- /dev/null
+++ b/tests/amdgpu/amd_security.c
@@ -0,0 +1,390 @@
+// SPDX-License-Identifier: MIT
+/*
+ * Copyright 2023 Advanced Micro Devices, Inc.
+ * Copyright 2019 Advanced Micro Devices, Inc.
+ */
+
+#include <amdgpu.h>
+
+#include "igt.h"
+
+#include "lib/amdgpu/amd_memory.h"
+#include "lib/amdgpu/amd_command_submission.h"
+
+/* --------------------- Secure bounce test ------------------------ *
+ *
+ * The secure bounce test tests that we can evict a TMZ buffer,
+ * and page it back in, via a bounce buffer, as it encryption/decryption
+ * depends on its physical address, and have the same data, i.e. data
+ * integrity is preserved.
+ *
+ * The steps are as follows (from Christian K.):
+ *
+ * Buffer A which is TMZ protected and filled by the CPU with a
+ * certain pattern. That the GPU is reading only random nonsense from
+ * that pattern is irrelevant for the test.
+ *
+ * This buffer A is then secure copied into buffer B which is also
+ * TMZ protected.
+ *
+ * Buffer B is moved around, from VRAM to GTT, GTT to SYSTEM,
+ * etc.
+ *
+ * Then, we use another secure copy of buffer B back to buffer A.
+ *
+ * And lastly we check with the CPU the pattern.
+ *
+ * Assuming that we don't have memory contention and buffer A stayed
+ * at the same place, we should still see the same pattern when read
+ * by the CPU.
+ *
+ * If we don't see the same pattern then something in the buffer
+ * migration code is not working as expected.
+ */
+
+#define PACKET_LCOPY_SIZE         8
+#define PACKET_NOP_SIZE          16
+#define SECURE_BUFFER_SIZE       (4 * 1024 * sizeof(secure_pattern))
+
+struct amdgpu_bo_dublicate {
+	int32_t refcount;
+	void *dev;
+
+	uint64_t alloc_size;
+
+	uint32_t handle;
+	uint32_t flink_name;
+
+	pthread_mutex_t cpu_access_mutex;
+	void *cpu_ptr;
+	int64_t cpu_map_count;
+};
+
+/*
+ *	temp. ugly hack to retrieve the handle of bo using offset
+ *	TODO add new method to drmlib set_placement
+ */
+static uint32_t
+get_handle(struct amdgpu_bo *bo)
+{
+	struct amdgpu_bo_dublicate *bod = (struct amdgpu_bo_dublicate *)bo;
+
+	return bod->handle;
+}
+
+static void
+amdgpu_sdma_lcopy(uint32_t *packet, uint64_t dst, uint64_t src, uint32_t size,
+				uint32_t secure)
+{
+	/* Set the packet to Linear copy with TMZ set.
+	 */
+	packet[0] = htole32(secure << 18 | 1);
+	packet[1] = htole32(size-1);
+	packet[2] = htole32(0);
+	packet[3] = htole32((uint32_t)(src & 0xFFFFFFFFU));
+	packet[4] = htole32((uint32_t)(src >> 32));
+	packet[5] = htole32((uint32_t)(dst & 0xFFFFFFFFU));
+	packet[6] = htole32((uint32_t)(dst >> 32));
+	packet[7] = htole32(0);
+}
+
+static void
+amdgpu_sdma_nop(uint32_t *packet, uint32_t nop_count)
+{
+	/* A packet of the desired number of NOPs.
+	 */
+	packet[0] = htole32(nop_count << 16);
+	for ( ; nop_count > 0; nop_count--)
+		packet[nop_count-1] = 0;
+}
+
+/**
+ * amdgpu_bo_lcopy -- linear copy with TMZ set, using sDMA
+ * @dev: AMDGPU device to which both buffer objects belong to
+ * @ring_context: aux struct which has destination and source buffer objects
+ * @size: size of memory to move, in bytes.
+ * @secure: Set to 1 to perform secure copy, 0 for clear
+ *
+ * Issues and waits for completion of a Linear Copy with TMZ
+ * set, to the sDMA engine. @size should be a multiple of
+ * at least 16 bytes.
+ */
+static void
+amdgpu_bo_lcopy(amdgpu_device_handle device,
+		struct amdgpu_ring_context *ring_context,
+		const struct amdgpu_ip_block_version *ip_block, uint32_t size,
+		uint32_t secure)
+{
+	ring_context->pm4 = calloc(PACKET_LCOPY_SIZE, sizeof(*ring_context->pm4));
+	ring_context->secure = secure;
+	ring_context->pm4_size = PACKET_LCOPY_SIZE;
+	ring_context->res_cnt = 2;
+	igt_assert(ring_context->pm4);
+
+	amdgpu_sdma_lcopy(ring_context->pm4, ring_context->bo_mc2,
+			ring_context->bo_mc, size, secure);
+	amdgpu_test_exec_cs_helper(device, ip_block->type, ring_context);
+	free(ring_context->pm4);
+}
+
+/**
+ * amdgpu_bo_move -- Evoke a move of the buffer object (BO)
+ * @dev: device to which this buffer object belongs to
+ * @ring_context: aux struct which has destination and source buffer objects
+ * @whereto: one of AMDGPU_GEM_DOMAIN_xyz
+ * @secure: set to 1 to submit secure IBs
+ *
+ * Evokes a move of the buffer object @bo to the GEM domain
+ * descibed by @whereto.
+ *
+ * Returns 0 on success; -errno on error.
+ */
+static void
+amdgpu_bo_move(
+		amdgpu_device_handle device,
+		int fd,
+		struct amdgpu_ring_context *ring_context,
+		const struct amdgpu_ip_block_version *ip_block,
+		uint64_t whereto, uint32_t secure)
+{
+	int r;
+	struct drm_amdgpu_gem_op gop = {
+		.handle  = get_handle(ring_context->bo2),
+		.op      = AMDGPU_GEM_OP_SET_PLACEMENT,
+		.value   = whereto,
+	};
+
+	ring_context->pm4 = calloc(PACKET_NOP_SIZE, sizeof(*ring_context->pm4));
+	ring_context->secure = secure;
+	ring_context->pm4_size = PACKET_NOP_SIZE;
+	ring_context->res_cnt = 1;
+	igt_assert(ring_context->pm4);
+
+	/* Change the buffer's placement.
+	 */
+	r = drmIoctl(fd, DRM_IOCTL_AMDGPU_GEM_OP, &gop);
+	igt_assert_eq(r, 0);
+
+	/* Now issue a NOP to actually evoke the MM to move
+	 * it to the desired location.
+	 */
+	amdgpu_sdma_nop(ring_context->pm4, PACKET_NOP_SIZE);
+	amdgpu_test_exec_cs_helper(device, ip_block->type, ring_context);
+	free(ring_context->pm4);
+}
+
+/* Safe, O Sec!
+ */
+static const uint8_t secure_pattern[] = { 0x5A, 0xFE, 0x05, 0xEC };
+
+
+
+static void
+amdgpu_secure_bounce(amdgpu_device_handle device_handle, int fd,
+		struct drm_amdgpu_info_hw_ip  *sdma_info,
+		const struct amdgpu_ip_block_version *ip_block, bool secure)
+{
+	struct amdgpu_ring_context *ring_context;
+
+	long page_size;
+	uint8_t *pp;
+	int r;
+
+	ring_context = calloc(1, sizeof(*ring_context));
+	igt_assert(ring_context);
+
+	page_size = sysconf(_SC_PAGESIZE);
+	r = amdgpu_cs_ctx_create(device_handle, &ring_context->context_handle);
+	igt_assert_eq(r, 0);
+
+	/* Use the first present ring.
+	 */
+	ring_context->ring_id = ffs(sdma_info->available_rings) - 1;
+	if (ring_context->ring_id == -1)
+		igt_assert(false);
+
+
+	/* Allocate a buffer named Alice (bo, bo_cpu, bo_mc) in VRAM. */
+	r = amdgpu_bo_alloc_and_map_raw(device_handle, SECURE_BUFFER_SIZE,
+						page_size,	AMDGPU_GEM_DOMAIN_VRAM,
+						secure == true ? AMDGPU_GEM_CREATE_ENCRYPTED : 0, 0,
+						&ring_context->bo,
+						(void **)&ring_context->bo_cpu,
+						&ring_context->bo_mc,
+						&ring_context->va_handle);
+	igt_assert_eq(r, 0);
+
+	/* Fill Alice with a pattern */
+	for (pp = (__typeof__(pp))ring_context->bo_cpu;
+	     pp < (__typeof__(pp)) ring_context->bo_cpu + SECURE_BUFFER_SIZE;
+	     pp += sizeof(secure_pattern))
+		memcpy(pp, secure_pattern, sizeof(secure_pattern));
+
+	/* Allocate a buffer named Bob(bo2, bo_cpu2, bo_mc2)  in VRAM.
+	 */
+	r = amdgpu_bo_alloc_and_map_raw(device_handle, SECURE_BUFFER_SIZE,
+						page_size,	AMDGPU_GEM_DOMAIN_VRAM,
+						secure == true ? AMDGPU_GEM_CREATE_ENCRYPTED : 0, 0,
+						&ring_context->bo2,
+						(void **)&ring_context->bo2_cpu,
+						&ring_context->bo_mc2,
+						&ring_context->va_handle2);
+	igt_assert_eq(r, 0);
+
+	/* sDMA TMZ copy from Alice to Bob */
+	ring_context->resources[0] = ring_context->bo2;	// Bob
+	ring_context->resources[1] = ring_context->bo;	// Alice
+
+	amdgpu_bo_lcopy(device_handle, ring_context, ip_block, SECURE_BUFFER_SIZE,
+			secure == true ? 1 : 0);
+
+	/* Verify the contents of Bob. */
+	for (pp = (__typeof__(pp))ring_context->bo2_cpu;
+	     pp < (__typeof__(pp)) ring_context->bo2_cpu + SECURE_BUFFER_SIZE;
+	     pp += sizeof(secure_pattern)) {
+		r = memcmp(pp, secure_pattern, sizeof(secure_pattern));
+		if (r) {
+			// test failure
+			igt_assert(false);
+			break;
+		}
+	}
+
+	/* Move Bob to the GTT domain. */
+
+	amdgpu_bo_move(device_handle, fd, ring_context, ip_block,
+			AMDGPU_GEM_DOMAIN_GTT, 0);
+
+	/* sDMA TMZ copy from Bob to Alice.
+	 * bo is a source ,bo2 is destination
+	 */
+
+	ring_context->resources[0] = ring_context->bo; // Alice
+	ring_context->resources[1] = ring_context->bo2; // Bob
+
+	/* sDMA TMZ copy from Bob to Alice. */
+	amdgpu_bo_lcopy(device_handle, ring_context, ip_block, SECURE_BUFFER_SIZE,
+			secure == true ? 1 : 0);
+
+	/* Verify the contents of Alice */
+	for (pp = (__typeof__(pp))ring_context->bo_cpu;
+	     pp < (__typeof__(pp)) ring_context->bo_cpu + SECURE_BUFFER_SIZE;
+	     pp += sizeof(secure_pattern)) {
+		r = memcmp(pp, secure_pattern, sizeof(secure_pattern));
+		if (r) {
+			// test failure
+			igt_assert(false);
+			break;
+		}
+	}
+	amdgpu_bo_unmap_and_free(ring_context->bo, ring_context->va_handle,
+			ring_context->bo_mc, SECURE_BUFFER_SIZE);
+	amdgpu_bo_unmap_and_free(ring_context->bo2, ring_context->va_handle2,
+			ring_context->bo_mc2, SECURE_BUFFER_SIZE);
+	amdgpu_cs_ctx_free(ring_context->context_handle);
+	free(ring_context);
+}
+
+
+static void
+amdgpu_security_alloc_buf_test(amdgpu_device_handle device_handle)
+{
+	amdgpu_bo_handle bo;
+	amdgpu_va_handle va_handle;
+	uint64_t bo_mc;
+
+	/* Test secure buffer allocation in VRAM */
+	bo = gpu_mem_alloc(device_handle, 4096, 4096,
+			   AMDGPU_GEM_DOMAIN_VRAM,
+			   AMDGPU_GEM_CREATE_ENCRYPTED,
+			   &bo_mc, &va_handle);
+
+	gpu_mem_free(bo, va_handle, bo_mc, 4096);
+
+	/* Test secure buffer allocation in system memory */
+	bo = gpu_mem_alloc(device_handle, 4096, 4096,
+			   AMDGPU_GEM_DOMAIN_GTT,
+			   AMDGPU_GEM_CREATE_ENCRYPTED,
+			   &bo_mc, &va_handle);
+
+	gpu_mem_free(bo, va_handle, bo_mc, 4096);
+
+	/* Test secure buffer allocation in invisible VRAM */
+	bo = gpu_mem_alloc(device_handle, 4096, 4096,
+			   AMDGPU_GEM_DOMAIN_GTT,
+			   AMDGPU_GEM_CREATE_ENCRYPTED |
+			   AMDGPU_GEM_CREATE_NO_CPU_ACCESS,
+			   &bo_mc, &va_handle);
+
+	gpu_mem_free(bo, va_handle, bo_mc, 4096);
+}
+
+static bool
+is_security_tests_enable(amdgpu_device_handle device_handle,
+		const struct amdgpu_gpu_info *gpu_info, uint32_t major, uint32_t minor)
+{
+	bool enable = true;
+
+	if (!(gpu_info->ids_flags & AMDGPU_IDS_FLAGS_TMZ)) {
+		igt_info("Don't support TMZ (trust memory zone), security test is disabled\n");
+		enable = false;
+	}
+
+	if ((major < 3) ||
+		((major == 3) && (minor < 37))) {
+		igt_info("Don't support TMZ (trust memory zone), kernel DRM version (%d.%d)\n",
+				major, minor);
+		enable = false;
+	}
+
+	return enable;
+}
+
+igt_main
+{
+	amdgpu_device_handle device;
+	struct amdgpu_gpu_info gpu_info = {};
+	struct drm_amdgpu_info_hw_ip  sdma_info = {};
+	int r, fd = -1;
+	bool is_secure = true;
+
+	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 = amdgpu_query_gpu_info(device, &gpu_info);
+		igt_assert_eq(err, 0);
+		r = setup_amdgpu_ip_blocks(major, minor,  &gpu_info, device);
+		igt_assert_eq(r, 0);
+		r = amdgpu_query_hw_ip_info(device, AMDGPU_HW_IP_DMA, 0, &sdma_info);
+		igt_assert_eq(r, 0);
+		igt_skip_on(!is_security_tests_enable(device, &gpu_info, major, minor));
+	}
+
+	igt_describe("amdgpu_security_alloc_buf_test");
+	igt_subtest("amdgpu-security-alloc-buf-test")
+	amdgpu_security_alloc_buf_test(device);
+
+	igt_describe("amdgpu_command_submission_write_linear_helper");
+	igt_subtest("write-linear-helper-secure")
+	amdgpu_command_submission_write_linear_helper(device,
+			get_ip_block(device, AMDGPU_HW_IP_DMA), is_secure);
+
+	/* dynamic test based on sdma_info.availible rings */
+	igt_describe("amdgpu_secure_bounce");
+	igt_subtest("amdgpu-secure-bounce")
+	amdgpu_secure_bounce(device, fd, &sdma_info, get_ip_block(device,
+			AMDGPU_HW_IP_DMA), is_secure);
+
+	igt_fixture {
+		amdgpu_device_deinitialize(device);
+		drm_close_driver(fd);
+	}
+}
+
+
diff --git a/tests/amdgpu/meson.build b/tests/amdgpu/meson.build
index ef1735fda..bdada90ca 100644
--- a/tests/amdgpu/meson.build
+++ b/tests/amdgpu/meson.build
@@ -26,6 +26,7 @@ if libdrm_amdgpu.found()
 			  'amd_plane',
 			  'amd_prime',
 			  'amd_psr',
+			  'amd_security',
 			  'amd_uvd_dec',
 			  'amd_uvd_enc',
 			  'amd_vce_dec',
-- 
2.25.1

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

* [igt-dev] ✓ Fi.CI.BAT: success for tests/amdgpu: add security tests
  2023-07-26 23:26 [igt-dev] [PATCH] tests/amdgpu: add security tests vitaly.prosyak
@ 2023-07-27  0:58 ` Patchwork
  2023-07-27  2:27 ` [igt-dev] ○ CI.xeBAT: info " Patchwork
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 7+ messages in thread
From: Patchwork @ 2023-07-27  0:58 UTC (permalink / raw)
  To: vitaly.prosyak; +Cc: igt-dev

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

== Series Details ==

Series: tests/amdgpu: add security tests
URL   : https://patchwork.freedesktop.org/series/121393/
State : success

== Summary ==

CI Bug Log - changes from CI_DRM_13426 -> IGTPW_9467
====================================================

Summary
-------

  **SUCCESS**

  No regressions found.

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

Participating hosts (41 -> 42)
------------------------------

  Additional (2): fi-kbl-soraka bat-adlp-11 
  Missing    (1): fi-snb-2520m 

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

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

### IGT changes ###

#### Issues hit ####

  * igt@core_auth@basic-auth:
    - bat-adlp-11:        NOTRUN -> [ABORT][1] ([i915#8011])
   [1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/bat-adlp-11/igt@core_auth@basic-auth.html

  * igt@gem_huc_copy@huc-copy:
    - fi-kbl-soraka:      NOTRUN -> [SKIP][2] ([fdo#109271] / [i915#2190])
   [2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/fi-kbl-soraka/igt@gem_huc_copy@huc-copy.html

  * igt@gem_lmem_swapping@basic:
    - fi-kbl-soraka:      NOTRUN -> [SKIP][3] ([fdo#109271] / [i915#4613]) +3 similar issues
   [3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/fi-kbl-soraka/igt@gem_lmem_swapping@basic.html

  * igt@i915_module_load@load:
    - bat-adlp-11:        NOTRUN -> [DMESG-WARN][4] ([i915#4423])
   [4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/bat-adlp-11/igt@i915_module_load@load.html

  * igt@i915_pm_rpm@basic-rte:
    - fi-skl-guc:         [PASS][5] -> [FAIL][6] ([i915#7940])
   [5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13426/fi-skl-guc/igt@i915_pm_rpm@basic-rte.html
   [6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/fi-skl-guc/igt@i915_pm_rpm@basic-rte.html

  * igt@i915_selftest@live@gem_contexts:
    - bat-mtlp-8:         [PASS][7] -> [ABORT][8] ([i915#8630])
   [7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13426/bat-mtlp-8/igt@i915_selftest@live@gem_contexts.html
   [8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/bat-mtlp-8/igt@i915_selftest@live@gem_contexts.html

  * igt@i915_selftest@live@gt_heartbeat:
    - fi-kbl-soraka:      NOTRUN -> [DMESG-FAIL][9] ([i915#5334] / [i915#7872])
   [9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/fi-kbl-soraka/igt@i915_selftest@live@gt_heartbeat.html

  * igt@i915_selftest@live@gt_pm:
    - fi-kbl-soraka:      NOTRUN -> [DMESG-FAIL][10] ([i915#1886] / [i915#7913])
   [10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/fi-kbl-soraka/igt@i915_selftest@live@gt_pm.html

  * igt@i915_selftest@live@slpc:
    - bat-rpls-2:         NOTRUN -> [DMESG-WARN][11] ([i915#6367])
   [11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/bat-rpls-2/igt@i915_selftest@live@slpc.html
    - bat-rpls-1:         NOTRUN -> [DMESG-WARN][12] ([i915#6367])
   [12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/bat-rpls-1/igt@i915_selftest@live@slpc.html

  * igt@i915_suspend@basic-s3-without-i915:
    - bat-rpls-1:         NOTRUN -> [ABORT][13] ([i915#6687] / [i915#7978] / [i915#8668])
   [13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/bat-rpls-1/igt@i915_suspend@basic-s3-without-i915.html

  * igt@kms_chamelium_hpd@common-hpd-after-suspend:
    - bat-rpls-2:         NOTRUN -> [SKIP][14] ([i915#7828])
   [14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/bat-rpls-2/igt@kms_chamelium_hpd@common-hpd-after-suspend.html

  * igt@kms_cursor_legacy@basic-busy-flip-before-cursor-atomic:
    - fi-kbl-soraka:      NOTRUN -> [SKIP][15] ([fdo#109271]) +15 similar issues
   [15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/fi-kbl-soraka/igt@kms_cursor_legacy@basic-busy-flip-before-cursor-atomic.html

  * igt@kms_pipe_crc_basic@suspend-read-crc:
    - bat-rpls-2:         NOTRUN -> [SKIP][16] ([i915#1845])
   [16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/bat-rpls-2/igt@kms_pipe_crc_basic@suspend-read-crc.html

  
#### Possible fixes ####

  * igt@i915_pm_rpm@basic-pci-d3-state:
    - fi-cfl-8700k:       [FAIL][17] ([i915#7940]) -> [PASS][18]
   [17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13426/fi-cfl-8700k/igt@i915_pm_rpm@basic-pci-d3-state.html
   [18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/fi-cfl-8700k/igt@i915_pm_rpm@basic-pci-d3-state.html

  * igt@i915_pm_rpm@basic-rte:
    - fi-kbl-x1275:       [FAIL][19] ([i915#8843]) -> [PASS][20]
   [19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13426/fi-kbl-x1275/igt@i915_pm_rpm@basic-rte.html
   [20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/fi-kbl-x1275/igt@i915_pm_rpm@basic-rte.html

  * igt@i915_pm_rpm@module-reload:
    - fi-cfl-guc:         [FAIL][21] ([i915#7940]) -> [PASS][22]
   [21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13426/fi-cfl-guc/igt@i915_pm_rpm@module-reload.html
   [22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/fi-cfl-guc/igt@i915_pm_rpm@module-reload.html

  * igt@i915_selftest@live@gt_heartbeat:
    - fi-apl-guc:         [DMESG-FAIL][23] ([i915#5334]) -> [PASS][24]
   [23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13426/fi-apl-guc/igt@i915_selftest@live@gt_heartbeat.html
   [24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/fi-apl-guc/igt@i915_selftest@live@gt_heartbeat.html

  * igt@i915_selftest@live@migrate:
    - bat-mtlp-8:         [DMESG-FAIL][25] ([i915#7699]) -> [PASS][26]
   [25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13426/bat-mtlp-8/igt@i915_selftest@live@migrate.html
   [26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/bat-mtlp-8/igt@i915_selftest@live@migrate.html

  * igt@i915_selftest@live@requests:
    - bat-mtlp-8:         [DMESG-FAIL][27] ([i915#8497]) -> [PASS][28]
   [27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13426/bat-mtlp-8/igt@i915_selftest@live@requests.html
   [28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/bat-mtlp-8/igt@i915_selftest@live@requests.html
    - bat-mtlp-6:         [DMESG-FAIL][29] ([i915#7269]) -> [PASS][30]
   [29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13426/bat-mtlp-6/igt@i915_selftest@live@requests.html
   [30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/bat-mtlp-6/igt@i915_selftest@live@requests.html

  * igt@i915_selftest@live@reset:
    - bat-rpls-1:         [ABORT][31] ([i915#4983] / [i915#7461] / [i915#8347] / [i915#8384]) -> [PASS][32]
   [31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13426/bat-rpls-1/igt@i915_selftest@live@reset.html
   [32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/bat-rpls-1/igt@i915_selftest@live@reset.html
    - bat-rpls-2:         [ABORT][33] ([i915#4983] / [i915#7461] / [i915#7913] / [i915#8347]) -> [PASS][34]
   [33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13426/bat-rpls-2/igt@i915_selftest@live@reset.html
   [34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/bat-rpls-2/igt@i915_selftest@live@reset.html

  
#### Warnings ####

  * igt@i915_pm_rpm@basic-rte:
    - fi-kbl-guc:         [FAIL][35] ([i915#8843]) -> [FAIL][36] ([i915#7940])
   [35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13426/fi-kbl-guc/igt@i915_pm_rpm@basic-rte.html
   [36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/fi-kbl-guc/igt@i915_pm_rpm@basic-rte.html

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

  [fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
  [i915#1845]: https://gitlab.freedesktop.org/drm/intel/issues/1845
  [i915#1886]: https://gitlab.freedesktop.org/drm/intel/issues/1886
  [i915#2190]: https://gitlab.freedesktop.org/drm/intel/issues/2190
  [i915#4423]: https://gitlab.freedesktop.org/drm/intel/issues/4423
  [i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
  [i915#4983]: https://gitlab.freedesktop.org/drm/intel/issues/4983
  [i915#5334]: https://gitlab.freedesktop.org/drm/intel/issues/5334
  [i915#6367]: https://gitlab.freedesktop.org/drm/intel/issues/6367
  [i915#6687]: https://gitlab.freedesktop.org/drm/intel/issues/6687
  [i915#7269]: https://gitlab.freedesktop.org/drm/intel/issues/7269
  [i915#7461]: https://gitlab.freedesktop.org/drm/intel/issues/7461
  [i915#7699]: https://gitlab.freedesktop.org/drm/intel/issues/7699
  [i915#7828]: https://gitlab.freedesktop.org/drm/intel/issues/7828
  [i915#7872]: https://gitlab.freedesktop.org/drm/intel/issues/7872
  [i915#7913]: https://gitlab.freedesktop.org/drm/intel/issues/7913
  [i915#7940]: https://gitlab.freedesktop.org/drm/intel/issues/7940
  [i915#7978]: https://gitlab.freedesktop.org/drm/intel/issues/7978
  [i915#8011]: https://gitlab.freedesktop.org/drm/intel/issues/8011
  [i915#8347]: https://gitlab.freedesktop.org/drm/intel/issues/8347
  [i915#8384]: https://gitlab.freedesktop.org/drm/intel/issues/8384
  [i915#8497]: https://gitlab.freedesktop.org/drm/intel/issues/8497
  [i915#8630]: https://gitlab.freedesktop.org/drm/intel/issues/8630
  [i915#8668]: https://gitlab.freedesktop.org/drm/intel/issues/8668
  [i915#8843]: https://gitlab.freedesktop.org/drm/intel/issues/8843


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

  * CI: CI-20190529 -> None
  * IGT: IGT_7405 -> IGTPW_9467

  CI-20190529: 20190529
  CI_DRM_13426: 50f130ab3021dd575aca3fab9c08eae15cd323a8 @ git://anongit.freedesktop.org/gfx-ci/linux
  IGTPW_9467: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/index.html
  IGT_7405: 6745761cb6050514a12aac973d02aeccdff06255 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git


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

-igt@xe_uevent@fake_reset_uevent_listener

== Logs ==

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

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

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

* [igt-dev] ○ CI.xeBAT: info for tests/amdgpu: add security tests
  2023-07-26 23:26 [igt-dev] [PATCH] tests/amdgpu: add security tests vitaly.prosyak
  2023-07-27  0:58 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
@ 2023-07-27  2:27 ` Patchwork
  2023-07-27  3:38 ` [igt-dev] ✓ Fi.CI.IGT: success " Patchwork
  2023-07-27  4:26 ` [igt-dev] [PATCH] " Luben Tuikov
  3 siblings, 0 replies; 7+ messages in thread
From: Patchwork @ 2023-07-27  2:27 UTC (permalink / raw)
  To: vitaly.prosyak; +Cc: igt-dev

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

== Series Details ==

Series: tests/amdgpu: add security tests
URL   : https://patchwork.freedesktop.org/series/121393/
State : info

== Summary ==

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



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

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

* [igt-dev] ✓ Fi.CI.IGT: success for tests/amdgpu: add security tests
  2023-07-26 23:26 [igt-dev] [PATCH] tests/amdgpu: add security tests vitaly.prosyak
  2023-07-27  0:58 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
  2023-07-27  2:27 ` [igt-dev] ○ CI.xeBAT: info " Patchwork
@ 2023-07-27  3:38 ` Patchwork
  2023-07-27  4:26 ` [igt-dev] [PATCH] " Luben Tuikov
  3 siblings, 0 replies; 7+ messages in thread
From: Patchwork @ 2023-07-27  3:38 UTC (permalink / raw)
  To: vitaly.prosyak; +Cc: igt-dev

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

== Series Details ==

Series: tests/amdgpu: add security tests
URL   : https://patchwork.freedesktop.org/series/121393/
State : success

== Summary ==

CI Bug Log - changes from CI_DRM_13426_full -> IGTPW_9467_full
====================================================

Summary
-------

  **SUCCESS**

  No regressions found.

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

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

  Missing    (1): pig-kbl-iris 

New tests
---------

  New tests have been introduced between CI_DRM_13426_full and IGTPW_9467_full:

### New IGT tests (9) ###

  * igt@kms_plane_scaling@plane-downscale-with-modifiers-factor-0-5@pipe-a-hdmi-a-4:
    - Statuses : 1 pass(s)
    - Exec time: [0.0] s

  * igt@kms_plane_scaling@plane-downscale-with-modifiers-factor-0-5@pipe-b-hdmi-a-4:
    - Statuses : 1 pass(s)
    - Exec time: [0.0] s

  * igt@kms_plane_scaling@plane-downscale-with-modifiers-factor-0-5@pipe-c-hdmi-a-4:
    - Statuses : 1 pass(s)
    - Exec time: [0.0] s

  * igt@kms_plane_scaling@plane-downscale-with-modifiers-factor-0-5@pipe-d-hdmi-a-4:
    - Statuses : 1 pass(s)
    - Exec time: [0.0] s

  * igt@kms_plane_scaling@plane-upscale-with-modifiers-20x20@pipe-a-hdmi-a-4:
    - Statuses : 1 pass(s)
    - Exec time: [0.0] s

  * igt@kms_plane_scaling@plane-upscale-with-modifiers-20x20@pipe-b-hdmi-a-4:
    - Statuses : 1 pass(s)
    - Exec time: [0.0] s

  * igt@kms_plane_scaling@plane-upscale-with-modifiers-20x20@pipe-c-hdmi-a-4:
    - Statuses : 1 pass(s)
    - Exec time: [0.0] s

  * igt@kms_plane_scaling@plane-upscale-with-modifiers-20x20@pipe-d-hdmi-a-4:
    - Statuses : 1 pass(s)
    - Exec time: [0.0] s

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

  

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

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

### IGT changes ###

#### Issues hit ####

  * igt@api_intel_bb@object-reloc-keep-cache:
    - shard-dg2:          NOTRUN -> [SKIP][1] ([i915#8411])
   [1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-dg2-11/igt@api_intel_bb@object-reloc-keep-cache.html
    - shard-rkl:          NOTRUN -> [SKIP][2] ([i915#8411])
   [2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-rkl-7/igt@api_intel_bb@object-reloc-keep-cache.html

  * igt@device_reset@cold-reset-bound:
    - shard-tglu:         NOTRUN -> [SKIP][3] ([i915#7701])
   [3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-tglu-7/igt@device_reset@cold-reset-bound.html

  * igt@drm_fdinfo@busy-hang@rcs0:
    - shard-mtlp:         NOTRUN -> [SKIP][4] ([i915#8414]) +11 similar issues
   [4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-mtlp-7/igt@drm_fdinfo@busy-hang@rcs0.html

  * igt@drm_fdinfo@most-busy-check-all@rcs0:
    - shard-rkl:          [PASS][5] -> [FAIL][6] ([i915#7742])
   [5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13426/shard-rkl-1/igt@drm_fdinfo@most-busy-check-all@rcs0.html
   [6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-rkl-2/igt@drm_fdinfo@most-busy-check-all@rcs0.html

  * igt@drm_fdinfo@most-busy-idle-check-all@bcs0:
    - shard-dg1:          NOTRUN -> [SKIP][7] ([i915#8414]) +4 similar issues
   [7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-dg1-14/igt@drm_fdinfo@most-busy-idle-check-all@bcs0.html

  * igt@feature_discovery@psr1:
    - shard-rkl:          NOTRUN -> [SKIP][8] ([i915#658]) +1 similar issue
   [8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-rkl-7/igt@feature_discovery@psr1.html

  * igt@gem_basic@multigpu-create-close:
    - shard-rkl:          NOTRUN -> [SKIP][9] ([i915#7697])
   [9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-rkl-7/igt@gem_basic@multigpu-create-close.html

  * igt@gem_ccs@ctrl-surf-copy:
    - shard-mtlp:         NOTRUN -> [SKIP][10] ([i915#5325])
   [10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-mtlp-2/igt@gem_ccs@ctrl-surf-copy.html

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

  * igt@gem_create@create-ext-cpu-access-big:
    - shard-dg2:          [PASS][12] -> [ABORT][13] ([i915#7461])
   [12]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13426/shard-dg2-7/igt@gem_create@create-ext-cpu-access-big.html
   [13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-dg2-1/igt@gem_create@create-ext-cpu-access-big.html

  * igt@gem_ctx_exec@basic-nohangcheck:
    - shard-rkl:          NOTRUN -> [FAIL][14] ([i915#6268])
   [14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-rkl-1/igt@gem_ctx_exec@basic-nohangcheck.html

  * igt@gem_ctx_isolation@preservation-s3@rcs0:
    - shard-dg2:          [PASS][15] -> [FAIL][16] ([fdo#103375])
   [15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13426/shard-dg2-10/igt@gem_ctx_isolation@preservation-s3@rcs0.html
   [16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-dg2-11/igt@gem_ctx_isolation@preservation-s3@rcs0.html

  * igt@gem_ctx_persistence@file:
    - shard-snb:          NOTRUN -> [SKIP][17] ([fdo#109271] / [i915#1099])
   [17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-snb4/igt@gem_ctx_persistence@file.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_9467/shard-mtlp-7/igt@gem_ctx_persistence@heartbeat-hostile.html

  * igt@gem_ctx_persistence@legacy-engines-hostile-preempt@vebox:
    - shard-mtlp:         [PASS][19] -> [DMESG-WARN][20] ([i915#1982]) +1 similar issue
   [19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13426/shard-mtlp-5/igt@gem_ctx_persistence@legacy-engines-hostile-preempt@vebox.html
   [20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-mtlp-3/igt@gem_ctx_persistence@legacy-engines-hostile-preempt@vebox.html

  * igt@gem_ctx_sseu@mmap-args:
    - shard-rkl:          NOTRUN -> [SKIP][21] ([i915#280])
   [21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-rkl-2/igt@gem_ctx_sseu@mmap-args.html

  * igt@gem_exec_balancer@bonded-sync:
    - shard-dg1:          NOTRUN -> [SKIP][22] ([i915#4771])
   [22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-dg1-16/igt@gem_exec_balancer@bonded-sync.html

  * igt@gem_exec_balancer@invalid-bonds:
    - shard-mtlp:         NOTRUN -> [SKIP][23] ([i915#4036])
   [23]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-mtlp-7/igt@gem_exec_balancer@invalid-bonds.html

  * igt@gem_exec_balancer@parallel-balancer:
    - shard-rkl:          NOTRUN -> [SKIP][24] ([i915#4525]) +1 similar issue
   [24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-rkl-2/igt@gem_exec_balancer@parallel-balancer.html

  * igt@gem_exec_fair@basic-none-solo@rcs0:
    - shard-apl:          [PASS][25] -> [FAIL][26] ([i915#2842])
   [25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13426/shard-apl4/igt@gem_exec_fair@basic-none-solo@rcs0.html
   [26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-apl2/igt@gem_exec_fair@basic-none-solo@rcs0.html

  * igt@gem_exec_fair@basic-none-vip:
    - shard-dg1:          NOTRUN -> [SKIP][27] ([i915#3539] / [i915#4852])
   [27]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-dg1-18/igt@gem_exec_fair@basic-none-vip.html

  * igt@gem_exec_fair@basic-pace-share@rcs0:
    - shard-rkl:          [PASS][28] -> [FAIL][29] ([i915#2842]) +1 similar issue
   [28]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13426/shard-rkl-2/igt@gem_exec_fair@basic-pace-share@rcs0.html
   [29]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-rkl-1/igt@gem_exec_fair@basic-pace-share@rcs0.html

  * igt@gem_exec_fence@submit67:
    - shard-mtlp:         NOTRUN -> [SKIP][30] ([i915#4812])
   [30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-mtlp-6/igt@gem_exec_fence@submit67.html

  * igt@gem_exec_params@rsvd2-dirt:
    - shard-mtlp:         NOTRUN -> [SKIP][31] ([i915#5107])
   [31]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-mtlp-2/igt@gem_exec_params@rsvd2-dirt.html

  * igt@gem_exec_reloc@basic-cpu-wc:
    - shard-dg1:          NOTRUN -> [SKIP][32] ([i915#3281]) +1 similar issue
   [32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-dg1-19/igt@gem_exec_reloc@basic-cpu-wc.html

  * igt@gem_exec_reloc@basic-write-read:
    - shard-rkl:          NOTRUN -> [SKIP][33] ([i915#3281]) +4 similar issues
   [33]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-rkl-2/igt@gem_exec_reloc@basic-write-read.html

  * igt@gem_exec_reloc@basic-write-wc-active:
    - shard-mtlp:         NOTRUN -> [SKIP][34] ([i915#3281]) +1 similar issue
   [34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-mtlp-5/igt@gem_exec_reloc@basic-write-wc-active.html

  * igt@gem_exec_suspend@basic-s3@smem:
    - shard-snb:          NOTRUN -> [DMESG-WARN][35] ([i915#8841]) +7 similar issues
   [35]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-snb2/igt@gem_exec_suspend@basic-s3@smem.html

  * igt@gem_exec_suspend@basic-s4-devices@lmem0:
    - shard-dg2:          [PASS][36] -> [ABORT][37] ([i915#7975] / [i915#8213])
   [36]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13426/shard-dg2-11/igt@gem_exec_suspend@basic-s4-devices@lmem0.html
   [37]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-dg2-3/igt@gem_exec_suspend@basic-s4-devices@lmem0.html

  * igt@gem_exec_suspend@basic-s4-devices@smem:
    - shard-tglu:         [PASS][38] -> [ABORT][39] ([i915#7975] / [i915#8213])
   [38]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13426/shard-tglu-6/igt@gem_exec_suspend@basic-s4-devices@smem.html
   [39]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-tglu-10/igt@gem_exec_suspend@basic-s4-devices@smem.html

  * igt@gem_lmem_swapping@heavy-random:
    - shard-glk:          NOTRUN -> [SKIP][40] ([fdo#109271] / [i915#4613])
   [40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-glk6/igt@gem_lmem_swapping@heavy-random.html

  * igt@gem_lmem_swapping@parallel-multi:
    - shard-rkl:          NOTRUN -> [SKIP][41] ([i915#4613]) +2 similar issues
   [41]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-rkl-1/igt@gem_lmem_swapping@parallel-multi.html

  * igt@gem_lmem_swapping@verify:
    - shard-mtlp:         NOTRUN -> [SKIP][42] ([i915#4613])
   [42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-mtlp-1/igt@gem_lmem_swapping@verify.html

  * igt@gem_media_vme:
    - shard-dg2:          NOTRUN -> [SKIP][43] ([i915#284])
   [43]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-dg2-1/igt@gem_media_vme.html
    - shard-rkl:          NOTRUN -> [SKIP][44] ([i915#284])
   [44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-rkl-1/igt@gem_media_vme.html

  * igt@gem_mmap_wc@set-cache-level:
    - shard-dg2:          NOTRUN -> [SKIP][45] ([i915#4083])
   [45]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-dg2-3/igt@gem_mmap_wc@set-cache-level.html

  * igt@gem_partial_pwrite_pread@writes-after-reads-uncached:
    - shard-rkl:          NOTRUN -> [SKIP][46] ([i915#3282]) +2 similar issues
   [46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-rkl-4/igt@gem_partial_pwrite_pread@writes-after-reads-uncached.html

  * igt@gem_ppgtt@blt-vs-render-ctx0:
    - shard-snb:          [PASS][47] -> [DMESG-FAIL][48] ([i915#8295])
   [47]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13426/shard-snb7/igt@gem_ppgtt@blt-vs-render-ctx0.html
   [48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-snb6/igt@gem_ppgtt@blt-vs-render-ctx0.html

  * igt@gem_pwrite@basic-exhaustion:
    - shard-snb:          NOTRUN -> [WARN][49] ([i915#2658])
   [49]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-snb5/igt@gem_pwrite@basic-exhaustion.html

  * igt@gem_pxp@dmabuf-shared-protected-dst-is-context-refcounted:
    - shard-mtlp:         NOTRUN -> [SKIP][50] ([i915#4270])
   [50]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-mtlp-7/igt@gem_pxp@dmabuf-shared-protected-dst-is-context-refcounted.html

  * igt@gem_pxp@regular-baseline-src-copy-readible:
    - shard-tglu:         NOTRUN -> [SKIP][51] ([i915#4270])
   [51]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-tglu-8/igt@gem_pxp@regular-baseline-src-copy-readible.html

  * igt@gem_pxp@reject-modify-context-protection-on:
    - shard-rkl:          NOTRUN -> [SKIP][52] ([i915#4270]) +1 similar issue
   [52]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-rkl-4/igt@gem_pxp@reject-modify-context-protection-on.html

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

  * igt@gem_set_tiling_vs_blt@untiled-to-tiled:
    - shard-dg1:          NOTRUN -> [SKIP][54] ([i915#4079])
   [54]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-dg1-13/igt@gem_set_tiling_vs_blt@untiled-to-tiled.html

  * igt@gem_set_tiling_vs_pwrite:
    - shard-mtlp:         NOTRUN -> [SKIP][55] ([i915#4079])
   [55]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-mtlp-3/igt@gem_set_tiling_vs_pwrite.html

  * igt@gem_tiled_fence_blits@basic:
    - shard-dg1:          NOTRUN -> [SKIP][56] ([i915#4077])
   [56]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-dg1-16/igt@gem_tiled_fence_blits@basic.html

  * igt@gem_userptr_blits@coherency-unsync:
    - shard-rkl:          NOTRUN -> [SKIP][57] ([i915#3297]) +3 similar issues
   [57]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-rkl-1/igt@gem_userptr_blits@coherency-unsync.html

  * igt@gem_userptr_blits@forbidden-operations:
    - shard-dg1:          NOTRUN -> [SKIP][58] ([i915#3282])
   [58]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-dg1-18/igt@gem_userptr_blits@forbidden-operations.html
    - shard-mtlp:         NOTRUN -> [SKIP][59] ([i915#3282])
   [59]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-mtlp-3/igt@gem_userptr_blits@forbidden-operations.html

  * igt@gem_userptr_blits@nohangcheck:
    - shard-mtlp:         [PASS][60] -> [FAIL][61] ([i915#7916])
   [60]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13426/shard-mtlp-7/igt@gem_userptr_blits@nohangcheck.html
   [61]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-mtlp-1/igt@gem_userptr_blits@nohangcheck.html

  * igt@gem_userptr_blits@unsync-unmap-after-close:
    - shard-dg2:          NOTRUN -> [SKIP][62] ([i915#3297])
   [62]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-dg2-8/igt@gem_userptr_blits@unsync-unmap-after-close.html

  * igt@gen7_exec_parse@cmd-crossing-page:
    - shard-rkl:          NOTRUN -> [SKIP][63] ([fdo#109289])
   [63]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-rkl-4/igt@gen7_exec_parse@cmd-crossing-page.html

  * igt@gen9_exec_parse@allowed-all:
    - shard-dg1:          NOTRUN -> [SKIP][64] ([i915#2527])
   [64]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-dg1-14/igt@gen9_exec_parse@allowed-all.html

  * igt@gen9_exec_parse@allowed-single:
    - shard-mtlp:         NOTRUN -> [SKIP][65] ([i915#2856])
   [65]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-mtlp-3/igt@gen9_exec_parse@allowed-single.html

  * igt@gen9_exec_parse@bb-start-far:
    - shard-tglu:         NOTRUN -> [SKIP][66] ([i915#2527] / [i915#2856])
   [66]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-tglu-7/igt@gen9_exec_parse@bb-start-far.html

  * igt@gen9_exec_parse@shadow-peek:
    - shard-dg2:          NOTRUN -> [SKIP][67] ([i915#2856])
   [67]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-dg2-12/igt@gen9_exec_parse@shadow-peek.html
    - shard-rkl:          NOTRUN -> [SKIP][68] ([i915#2527]) +3 similar issues
   [68]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-rkl-2/igt@gen9_exec_parse@shadow-peek.html

  * igt@i915_hangman@gt-engine-error@vcs0:
    - shard-mtlp:         [PASS][69] -> [FAIL][70] ([i915#7069])
   [69]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13426/shard-mtlp-5/igt@i915_hangman@gt-engine-error@vcs0.html
   [70]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-mtlp-3/igt@i915_hangman@gt-engine-error@vcs0.html

  * igt@i915_pm_dc@dc3co-vpb-simulation:
    - shard-tglu:         NOTRUN -> [SKIP][71] ([i915#658])
   [71]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-tglu-7/igt@i915_pm_dc@dc3co-vpb-simulation.html

  * igt@i915_pm_freq_mult@media-freq@gt0:
    - shard-rkl:          NOTRUN -> [SKIP][72] ([i915#6590])
   [72]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-rkl-1/igt@i915_pm_freq_mult@media-freq@gt0.html

  * igt@i915_pm_rc6_residency@rc6-idle@vcs0:
    - shard-dg1:          [PASS][73] -> [FAIL][74] ([i915#3591])
   [73]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13426/shard-dg1-17/igt@i915_pm_rc6_residency@rc6-idle@vcs0.html
   [74]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-dg1-16/igt@i915_pm_rc6_residency@rc6-idle@vcs0.html

  * igt@i915_pm_rpm@basic-pci-d3-state:
    - shard-dg1:          [PASS][75] -> [FAIL][76] ([i915#7691])
   [75]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13426/shard-dg1-19/igt@i915_pm_rpm@basic-pci-d3-state.html
   [76]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-dg1-18/igt@i915_pm_rpm@basic-pci-d3-state.html

  * igt@i915_pm_rpm@dpms-mode-unset-lpsp:
    - shard-rkl:          [PASS][77] -> [SKIP][78] ([i915#1397])
   [77]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13426/shard-rkl-7/igt@i915_pm_rpm@dpms-mode-unset-lpsp.html
   [78]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-rkl-4/igt@i915_pm_rpm@dpms-mode-unset-lpsp.html
    - shard-dg1:          [PASS][79] -> [SKIP][80] ([i915#1397])
   [79]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13426/shard-dg1-19/igt@i915_pm_rpm@dpms-mode-unset-lpsp.html
   [80]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-dg1-16/igt@i915_pm_rpm@dpms-mode-unset-lpsp.html

  * igt@i915_pm_rpm@gem-execbuf-stress@lmem0:
    - shard-dg1:          [PASS][81] -> [FAIL][82] ([i915#7940])
   [81]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13426/shard-dg1-15/igt@i915_pm_rpm@gem-execbuf-stress@lmem0.html
   [82]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-dg1-15/igt@i915_pm_rpm@gem-execbuf-stress@lmem0.html

  * igt@i915_pm_rpm@modeset-lpsp-stress-no-wait:
    - shard-dg1:          NOTRUN -> [SKIP][83] ([i915#1397])
   [83]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-dg1-14/igt@i915_pm_rpm@modeset-lpsp-stress-no-wait.html

  * igt@i915_pm_rpm@modeset-non-lpsp-stress:
    - shard-dg2:          [PASS][84] -> [SKIP][85] ([i915#1397])
   [84]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13426/shard-dg2-8/igt@i915_pm_rpm@modeset-non-lpsp-stress.html
   [85]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-dg2-10/igt@i915_pm_rpm@modeset-non-lpsp-stress.html

  * igt@i915_pm_rpm@pm-caching:
    - shard-mtlp:         NOTRUN -> [SKIP][86] ([i915#4077]) +6 similar issues
   [86]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-mtlp-6/igt@i915_pm_rpm@pm-caching.html

  * igt@i915_pm_rps@min-max-config-idle:
    - shard-mtlp:         NOTRUN -> [SKIP][87] ([i915#6621])
   [87]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-mtlp-5/igt@i915_pm_rps@min-max-config-idle.html

  * igt@i915_pm_rps@waitboost:
    - shard-mtlp:         NOTRUN -> [FAIL][88] ([i915#8346])
   [88]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-mtlp-6/igt@i915_pm_rps@waitboost.html

  * igt@i915_pm_sseu@full-enable:
    - shard-rkl:          NOTRUN -> [SKIP][89] ([i915#4387])
   [89]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-rkl-7/igt@i915_pm_sseu@full-enable.html

  * igt@i915_query@test-query-geometry-subslices:
    - shard-tglu:         NOTRUN -> [SKIP][90] ([i915#5723])
   [90]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-tglu-7/igt@i915_query@test-query-geometry-subslices.html

  * igt@i915_selftest@live@gt_heartbeat:
    - shard-apl:          [PASS][91] -> [DMESG-FAIL][92] ([i915#5334])
   [91]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13426/shard-apl4/igt@i915_selftest@live@gt_heartbeat.html
   [92]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-apl1/igt@i915_selftest@live@gt_heartbeat.html

  * igt@i915_selftest@live@slpc:
    - shard-mtlp:         [PASS][93] -> [DMESG-WARN][94] ([i915#6367])
   [93]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13426/shard-mtlp-1/igt@i915_selftest@live@slpc.html
   [94]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-mtlp-7/igt@i915_selftest@live@slpc.html

  * igt@kms_async_flips@alternate-sync-async-flip@pipe-d-edp-1:
    - shard-mtlp:         [PASS][95] -> [FAIL][96] ([i915#2521])
   [95]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13426/shard-mtlp-7/igt@kms_async_flips@alternate-sync-async-flip@pipe-d-edp-1.html
   [96]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-mtlp-4/igt@kms_async_flips@alternate-sync-async-flip@pipe-d-edp-1.html

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

  * igt@kms_atomic_transition@plane-all-modeset-transition:
    - shard-mtlp:         NOTRUN -> [SKIP][98] ([i915#1769])
   [98]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-mtlp-8/igt@kms_atomic_transition@plane-all-modeset-transition.html

  * igt@kms_atomic_transition@plane-all-modeset-transition-internal-panels:
    - shard-rkl:          NOTRUN -> [SKIP][99] ([i915#1769] / [i915#3555])
   [99]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-rkl-1/igt@kms_atomic_transition@plane-all-modeset-transition-internal-panels.html

  * igt@kms_big_fb@4-tiled-32bpp-rotate-0:
    - shard-rkl:          NOTRUN -> [SKIP][100] ([i915#5286]) +2 similar issues
   [100]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-rkl-4/igt@kms_big_fb@4-tiled-32bpp-rotate-0.html

  * igt@kms_big_fb@4-tiled-max-hw-stride-32bpp-rotate-0-hflip-async-flip:
    - shard-mtlp:         NOTRUN -> [FAIL][101] ([i915#3743])
   [101]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-mtlp-6/igt@kms_big_fb@4-tiled-max-hw-stride-32bpp-rotate-0-hflip-async-flip.html

  * igt@kms_big_fb@linear-16bpp-rotate-0:
    - shard-mtlp:         [PASS][102] -> [FAIL][103] ([i915#5138])
   [102]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13426/shard-mtlp-5/igt@kms_big_fb@linear-16bpp-rotate-0.html
   [103]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-mtlp-1/igt@kms_big_fb@linear-16bpp-rotate-0.html

  * igt@kms_big_fb@linear-64bpp-rotate-270:
    - shard-tglu:         NOTRUN -> [SKIP][104] ([fdo#111614])
   [104]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-tglu-9/igt@kms_big_fb@linear-64bpp-rotate-270.html

  * igt@kms_big_fb@x-tiled-16bpp-rotate-90:
    - shard-rkl:          NOTRUN -> [SKIP][105] ([fdo#111614] / [i915#3638])
   [105]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-rkl-4/igt@kms_big_fb@x-tiled-16bpp-rotate-90.html

  * igt@kms_big_fb@yf-tiled-32bpp-rotate-270:
    - shard-dg1:          NOTRUN -> [SKIP][106] ([i915#4538])
   [106]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-dg1-13/igt@kms_big_fb@yf-tiled-32bpp-rotate-270.html

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

  * igt@kms_big_fb@yf-tiled-8bpp-rotate-90:
    - shard-mtlp:         NOTRUN -> [SKIP][108] ([fdo#111615]) +2 similar issues
   [108]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-mtlp-6/igt@kms_big_fb@yf-tiled-8bpp-rotate-90.html

  * igt@kms_big_fb@yf-tiled-max-hw-stride-32bpp-rotate-0-hflip-async-flip:
    - shard-tglu:         NOTRUN -> [SKIP][109] ([fdo#111615]) +1 similar issue
   [109]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-tglu-8/igt@kms_big_fb@yf-tiled-max-hw-stride-32bpp-rotate-0-hflip-async-flip.html

  * igt@kms_ccs@pipe-a-crc-primary-basic-4_tiled_dg2_mc_ccs:
    - shard-tglu:         NOTRUN -> [SKIP][110] ([i915#3689] / [i915#5354] / [i915#6095])
   [110]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-tglu-10/igt@kms_ccs@pipe-a-crc-primary-basic-4_tiled_dg2_mc_ccs.html

  * igt@kms_ccs@pipe-a-missing-ccs-buffer-4_tiled_mtl_mc_ccs:
    - shard-rkl:          NOTRUN -> [SKIP][111] ([i915#5354] / [i915#6095]) +6 similar issues
   [111]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-rkl-1/igt@kms_ccs@pipe-a-missing-ccs-buffer-4_tiled_mtl_mc_ccs.html

  * igt@kms_ccs@pipe-a-missing-ccs-buffer-y_tiled_gen12_mc_ccs:
    - shard-glk:          NOTRUN -> [SKIP][112] ([fdo#109271] / [i915#3886]) +3 similar issues
   [112]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-glk6/igt@kms_ccs@pipe-a-missing-ccs-buffer-y_tiled_gen12_mc_ccs.html

  * igt@kms_ccs@pipe-a-random-ccs-data-y_tiled_gen12_mc_ccs:
    - shard-rkl:          NOTRUN -> [SKIP][113] ([i915#3886] / [i915#5354] / [i915#6095])
   [113]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-rkl-7/igt@kms_ccs@pipe-a-random-ccs-data-y_tiled_gen12_mc_ccs.html

  * igt@kms_ccs@pipe-b-bad-pixel-format-4_tiled_mtl_mc_ccs:
    - shard-tglu:         NOTRUN -> [SKIP][114] ([i915#5354] / [i915#6095]) +4 similar issues
   [114]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-tglu-8/igt@kms_ccs@pipe-b-bad-pixel-format-4_tiled_mtl_mc_ccs.html

  * igt@kms_ccs@pipe-b-ccs-on-another-bo-yf_tiled_ccs:
    - shard-rkl:          NOTRUN -> [SKIP][115] ([i915#3734] / [i915#5354] / [i915#6095]) +1 similar issue
   [115]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-rkl-1/igt@kms_ccs@pipe-b-ccs-on-another-bo-yf_tiled_ccs.html

  * igt@kms_ccs@pipe-b-crc-primary-rotation-180-y_tiled_ccs:
    - shard-mtlp:         NOTRUN -> [SKIP][116] ([i915#6095]) +12 similar issues
   [116]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-mtlp-4/igt@kms_ccs@pipe-b-crc-primary-rotation-180-y_tiled_ccs.html

  * igt@kms_ccs@pipe-c-bad-rotation-90-y_tiled_gen12_mc_ccs:
    - shard-mtlp:         NOTRUN -> [SKIP][117] ([i915#3886] / [i915#6095]) +4 similar issues
   [117]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-mtlp-2/igt@kms_ccs@pipe-c-bad-rotation-90-y_tiled_gen12_mc_ccs.html

  * igt@kms_ccs@pipe-c-crc-primary-rotation-180-4_tiled_mtl_mc_ccs:
    - shard-dg1:          NOTRUN -> [SKIP][118] ([i915#5354] / [i915#6095])
   [118]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-dg1-14/igt@kms_ccs@pipe-c-crc-primary-rotation-180-4_tiled_mtl_mc_ccs.html

  * igt@kms_ccs@pipe-c-random-ccs-data-yf_tiled_ccs:
    - shard-rkl:          NOTRUN -> [SKIP][119] ([i915#5354]) +16 similar issues
   [119]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-rkl-7/igt@kms_ccs@pipe-c-random-ccs-data-yf_tiled_ccs.html

  * igt@kms_ccs@pipe-d-bad-aux-stride-4_tiled_mtl_mc_ccs:
    - shard-dg2:          NOTRUN -> [SKIP][120] ([i915#5354]) +3 similar issues
   [120]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-dg2-1/igt@kms_ccs@pipe-d-bad-aux-stride-4_tiled_mtl_mc_ccs.html

  * igt@kms_ccs@pipe-d-missing-ccs-buffer-y_tiled_ccs:
    - shard-dg1:          NOTRUN -> [SKIP][121] ([i915#3689] / [i915#5354] / [i915#6095]) +1 similar issue
   [121]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-dg1-13/igt@kms_ccs@pipe-d-missing-ccs-buffer-y_tiled_ccs.html

  * igt@kms_chamelium_color@ctm-0-50:
    - shard-rkl:          NOTRUN -> [SKIP][122] ([fdo#111827]) +1 similar issue
   [122]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-rkl-2/igt@kms_chamelium_color@ctm-0-50.html

  * igt@kms_chamelium_color@ctm-blue-to-red:
    - shard-mtlp:         NOTRUN -> [SKIP][123] ([fdo#111827])
   [123]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-mtlp-1/igt@kms_chamelium_color@ctm-blue-to-red.html

  * igt@kms_chamelium_edid@hdmi-mode-timings:
    - shard-tglu:         NOTRUN -> [SKIP][124] ([i915#7828])
   [124]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-tglu-10/igt@kms_chamelium_edid@hdmi-mode-timings.html

  * igt@kms_chamelium_edid@vga-edid-read:
    - shard-dg2:          NOTRUN -> [SKIP][125] ([i915#7828])
   [125]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-dg2-6/igt@kms_chamelium_edid@vga-edid-read.html

  * igt@kms_chamelium_frames@dp-crc-fast:
    - shard-rkl:          NOTRUN -> [SKIP][126] ([i915#7828]) +3 similar issues
   [126]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-rkl-6/igt@kms_chamelium_frames@dp-crc-fast.html

  * igt@kms_chamelium_hpd@vga-hpd:
    - shard-mtlp:         NOTRUN -> [SKIP][127] ([i915#7828]) +1 similar issue
   [127]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-mtlp-6/igt@kms_chamelium_hpd@vga-hpd.html

  * igt@kms_color@deep-color:
    - shard-dg1:          NOTRUN -> [SKIP][128] ([i915#3555])
   [128]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-dg1-19/igt@kms_color@deep-color.html

  * igt@kms_concurrent@pipe-c:
    - shard-rkl:          NOTRUN -> [SKIP][129] ([i915#4070] / [i915#6768]) +1 similar issue
   [129]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-rkl-2/igt@kms_concurrent@pipe-c.html

  * igt@kms_content_protection@dp-mst-lic-type-0:
    - shard-mtlp:         NOTRUN -> [SKIP][130] ([i915#3299])
   [130]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-mtlp-2/igt@kms_content_protection@dp-mst-lic-type-0.html

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

  * igt@kms_content_protection@srm:
    - shard-tglu:         NOTRUN -> [SKIP][132] ([i915#6944] / [i915#7116] / [i915#7118])
   [132]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-tglu-4/igt@kms_content_protection@srm.html

  * igt@kms_cursor_crc@cursor-random-32x32:
    - shard-dg2:          NOTRUN -> [SKIP][133] ([i915#3555])
   [133]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-dg2-3/igt@kms_cursor_crc@cursor-random-32x32.html

  * igt@kms_cursor_legacy@2x-flip-vs-cursor-atomic:
    - shard-dg1:          NOTRUN -> [SKIP][134] ([fdo#111767] / [fdo#111825])
   [134]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-dg1-18/igt@kms_cursor_legacy@2x-flip-vs-cursor-atomic.html

  * igt@kms_cursor_legacy@cursora-vs-flipb-legacy:
    - shard-mtlp:         NOTRUN -> [SKIP][135] ([i915#3546])
   [135]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-mtlp-7/igt@kms_cursor_legacy@cursora-vs-flipb-legacy.html

  * igt@kms_cursor_legacy@cursorb-vs-flipa-legacy:
    - shard-tglu:         NOTRUN -> [SKIP][136] ([fdo#109274]) +1 similar issue
   [136]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-tglu-2/igt@kms_cursor_legacy@cursorb-vs-flipa-legacy.html

  * igt@kms_cursor_legacy@cursorb-vs-flipb-legacy:
    - shard-dg1:          NOTRUN -> [SKIP][137] ([fdo#111825]) +4 similar issues
   [137]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-dg1-13/igt@kms_cursor_legacy@cursorb-vs-flipb-legacy.html

  * igt@kms_cursor_legacy@cursorb-vs-flipb-toggle:
    - shard-dg2:          NOTRUN -> [SKIP][138] ([fdo#109274] / [fdo#111767] / [i915#5354])
   [138]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-dg2-10/igt@kms_cursor_legacy@cursorb-vs-flipb-toggle.html
    - shard-rkl:          NOTRUN -> [SKIP][139] ([fdo#111767] / [fdo#111825]) +2 similar issues
   [139]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-rkl-1/igt@kms_cursor_legacy@cursorb-vs-flipb-toggle.html

  * igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions:
    - shard-apl:          [PASS][140] -> [FAIL][141] ([i915#2346])
   [140]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13426/shard-apl6/igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions.html
   [141]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-apl4/igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions.html

  * igt@kms_dsc@dsc-with-formats:
    - shard-mtlp:         NOTRUN -> [SKIP][142] ([i915#3840])
   [142]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-mtlp-3/igt@kms_dsc@dsc-with-formats.html

  * igt@kms_fbcon_fbt@psr:
    - shard-rkl:          NOTRUN -> [SKIP][143] ([fdo#110189] / [i915#3955])
   [143]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-rkl-2/igt@kms_fbcon_fbt@psr.html

  * igt@kms_flip@2x-flip-vs-fences-interruptible:
    - shard-mtlp:         NOTRUN -> [SKIP][144] ([i915#8381])
   [144]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-mtlp-8/igt@kms_flip@2x-flip-vs-fences-interruptible.html

  * igt@kms_flip@2x-modeset-vs-vblank-race:
    - shard-mtlp:         NOTRUN -> [SKIP][145] ([i915#3637])
   [145]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-mtlp-8/igt@kms_flip@2x-modeset-vs-vblank-race.html

  * igt@kms_flip@2x-plain-flip-interruptible:
    - shard-rkl:          NOTRUN -> [SKIP][146] ([fdo#111825]) +4 similar issues
   [146]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-rkl-2/igt@kms_flip@2x-plain-flip-interruptible.html

  * igt@kms_flip_scaled_crc@flip-32bpp-linear-to-64bpp-linear-downscaling@pipe-a-default-mode:
    - shard-mtlp:         NOTRUN -> [SKIP][147] ([i915#8810])
   [147]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-mtlp-2/igt@kms_flip_scaled_crc@flip-32bpp-linear-to-64bpp-linear-downscaling@pipe-a-default-mode.html

  * igt@kms_flip_scaled_crc@flip-32bpp-yftile-to-32bpp-yftileccs-downscaling@pipe-a-valid-mode:
    - shard-rkl:          NOTRUN -> [SKIP][148] ([i915#2672]) +1 similar issue
   [148]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-rkl-2/igt@kms_flip_scaled_crc@flip-32bpp-yftile-to-32bpp-yftileccs-downscaling@pipe-a-valid-mode.html

  * igt@kms_force_connector_basic@force-load-detect:
    - shard-mtlp:         NOTRUN -> [SKIP][149] ([fdo#109285])
   [149]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-mtlp-7/igt@kms_force_connector_basic@force-load-detect.html

  * igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-pri-indfb-draw-pwrite:
    - shard-tglu:         NOTRUN -> [SKIP][150] ([fdo#109280]) +4 similar issues
   [150]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-tglu-10/igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-pri-indfb-draw-pwrite.html

  * igt@kms_frontbuffer_tracking@fbc-2p-shrfb-fliptrack-mmap-gtt:
    - shard-dg2:          NOTRUN -> [SKIP][151] ([i915#8708]) +1 similar issue
   [151]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-dg2-8/igt@kms_frontbuffer_tracking@fbc-2p-shrfb-fliptrack-mmap-gtt.html

  * igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-indfb-plflip-blt:
    - shard-tglu:         NOTRUN -> [SKIP][152] ([fdo#110189]) +2 similar issues
   [152]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-tglu-7/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-indfb-plflip-blt.html

  * igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-cur-indfb-draw-mmap-gtt:
    - shard-rkl:          NOTRUN -> [SKIP][153] ([fdo#111825] / [i915#1825]) +18 similar issues
   [153]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-rkl-6/igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-cur-indfb-draw-mmap-gtt.html

  * igt@kms_frontbuffer_tracking@fbcpsr-2p-shrfb-fliptrack-mmap-gtt:
    - shard-mtlp:         NOTRUN -> [SKIP][154] ([i915#8708])
   [154]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-mtlp-4/igt@kms_frontbuffer_tracking@fbcpsr-2p-shrfb-fliptrack-mmap-gtt.html

  * igt@kms_frontbuffer_tracking@fbcpsr-suspend:
    - shard-dg2:          NOTRUN -> [SKIP][155] ([i915#3458])
   [155]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-dg2-3/igt@kms_frontbuffer_tracking@fbcpsr-suspend.html

  * igt@kms_frontbuffer_tracking@fbcpsr-tiling-4:
    - shard-rkl:          NOTRUN -> [SKIP][156] ([i915#5439])
   [156]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-rkl-6/igt@kms_frontbuffer_tracking@fbcpsr-tiling-4.html

  * igt@kms_frontbuffer_tracking@psr-1p-offscren-pri-indfb-draw-pwrite:
    - shard-dg1:          NOTRUN -> [SKIP][157] ([i915#3458]) +1 similar issue
   [157]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-dg1-13/igt@kms_frontbuffer_tracking@psr-1p-offscren-pri-indfb-draw-pwrite.html

  * igt@kms_frontbuffer_tracking@psr-2p-scndscrn-pri-indfb-draw-mmap-wc:
    - shard-apl:          NOTRUN -> [SKIP][158] ([fdo#109271]) +4 similar issues
   [158]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-apl7/igt@kms_frontbuffer_tracking@psr-2p-scndscrn-pri-indfb-draw-mmap-wc.html

  * igt@kms_frontbuffer_tracking@psr-2p-scndscrn-pri-shrfb-draw-mmap-cpu:
    - shard-mtlp:         NOTRUN -> [SKIP][159] ([i915#1825]) +5 similar issues
   [159]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-mtlp-8/igt@kms_frontbuffer_tracking@psr-2p-scndscrn-pri-shrfb-draw-mmap-cpu.html

  * igt@kms_frontbuffer_tracking@psr-indfb-scaledprimary:
    - shard-rkl:          NOTRUN -> [SKIP][160] ([i915#3023]) +9 similar issues
   [160]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-rkl-7/igt@kms_frontbuffer_tracking@psr-indfb-scaledprimary.html

  * igt@kms_hdr@bpc-switch:
    - shard-dg2:          NOTRUN -> [SKIP][161] ([i915#3555] / [i915#8228]) +1 similar issue
   [161]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-dg2-6/igt@kms_hdr@bpc-switch.html

  * igt@kms_hdr@bpc-switch-dpms:
    - shard-tglu:         NOTRUN -> [SKIP][162] ([i915#3555] / [i915#8228])
   [162]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-tglu-10/igt@kms_hdr@bpc-switch-dpms.html

  * igt@kms_hdr@bpc-switch-suspend@pipe-a-dp-4:
    - shard-dg2:          NOTRUN -> [FAIL][163] ([fdo#103375])
   [163]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-dg2-11/igt@kms_hdr@bpc-switch-suspend@pipe-a-dp-4.html

  * igt@kms_hdr@invalid-hdr:
    - shard-rkl:          NOTRUN -> [SKIP][164] ([i915#3555] / [i915#8228])
   [164]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-rkl-1/igt@kms_hdr@invalid-hdr.html

  * igt@kms_panel_fitting@legacy:
    - shard-dg2:          NOTRUN -> [SKIP][165] ([i915#6301])
   [165]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-dg2-8/igt@kms_panel_fitting@legacy.html
    - shard-rkl:          NOTRUN -> [SKIP][166] ([i915#6301])
   [166]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-rkl-2/igt@kms_panel_fitting@legacy.html

  * igt@kms_pipe_b_c_ivb@pipe-b-dpms-off-modeset-pipe-c:
    - shard-tglu:         NOTRUN -> [SKIP][167] ([fdo#109289])
   [167]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-tglu-2/igt@kms_pipe_b_c_ivb@pipe-b-dpms-off-modeset-pipe-c.html

  * igt@kms_plane@pixel-format-source-clamping@pipe-b-planes:
    - shard-mtlp:         [PASS][168] -> [FAIL][169] ([i915#1623]) +1 similar issue
   [168]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13426/shard-mtlp-8/igt@kms_plane@pixel-format-source-clamping@pipe-b-planes.html
   [169]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-mtlp-1/igt@kms_plane@pixel-format-source-clamping@pipe-b-planes.html

  * igt@kms_plane_multiple@tiling-yf:
    - shard-rkl:          NOTRUN -> [SKIP][170] ([i915#3555]) +2 similar issues
   [170]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-rkl-2/igt@kms_plane_multiple@tiling-yf.html

  * igt@kms_plane_scaling@intel-max-src-size@pipe-a-hdmi-a-3:
    - shard-dg1:          NOTRUN -> [FAIL][171] ([i915#8292])
   [171]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-dg1-13/igt@kms_plane_scaling@intel-max-src-size@pipe-a-hdmi-a-3.html

  * igt@kms_plane_scaling@plane-downscale-with-pixel-format-factor-0-25@pipe-a-hdmi-a-3:
    - shard-dg2:          NOTRUN -> [SKIP][172] ([i915#5176]) +3 similar issues
   [172]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-dg2-8/igt@kms_plane_scaling@plane-downscale-with-pixel-format-factor-0-25@pipe-a-hdmi-a-3.html

  * igt@kms_plane_scaling@plane-downscale-with-rotation-factor-0-25@pipe-c-hdmi-a-1:
    - shard-dg1:          NOTRUN -> [SKIP][173] ([i915#5176]) +19 similar issues
   [173]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-dg1-19/igt@kms_plane_scaling@plane-downscale-with-rotation-factor-0-25@pipe-c-hdmi-a-1.html

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

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

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

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

  * igt@kms_plane_scaling@planes-upscale-factor-0-25-downscale-factor-0-25@pipe-d-hdmi-a-1:
    - shard-tglu:         NOTRUN -> [SKIP][178] ([i915#5235]) +3 similar issues
   [178]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-tglu-4/igt@kms_plane_scaling@planes-upscale-factor-0-25-downscale-factor-0-25@pipe-d-hdmi-a-1.html

  * igt@kms_plane_scaling@planes-upscale-factor-0-25-downscale-factor-0-25@pipe-d-hdmi-a-4:
    - shard-dg1:          NOTRUN -> [SKIP][179] ([i915#5235]) +11 similar issues
   [179]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-dg1-16/igt@kms_plane_scaling@planes-upscale-factor-0-25-downscale-factor-0-25@pipe-d-hdmi-a-4.html

  * igt@kms_psr2_sf@cursor-plane-move-continuous-exceed-sf:
    - shard-glk:          NOTRUN -> [SKIP][180] ([fdo#109271] / [i915#658]) +1 similar issue
   [180]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-glk6/igt@kms_psr2_sf@cursor-plane-move-continuous-exceed-sf.html

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

  * igt@kms_psr@psr2_cursor_mmap_cpu:
    - shard-dg1:          NOTRUN -> [SKIP][182] ([i915#1072])
   [182]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-dg1-14/igt@kms_psr@psr2_cursor_mmap_cpu.html

  * igt@kms_psr@sprite_blt:
    - shard-rkl:          NOTRUN -> [SKIP][183] ([i915#1072]) +1 similar issue
   [183]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-rkl-6/igt@kms_psr@sprite_blt.html

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

  * igt@kms_rotation_crc@primary-4-tiled-reflect-x-0:
    - shard-tglu:         NOTRUN -> [SKIP][185] ([i915#5289])
   [185]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-tglu-3/igt@kms_rotation_crc@primary-4-tiled-reflect-x-0.html

  * igt@kms_rotation_crc@primary-yf-tiled-reflect-x-0:
    - shard-mtlp:         NOTRUN -> [SKIP][186] ([i915#5289])
   [186]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-mtlp-7/igt@kms_rotation_crc@primary-yf-tiled-reflect-x-0.html

  * igt@kms_rotation_crc@primary-yf-tiled-reflect-x-90:
    - shard-mtlp:         NOTRUN -> [SKIP][187] ([i915#4235])
   [187]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-mtlp-2/igt@kms_rotation_crc@primary-yf-tiled-reflect-x-90.html

  * igt@kms_setmode@clone-exclusive-crtc:
    - shard-tglu:         NOTRUN -> [SKIP][188] ([i915#3555])
   [188]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-tglu-10/igt@kms_setmode@clone-exclusive-crtc.html

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

  * igt@kms_vblank@pipe-c-ts-continuation-suspend:
    - shard-tglu:         [PASS][190] -> [ABORT][191] ([i915#5122] / [i915#8213])
   [190]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13426/shard-tglu-8/igt@kms_vblank@pipe-c-ts-continuation-suspend.html
   [191]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-tglu-3/igt@kms_vblank@pipe-c-ts-continuation-suspend.html

  * igt@kms_vblank@pipe-d-query-busy:
    - shard-rkl:          NOTRUN -> [SKIP][192] ([i915#4070] / [i915#533] / [i915#6768]) +2 similar issues
   [192]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-rkl-7/igt@kms_vblank@pipe-d-query-busy.html

  * igt@kms_vblank@pipe-d-wait-busy-hang:
    - shard-glk:          NOTRUN -> [SKIP][193] ([fdo#109271]) +29 similar issues
   [193]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-glk2/igt@kms_vblank@pipe-d-wait-busy-hang.html

  * igt@perf_pmu@event-wait@rcs0:
    - shard-rkl:          NOTRUN -> [SKIP][194] ([fdo#112283])
   [194]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-rkl-6/igt@perf_pmu@event-wait@rcs0.html

  * igt@prime_udl:
    - shard-mtlp:         NOTRUN -> [SKIP][195] ([fdo#109291])
   [195]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-mtlp-4/igt@prime_udl.html

  * igt@sysfs_heartbeat_interval@mixed@ccs0:
    - shard-mtlp:         [PASS][196] -> [ABORT][197] ([i915#8552])
   [196]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13426/shard-mtlp-2/igt@sysfs_heartbeat_interval@mixed@ccs0.html
   [197]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-mtlp-7/igt@sysfs_heartbeat_interval@mixed@ccs0.html

  * igt@sysfs_heartbeat_interval@mixed@vecs0:
    - shard-mtlp:         [PASS][198] -> [FAIL][199] ([i915#1731])
   [198]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13426/shard-mtlp-2/igt@sysfs_heartbeat_interval@mixed@vecs0.html
   [199]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-mtlp-7/igt@sysfs_heartbeat_interval@mixed@vecs0.html

  * igt@sysfs_preempt_timeout@timeout@vecs0:
    - shard-mtlp:         [PASS][200] -> [ABORT][201] ([i915#8521])
   [200]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13426/shard-mtlp-1/igt@sysfs_preempt_timeout@timeout@vecs0.html
   [201]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-mtlp-3/igt@sysfs_preempt_timeout@timeout@vecs0.html

  * igt@v3d/v3d_perfmon@get-values-invalid-pointer:
    - shard-tglu:         NOTRUN -> [SKIP][202] ([fdo#109315] / [i915#2575]) +2 similar issues
   [202]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-tglu-7/igt@v3d/v3d_perfmon@get-values-invalid-pointer.html

  * igt@v3d/v3d_submit_cl@valid-submission:
    - shard-mtlp:         NOTRUN -> [SKIP][203] ([i915#2575]) +5 similar issues
   [203]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-mtlp-1/igt@v3d/v3d_submit_cl@valid-submission.html

  * igt@v3d/v3d_submit_csd@bad-multisync-in-sync:
    - shard-dg1:          NOTRUN -> [SKIP][204] ([i915#2575])
   [204]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-dg1-13/igt@v3d/v3d_submit_csd@bad-multisync-in-sync.html

  * igt@v3d/v3d_submit_csd@valid-multisync-submission:
    - shard-rkl:          NOTRUN -> [SKIP][205] ([fdo#109315]) +5 similar issues
   [205]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-rkl-7/igt@v3d/v3d_submit_csd@valid-multisync-submission.html

  * igt@vc4/vc4_mmap@mmap-bo:
    - shard-rkl:          NOTRUN -> [SKIP][206] ([i915#7711]) +3 similar issues
   [206]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-rkl-1/igt@vc4/vc4_mmap@mmap-bo.html

  * igt@vc4/vc4_perfmon@create-single-perfmon:
    - shard-tglu:         NOTRUN -> [SKIP][207] ([i915#2575])
   [207]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-tglu-9/igt@vc4/vc4_perfmon@create-single-perfmon.html

  * igt@vc4/vc4_purgeable_bo@access-purged-bo-mem:
    - shard-mtlp:         NOTRUN -> [SKIP][208] ([i915#7711]) +1 similar issue
   [208]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-mtlp-6/igt@vc4/vc4_purgeable_bo@access-purged-bo-mem.html

  * igt@vc4/vc4_purgeable_bo@mark-purgeable:
    - shard-dg1:          NOTRUN -> [SKIP][209] ([i915#7711]) +1 similar issue
   [209]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-dg1-16/igt@vc4/vc4_purgeable_bo@mark-purgeable.html

  * igt@vc4/vc4_wait_bo@unused-bo-1ns:
    - shard-dg2:          NOTRUN -> [SKIP][210] ([i915#7711])
   [210]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-dg2-3/igt@vc4/vc4_wait_bo@unused-bo-1ns.html

  
#### Possible fixes ####

  * igt@gem_barrier_race@remote-request@rcs0:
    - shard-apl:          [ABORT][211] ([i915#7461] / [i915#8211] / [i915#8234] / [i915#8690]) -> [PASS][212]
   [211]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13426/shard-apl2/igt@gem_barrier_race@remote-request@rcs0.html
   [212]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-apl1/igt@gem_barrier_race@remote-request@rcs0.html

  * igt@gem_caching@reads:
    - shard-dg1:          [DMESG-WARN][213] ([i915#4423]) -> [PASS][214]
   [213]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13426/shard-dg1-15/igt@gem_caching@reads.html
   [214]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-dg1-18/igt@gem_caching@reads.html

  * igt@gem_create@hog-create@smem0:
    - shard-dg2:          [FAIL][215] ([i915#5892] / [i915#8758]) -> [PASS][216]
   [215]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13426/shard-dg2-5/igt@gem_create@hog-create@smem0.html
   [216]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-dg2-12/igt@gem_create@hog-create@smem0.html

  * igt@gem_ctx_persistence@legacy-engines-hang@bsd1:
    - shard-mtlp:         [FAIL][217] ([i915#2410]) -> [PASS][218]
   [217]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13426/shard-mtlp-4/igt@gem_ctx_persistence@legacy-engines-hang@bsd1.html
   [218]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-mtlp-4/igt@gem_ctx_persistence@legacy-engines-hang@bsd1.html

  * igt@gem_ctx_persistence@saturated-hostile@vecs0:
    - shard-mtlp:         [FAIL][219] ([i915#7816]) -> [PASS][220] +2 similar issues
   [219]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13426/shard-mtlp-3/igt@gem_ctx_persistence@saturated-hostile@vecs0.html
   [220]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-mtlp-3/igt@gem_ctx_persistence@saturated-hostile@vecs0.html

  * igt@gem_exec_balancer@full-pulse:
    - shard-dg2:          [FAIL][221] ([i915#6032]) -> [PASS][222]
   [221]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13426/shard-dg2-5/igt@gem_exec_balancer@full-pulse.html
   [222]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-dg2-3/igt@gem_exec_balancer@full-pulse.html

  * igt@gem_exec_fair@basic-pace-share@rcs0:
    - shard-tglu:         [FAIL][223] ([i915#2842]) -> [PASS][224]
   [223]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13426/shard-tglu-4/igt@gem_exec_fair@basic-pace-share@rcs0.html
   [224]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-tglu-4/igt@gem_exec_fair@basic-pace-share@rcs0.html

  * igt@gem_lmem_swapping@smem-oom@lmem0:
    - shard-dg2:          [DMESG-WARN][225] ([i915#4936] / [i915#5493]) -> [PASS][226]
   [225]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13426/shard-dg2-3/igt@gem_lmem_swapping@smem-oom@lmem0.html
   [226]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-dg2-2/igt@gem_lmem_swapping@smem-oom@lmem0.html
    - shard-dg1:          [TIMEOUT][227] ([i915#5493]) -> [PASS][228]
   [227]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13426/shard-dg1-18/igt@gem_lmem_swapping@smem-oom@lmem0.html
   [228]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-dg1-15/igt@gem_lmem_swapping@smem-oom@lmem0.html

  * igt@i915_pm_dc@dc9-dpms:
    - shard-apl:          [SKIP][229] ([fdo#109271]) -> [PASS][230]
   [229]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13426/shard-apl4/igt@i915_pm_dc@dc9-dpms.html
   [230]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-apl2/igt@i915_pm_dc@dc9-dpms.html

  * igt@i915_pm_rc6_residency@rc6-idle@bcs0:
    - shard-dg1:          [FAIL][231] ([i915#3591]) -> [PASS][232]
   [231]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13426/shard-dg1-17/igt@i915_pm_rc6_residency@rc6-idle@bcs0.html
   [232]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-dg1-16/igt@i915_pm_rc6_residency@rc6-idle@bcs0.html

  * igt@i915_pm_rpm@gem-execbuf-stress@smem0:
    - shard-dg1:          [FAIL][233] ([i915#7940]) -> [PASS][234]
   [233]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13426/shard-dg1-15/igt@i915_pm_rpm@gem-execbuf-stress@smem0.html
   [234]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-dg1-15/igt@i915_pm_rpm@gem-execbuf-stress@smem0.html

  * igt@i915_selftest@live@gt_mocs:
    - shard-mtlp:         [DMESG-FAIL][235] ([i915#7059]) -> [PASS][236]
   [235]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13426/shard-mtlp-1/igt@i915_selftest@live@gt_mocs.html
   [236]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-mtlp-7/igt@i915_selftest@live@gt_mocs.html

  * igt@i915_selftest@live@requests:
    - shard-mtlp:         [DMESG-FAIL][237] ([i915#7269]) -> [PASS][238]
   [237]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13426/shard-mtlp-1/igt@i915_selftest@live@requests.html
   [238]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-mtlp-7/igt@i915_selftest@live@requests.html

  * igt@kms_async_flips@alternate-sync-async-flip@pipe-a-edp-1:
    - shard-mtlp:         [FAIL][239] ([i915#2521]) -> [PASS][240]
   [239]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13426/shard-mtlp-7/igt@kms_async_flips@alternate-sync-async-flip@pipe-a-edp-1.html
   [240]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-mtlp-4/igt@kms_async_flips@alternate-sync-async-flip@pipe-a-edp-1.html

  * igt@kms_big_fb@4-tiled-64bpp-rotate-0:
    - shard-mtlp:         [DMESG-WARN][241] ([i915#2017]) -> [PASS][242]
   [241]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13426/shard-mtlp-3/igt@kms_big_fb@4-tiled-64bpp-rotate-0.html
   [242]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-mtlp-1/igt@kms_big_fb@4-tiled-64bpp-rotate-0.html

  * igt@kms_big_fb@4-tiled-64bpp-rotate-180:
    - shard-mtlp:         [FAIL][243] ([i915#5138]) -> [PASS][244]
   [243]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13426/shard-mtlp-4/igt@kms_big_fb@4-tiled-64bpp-rotate-180.html
   [244]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-mtlp-5/igt@kms_big_fb@4-tiled-64bpp-rotate-180.html

  * igt@kms_big_fb@x-tiled-max-hw-stride-64bpp-rotate-0-async-flip:
    - shard-mtlp:         [FAIL][245] ([i915#3743]) -> [PASS][246]
   [245]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13426/shard-mtlp-7/igt@kms_big_fb@x-tiled-max-hw-stride-64bpp-rotate-0-async-flip.html
   [246]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-mtlp-8/igt@kms_big_fb@x-tiled-max-hw-stride-64bpp-rotate-0-async-flip.html

  * igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions:
    - shard-glk:          [FAIL][247] ([i915#2346]) -> [PASS][248]
   [247]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13426/shard-glk6/igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions.html
   [248]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-glk2/igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions.html

  * igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions-varying-size:
    - shard-apl:          [FAIL][249] ([i915#2346]) -> [PASS][250]
   [249]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13426/shard-apl6/igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions-varying-size.html
   [250]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-apl1/igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions-varying-size.html

  * igt@kms_flip@flip-vs-expired-vblank@d-hdmi-a4:
    - shard-dg1:          [FAIL][251] -> [PASS][252]
   [251]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13426/shard-dg1-17/igt@kms_flip@flip-vs-expired-vblank@d-hdmi-a4.html
   [252]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-dg1-18/igt@kms_flip@flip-vs-expired-vblank@d-hdmi-a4.html

  * igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-move:
    - shard-dg2:          [FAIL][253] ([i915#6880]) -> [PASS][254] +2 similar issues
   [253]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13426/shard-dg2-11/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-move.html
   [254]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-dg2-6/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-move.html

  * igt@kms_rotation_crc@primary-rotation-90:
    - shard-rkl:          [ABORT][255] ([i915#8311]) -> [PASS][256]
   [255]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13426/shard-rkl-6/igt@kms_rotation_crc@primary-rotation-90.html
   [256]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-rkl-6/igt@kms_rotation_crc@primary-rotation-90.html

  * igt@perf@non-zero-reason@0-rcs0:
    - shard-dg2:          [FAIL][257] ([i915#7484]) -> [PASS][258]
   [257]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13426/shard-dg2-7/igt@perf@non-zero-reason@0-rcs0.html
   [258]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-dg2-1/igt@perf@non-zero-reason@0-rcs0.html

  * igt@perf@stress-open-close@0-rcs0:
    - shard-glk:          [ABORT][259] ([i915#5213] / [i915#7941]) -> [PASS][260]
   [259]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13426/shard-glk6/igt@perf@stress-open-close@0-rcs0.html
   [260]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-glk6/igt@perf@stress-open-close@0-rcs0.html

  
#### Warnings ####

  * igt@gem_exec_whisper@basic-contexts-forked-all:
    - shard-mtlp:         [TIMEOUT][261] ([i915#8628]) -> [ABORT][262] ([i915#8131])
   [261]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13426/shard-mtlp-2/igt@gem_exec_whisper@basic-contexts-forked-all.html
   [262]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-mtlp-5/igt@gem_exec_whisper@basic-contexts-forked-all.html

  * igt@kms_content_protection@mei_interface:
    - shard-dg2:          [SKIP][263] ([i915#7118]) -> [SKIP][264] ([i915#7118] / [i915#7162])
   [263]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13426/shard-dg2-3/igt@kms_content_protection@mei_interface.html
   [264]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-dg2-12/igt@kms_content_protection@mei_interface.html
    - shard-dg1:          [SKIP][265] ([i915#7116]) -> [SKIP][266] ([fdo#109300])
   [265]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13426/shard-dg1-15/igt@kms_content_protection@mei_interface.html
   [266]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-dg1-18/igt@kms_content_protection@mei_interface.html

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

  * igt@kms_flip@2x-flip-vs-absolute-wf_vblank-interruptible:
    - shard-dg1:          [SKIP][269] ([fdo#111825] / [i915#4423]) -> [SKIP][270] ([fdo#111825])
   [269]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13426/shard-dg1-15/igt@kms_flip@2x-flip-vs-absolute-wf_vblank-interruptible.html
   [270]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-dg1-13/igt@kms_flip@2x-flip-vs-absolute-wf_vblank-interruptible.html

  * igt@kms_multipipe_modeset@basic-max-pipe-crc-check:
    - shard-rkl:          [SKIP][271] ([i915#4070] / [i915#4816]) -> [SKIP][272] ([i915#4816])
   [271]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13426/shard-rkl-1/igt@kms_multipipe_modeset@basic-max-pipe-crc-check.html
   [272]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-rkl-7/igt@kms_multipipe_modeset@basic-max-pipe-crc-check.html

  * igt@kms_psr@cursor_plane_move:
    - shard-dg1:          [SKIP][273] ([i915#1072]) -> [SKIP][274] ([i915#1072] / [i915#4078]) +1 similar issue
   [273]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13426/shard-dg1-17/igt@kms_psr@cursor_plane_move.html
   [274]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/shard-dg1-16/igt@kms_psr@cursor_plane_move.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#109280]: https://bugs.freedesktop.org/show_bug.cgi?id=109280
  [fdo#109285]: https://bugs.freedesktop.org/show_bug.cgi?id=109285
  [fdo#109289]: https://bugs.freedesktop.org/show_bug.cgi?id=109289
  [fdo#109291]: https://bugs.freedesktop.org/show_bug.cgi?id=109291
  [fdo#109300]: https://bugs.freedesktop.org/show_bug.cgi?id=109300
  [fdo#109315]: https://bugs.freedesktop.org/show_bug.cgi?id=109315
  [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#111767]: https://bugs.freedesktop.org/show_bug.cgi?id=111767
  [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#1099]: https://gitlab.freedesktop.org/drm/intel/issues/1099
  [i915#1397]: https://gitlab.freedesktop.org/drm/intel/issues/1397
  [i915#1623]: https://gitlab.freedesktop.org/drm/intel/issues/1623
  [i915#1731]: https://gitlab.freedesktop.org/drm/intel/issues/1731
  [i915#1769]: https://gitlab.freedesktop.org/drm/intel/issues/1769
  [i915#1825]: https://gitlab.freedesktop.org/drm/intel/issues/1825
  [i915#1982]: https://gitlab.freedesktop.org/drm/intel/issues/1982
  [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#2521]: https://gitlab.freedesktop.org/drm/intel/issues/2521
  [i915#2527]: https://gitlab.freedesktop.org/drm/intel/issues/2527
  [i915#2575]: https://gitlab.freedesktop.org/drm/intel/issues/2575
  [i915#2658]: https://gitlab.freedesktop.org/drm/intel/issues/2658
  [i915#2672]: https://gitlab.freedesktop.org/drm/intel/issues/2672
  [i915#280]: https://gitlab.freedesktop.org/drm/intel/issues/280
  [i915#284]: https://gitlab.freedesktop.org/drm/intel/issues/284
  [i915#2842]: https://gitlab.freedesktop.org/drm/intel/issues/2842
  [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#3299]: https://gitlab.freedesktop.org/drm/intel/issues/3299
  [i915#3458]: https://gitlab.freedesktop.org/drm/intel/issues/3458
  [i915#3539]: https://gitlab.freedesktop.org/drm/intel/issues/3539
  [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#3734]: https://gitlab.freedesktop.org/drm/intel/issues/3734
  [i915#3743]: https://gitlab.freedesktop.org/drm/intel/issues/3743
  [i915#3840]: https://gitlab.freedesktop.org/drm/intel/issues/3840
  [i915#3886]: https://gitlab.freedesktop.org/drm/intel/issues/3886
  [i915#3955]: https://gitlab.freedesktop.org/drm/intel/issues/3955
  [i915#4036]: https://gitlab.freedesktop.org/drm/intel/issues/4036
  [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#4079]: https://gitlab.freedesktop.org/drm/intel/issues/4079
  [i915#4083]: https://gitlab.freedesktop.org/drm/intel/issues/4083
  [i915#4235]: https://gitlab.freedesktop.org/drm/intel/issues/4235
  [i915#4270]: https://gitlab.freedesktop.org/drm/intel/issues/4270
  [i915#4387]: https://gitlab.freedesktop.org/drm/intel/issues/4387
  [i915#4423]: https://gitlab.freedesktop.org/drm/intel/issues/4423
  [i915#4525]: https://gitlab.freedesktop.org/drm/intel/issues/4525
  [i915#4538]: https://gitlab.freedesktop.org/drm/intel/issues/4538
  [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#4852]: https://gitlab.freedesktop.org/drm/intel/issues/4852
  [i915#4936]: https://gitlab.freedesktop.org/drm/intel/issues/4936
  [i915#5107]: https://gitlab.freedesktop.org/drm/intel/issues/5107
  [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#5213]: https://gitlab.freedesktop.org/drm/intel/issues/5213
  [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#5461]: https://gitlab.freedesktop.org/drm/intel/issues/5461
  [i915#5493]: https://gitlab.freedesktop.org/drm/intel/issues/5493
  [i915#5723]: https://gitlab.freedesktop.org/drm/intel/issues/5723
  [i915#5892]: https://gitlab.freedesktop.org/drm/intel/issues/5892
  [i915#6032]: https://gitlab.freedesktop.org/drm/intel/issues/6032
  [i915#6095]: https://gitlab.freedesktop.org/drm/intel/issues/6095
  [i915#6268]: https://gitlab.freedesktop.org/drm/intel/issues/6268
  [i915#6301]: https://gitlab.freedesktop.org/drm/intel/issues/6301
  [i915#6367]: https://gitlab.freedesktop.org/drm/intel/issues/6367
  [i915#658]: https://gitlab.freedesktop.org/drm/intel/issues/658
  [i915#6590]: https://gitlab.freedesktop.org/drm/intel/issues/6590
  [i915#6621]: https://gitlab.freedesktop.org/drm/intel/issues/6621
  [i915#6768]: https://gitlab.freedesktop.org/drm/intel/issues/6768
  [i915#6880]: https://gitlab.freedesktop.org/drm/intel/issues/6880
  [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#7116]: https://gitlab.freedesktop.org/drm/intel/issues/7116
  [i915#7118]: https://gitlab.freedesktop.org/drm/intel/issues/7118
  [i915#7162]: https://gitlab.freedesktop.org/drm/intel/issues/7162
  [i915#7173]: https://gitlab.freedesktop.org/drm/intel/issues/7173
  [i915#7269]: https://gitlab.freedesktop.org/drm/intel/issues/7269
  [i915#7461]: https://gitlab.freedesktop.org/drm/intel/issues/7461
  [i915#7484]: https://gitlab.freedesktop.org/drm/intel/issues/7484
  [i915#7691]: https://gitlab.freedesktop.org/drm/intel/issues/7691
  [i915#7697]: https://gitlab.freedesktop.org/drm/intel/issues/7697
  [i915#7701]: https://gitlab.freedesktop.org/drm/intel/issues/7701
  [i915#7711]: https://gitlab.freedesktop.org/drm/intel/issues/7711
  [i915#7742]: https://gitlab.freedesktop.org/drm/intel/issues/7742
  [i915#7816]: https://gitlab.freedesktop.org/drm/intel/issues/7816
  [i915#7828]: https://gitlab.freedesktop.org/drm/intel/issues/7828
  [i915#7916]: https://gitlab.freedesktop.org/drm/intel/issues/7916
  [i915#7940]: https://gitlab.freedesktop.org/drm/intel/issues/7940
  [i915#7941]: https://gitlab.freedesktop.org/drm/intel/issues/7941
  [i915#7975]: https://gitlab.freedesktop.org/drm/intel/issues/7975
  [i915#8131]: https://gitlab.freedesktop.org/drm/intel/issues/8131
  [i915#8211]: https://gitlab.freedesktop.org/drm/intel/issues/8211
  [i915#8213]: https://gitlab.freedesktop.org/drm/intel/issues/8213
  [i915#8228]: https://gitlab.freedesktop.org/drm/intel/issues/8228
  [i915#8234]: https://gitlab.freedesktop.org/drm/intel/issues/8234
  [i915#8292]: https://gitlab.freedesktop.org/drm/intel/issues/8292
  [i915#8295]: https://gitlab.freedesktop.org/drm/intel/issues/8295
  [i915#8311]: https://gitlab.freedesktop.org/drm/intel/issues/8311
  [i915#8346]: https://gitlab.freedesktop.org/drm/intel/issues/8346
  [i915#8381]: https://gitlab.freedesktop.org/drm/intel/issues/8381
  [i915#8411]: https://gitlab.freedesktop.org/drm/intel/issues/8411
  [i915#8414]: https://gitlab.freedesktop.org/drm/intel/issues/8414
  [i915#8428]: https://gitlab.freedesktop.org/drm/intel/issues/8428
  [i915#8502]: https://gitlab.freedesktop.org/drm/intel/issues/8502
  [i915#8521]: https://gitlab.freedesktop.org/drm/intel/issues/8521
  [i915#8552]: https://gitlab.freedesktop.org/drm/intel/issues/8552
  [i915#8555]: https://gitlab.freedesktop.org/drm/intel/issues/8555
  [i915#8623]: https://gitlab.freedesktop.org/drm/intel/issues/8623
  [i915#8628]: https://gitlab.freedesktop.org/drm/intel/issues/8628
  [i915#8661]: https://gitlab.freedesktop.org/drm/intel/issues/8661
  [i915#8690]: https://gitlab.freedesktop.org/drm/intel/issues/8690
  [i915#8708]: https://gitlab.freedesktop.org/drm/intel/issues/8708
  [i915#8709]: https://gitlab.freedesktop.org/drm/intel/issues/8709
  [i915#8758]: https://gitlab.freedesktop.org/drm/intel/issues/8758
  [i915#8810]: https://gitlab.freedesktop.org/drm/intel/issues/8810
  [i915#8841]: https://gitlab.freedesktop.org/drm/intel/issues/8841


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

  * CI: CI-20190529 -> None
  * IGT: IGT_7405 -> IGTPW_9467
  * Piglit: piglit_4509 -> None

  CI-20190529: 20190529
  CI_DRM_13426: 50f130ab3021dd575aca3fab9c08eae15cd323a8 @ git://anongit.freedesktop.org/gfx-ci/linux
  IGTPW_9467: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9467/index.html
  IGT_7405: 6745761cb6050514a12aac973d02aeccdff06255 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
  piglit_4509: fdc5a4ca11124ab8413c7988896eec4c97336694 @ git://anongit.freedesktop.org/piglit

== Logs ==

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

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

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

* Re: [igt-dev] [PATCH] tests/amdgpu: add security tests
  2023-07-26 23:26 [igt-dev] [PATCH] tests/amdgpu: add security tests vitaly.prosyak
                   ` (2 preceding siblings ...)
  2023-07-27  3:38 ` [igt-dev] ✓ Fi.CI.IGT: success " Patchwork
@ 2023-07-27  4:26 ` Luben Tuikov
  3 siblings, 0 replies; 7+ messages in thread
From: Luben Tuikov @ 2023-07-27  4:26 UTC (permalink / raw)
  To: vitaly.prosyak, igt-dev; +Cc: alexander.deucher, christian.koenig, aaron.liu

On 2023-07-26 19:26, vitaly.prosyak@amd.com wrote:
> From: Vitaly Prosyak <vitaly.prosyak@amd.com>
> 
> Ported and refactored drmlib security tests and  the following is done:
> 
> 1. Remove everywhere global variables.
> 2. Reuse common functions from amd_command_submission.c
> 3. Reuse IGT igt_fixture functions.
> 4. Properly formatted code to meet IGT guidelines.
> 
> Cc: Aaron Liu <aaron.liu@amd.com>
> Cc: Luben Tuikov <luben.tuikov@amd.com>
> Cc: Alex Deucher <alexander.deucher@amd.com>
> Cc: Christian Koenig <christian.koenig@amd.com>
> 
> Signed-off-by: Vitaly Prosyak <vitaly.prosyak@amd.com>

There is no empty line between tags (Cc, Signed-off-by, etc).

> ---
>  lib/amdgpu/amd_ip_blocks.c  |   3 +-
>  tests/amdgpu/amd_security.c | 390 ++++++++++++++++++++++++++++++++++++
>  tests/amdgpu/meson.build    |   1 +
>  3 files changed, 392 insertions(+), 2 deletions(-)
>  create mode 100644 tests/amdgpu/amd_security.c
> 
> diff --git a/lib/amdgpu/amd_ip_blocks.c b/lib/amdgpu/amd_ip_blocks.c
> index 1249551cc..bf003b820 100644
> --- a/lib/amdgpu/amd_ip_blocks.c
> +++ b/lib/amdgpu/amd_ip_blocks.c
> @@ -669,6 +669,7 @@ int setup_amdgpu_ip_blocks(uint32_t major, uint32_t minor, struct amdgpu_gpu_inf
>  	case GFX8: /* tested */
>  	case GFX9: /* tested */
>  	case GFX10:/* tested */
> +	case GFX10_3: /*to be tested*/

Can we test this now, so we can add /* tested */ here and commit it tested in IGT?

>  		amdgpu_device_ip_block_add(&gfx_v8_x_ip_block);
>  		amdgpu_device_ip_block_add(&compute_v8_x_ip_block);
>  		amdgpu_device_ip_block_add(&sdma_v3_x_ip_block);
> @@ -680,8 +681,6 @@ int setup_amdgpu_ip_blocks(uint32_t major, uint32_t minor, struct amdgpu_gpu_inf
>  		igt_assert_eq(gfx_v8_x_ip_block.funcs->family_id, FAMILY_VI);
>  		igt_assert_eq(sdma_v3_x_ip_block.funcs->family_id, FAMILY_VI);
>  		break;
> -	case GFX10_3:
> -		break;
>  	default:
>  		igt_info("amdgpu: GFX or old.\n");
>  		return -1;
> diff --git a/tests/amdgpu/amd_security.c b/tests/amdgpu/amd_security.c
> new file mode 100644
> index 000000000..210f41675
> --- /dev/null
> +++ b/tests/amdgpu/amd_security.c
> @@ -0,0 +1,390 @@
> +// SPDX-License-Identifier: MIT
> +/*
> + * Copyright 2023 Advanced Micro Devices, Inc.
> + * Copyright 2019 Advanced Micro Devices, Inc.
> + */

2019 should be listed before 2023. Dates should be listed
in chronological order.

> +
> +#include <amdgpu.h>

Where is the location of this header file?

(Is it possible to get amdgpu_bo from it, or add amdgpu_internal.h
like we do in libdrm so we have amdgpu_bo?)

The angle brackets would imply a system location... (but it could
be overriden by gcc'c -Idir).

> +
> +#include "igt.h"
> +
> +#include "lib/amdgpu/amd_memory.h"
> +#include "lib/amdgpu/amd_command_submission.h"
> +
> +/* --------------------- Secure bounce test ------------------------ *
> + *
> + * The secure bounce test tests that we can evict a TMZ buffer,
> + * and page it back in, via a bounce buffer, as it encryption/decryption
> + * depends on its physical address, and have the same data, i.e. data
> + * integrity is preserved.
> + *
> + * The steps are as follows (from Christian K.):
> + *
> + * Buffer A which is TMZ protected and filled by the CPU with a
> + * certain pattern. That the GPU is reading only random nonsense from
> + * that pattern is irrelevant for the test.
> + *
> + * This buffer A is then secure copied into buffer B which is also
> + * TMZ protected.
> + *
> + * Buffer B is moved around, from VRAM to GTT, GTT to SYSTEM,
> + * etc.
> + *
> + * Then, we use another secure copy of buffer B back to buffer A.
> + *
> + * And lastly we check with the CPU the pattern.
> + *
> + * Assuming that we don't have memory contention and buffer A stayed
> + * at the same place, we should still see the same pattern when read
> + * by the CPU.
> + *
> + * If we don't see the same pattern then something in the buffer
> + * migration code is not working as expected.
> + */
> +
> +#define PACKET_LCOPY_SIZE         8
> +#define PACKET_NOP_SIZE          16
> +#define SECURE_BUFFER_SIZE       (4 * 1024 * sizeof(secure_pattern))
> +
> +struct amdgpu_bo_dublicate {

Perhaps "duplicate"?

> +	int32_t refcount;
> +	void *dev;
> +
> +	uint64_t alloc_size;
> +
> +	uint32_t handle;
> +	uint32_t flink_name;
> +
> +	pthread_mutex_t cpu_access_mutex;
> +	void *cpu_ptr;
> +	int64_t cpu_map_count;
> +};
> +
> +/*
> + *	temp. ugly hack to retrieve the handle of bo using offset
> + *	TODO add new method to drmlib set_placement
> + */
> +static uint32_t
> +get_handle(struct amdgpu_bo *bo)
> +{
> +	struct amdgpu_bo_dublicate *bod = (struct amdgpu_bo_dublicate *)bo;

Is it not possible to dereference the bo, since we have struct amdgpu_bo as the argument?

Is it possible to resolve/fix this dereference now rather than leave it for later?

> +
> +	return bod->handle;
> +}
> +
> +static void
> +amdgpu_sdma_lcopy(uint32_t *packet, uint64_t dst, uint64_t src, uint32_t size,
> +				uint32_t secure)
> +{
> +	/* Set the packet to Linear copy with TMZ set.
> +	 */
> +	packet[0] = htole32(secure << 18 | 1);
> +	packet[1] = htole32(size-1);
> +	packet[2] = htole32(0);
> +	packet[3] = htole32((uint32_t)(src & 0xFFFFFFFFU));
> +	packet[4] = htole32((uint32_t)(src >> 32));
> +	packet[5] = htole32((uint32_t)(dst & 0xFFFFFFFFU));
> +	packet[6] = htole32((uint32_t)(dst >> 32));
> +	packet[7] = htole32(0);
> +}
> +
> +static void
> +amdgpu_sdma_nop(uint32_t *packet, uint32_t nop_count)
> +{
> +	/* A packet of the desired number of NOPs.
> +	 */
> +	packet[0] = htole32(nop_count << 16);
> +	for ( ; nop_count > 0; nop_count--)
> +		packet[nop_count-1] = 0;
> +}
> +
> +/**
> + * amdgpu_bo_lcopy -- linear copy with TMZ set, using sDMA
> + * @dev: AMDGPU device to which both buffer objects belong to
> + * @ring_context: aux struct which has destination and source buffer objects
> + * @size: size of memory to move, in bytes.
> + * @secure: Set to 1 to perform secure copy, 0 for clear
> + *
> + * Issues and waits for completion of a Linear Copy with TMZ
> + * set, to the sDMA engine. @size should be a multiple of
> + * at least 16 bytes.
> + */
> +static void
> +amdgpu_bo_lcopy(amdgpu_device_handle device,
> +		struct amdgpu_ring_context *ring_context,
> +		const struct amdgpu_ip_block_version *ip_block, uint32_t size,
> +		uint32_t secure)
> +{
> +	ring_context->pm4 = calloc(PACKET_LCOPY_SIZE, sizeof(*ring_context->pm4));
> +	ring_context->secure = secure;
> +	ring_context->pm4_size = PACKET_LCOPY_SIZE;
> +	ring_context->res_cnt = 2;
> +	igt_assert(ring_context->pm4);
> +
> +	amdgpu_sdma_lcopy(ring_context->pm4, ring_context->bo_mc2,
> +			ring_context->bo_mc, size, secure);
> +	amdgpu_test_exec_cs_helper(device, ip_block->type, ring_context);
> +	free(ring_context->pm4);
> +}
> +
> +/**
> + * amdgpu_bo_move -- Evoke a move of the buffer object (BO)
> + * @dev: device to which this buffer object belongs to
> + * @ring_context: aux struct which has destination and source buffer objects
> + * @whereto: one of AMDGPU_GEM_DOMAIN_xyz
> + * @secure: set to 1 to submit secure IBs
> + *
> + * Evokes a move of the buffer object @bo to the GEM domain
> + * descibed by @whereto.
> + *
> + * Returns 0 on success; -errno on error.
> + */
> +static void
> +amdgpu_bo_move(
> +		amdgpu_device_handle device,
> +		int fd,
> +		struct amdgpu_ring_context *ring_context,
> +		const struct amdgpu_ip_block_version *ip_block,
> +		uint64_t whereto, uint32_t secure)

I think you can pull this up by one line to set "device" be on the
same line as "amdgpu_bo_move(" and no one would mind.

> +{
> +	int r;
> +	struct drm_amdgpu_gem_op gop = {
> +		.handle  = get_handle(ring_context->bo2),
> +		.op      = AMDGPU_GEM_OP_SET_PLACEMENT,
> +		.value   = whereto,
> +	};
> +
> +	ring_context->pm4 = calloc(PACKET_NOP_SIZE, sizeof(*ring_context->pm4));
> +	ring_context->secure = secure;
> +	ring_context->pm4_size = PACKET_NOP_SIZE;
> +	ring_context->res_cnt = 1;
> +	igt_assert(ring_context->pm4);
> +
> +	/* Change the buffer's placement.
> +	 */
> +	r = drmIoctl(fd, DRM_IOCTL_AMDGPU_GEM_OP, &gop);
> +	igt_assert_eq(r, 0);
> +
> +	/* Now issue a NOP to actually evoke the MM to move
> +	 * it to the desired location.
> +	 */
> +	amdgpu_sdma_nop(ring_context->pm4, PACKET_NOP_SIZE);
> +	amdgpu_test_exec_cs_helper(device, ip_block->type, ring_context);
> +	free(ring_context->pm4);
> +}
> +
> +/* Safe, O Sec!
> + */
> +static const uint8_t secure_pattern[] = { 0x5A, 0xFE, 0x05, 0xEC };
> +
> +
> +
> +static void
> +amdgpu_secure_bounce(amdgpu_device_handle device_handle, int fd,
> +		struct drm_amdgpu_info_hw_ip  *sdma_info,
> +		const struct amdgpu_ip_block_version *ip_block, bool secure)
> +{
> +	struct amdgpu_ring_context *ring_context;
> +
> +	long page_size;
> +	uint8_t *pp;
> +	int r;
> +
> +	ring_context = calloc(1, sizeof(*ring_context));
> +	igt_assert(ring_context);
> +
> +	page_size = sysconf(_SC_PAGESIZE);
> +	r = amdgpu_cs_ctx_create(device_handle, &ring_context->context_handle);
> +	igt_assert_eq(r, 0);
> +
> +	/* Use the first present ring.
> +	 */
> +	ring_context->ring_id = ffs(sdma_info->available_rings) - 1;
> +	if (ring_context->ring_id == -1)
> +		igt_assert(false);
> +
> +
> +	/* Allocate a buffer named Alice (bo, bo_cpu, bo_mc) in VRAM. */
> +	r = amdgpu_bo_alloc_and_map_raw(device_handle, SECURE_BUFFER_SIZE,
> +						page_size,	AMDGPU_GEM_DOMAIN_VRAM,
> +						secure == true ? AMDGPU_GEM_CREATE_ENCRYPTED : 0, 0,
> +						&ring_context->bo,
> +						(void **)&ring_context->bo_cpu,
> +						&ring_context->bo_mc,
> +						&ring_context->va_handle);
> +	igt_assert_eq(r, 0);
> +
> +	/* Fill Alice with a pattern */
> +	for (pp = (__typeof__(pp))ring_context->bo_cpu;
> +	     pp < (__typeof__(pp)) ring_context->bo_cpu + SECURE_BUFFER_SIZE;
> +	     pp += sizeof(secure_pattern))
> +		memcpy(pp, secure_pattern, sizeof(secure_pattern));
> +
> +	/* Allocate a buffer named Bob(bo2, bo_cpu2, bo_mc2)  in VRAM.
> +	 */
> +	r = amdgpu_bo_alloc_and_map_raw(device_handle, SECURE_BUFFER_SIZE,
> +						page_size,	AMDGPU_GEM_DOMAIN_VRAM,

Extra TAB char before AMDGPU_GEM_DOMAIN_VRAM should be replaced by a single space char.

> +						secure == true ? AMDGPU_GEM_CREATE_ENCRYPTED : 0, 0,
> +						&ring_context->bo2,
> +						(void **)&ring_context->bo2_cpu,
> +						&ring_context->bo_mc2,
> +						&ring_context->va_handle2);
> +	igt_assert_eq(r, 0);
> +
> +	/* sDMA TMZ copy from Alice to Bob */
> +	ring_context->resources[0] = ring_context->bo2;	// Bob
> +	ring_context->resources[1] = ring_context->bo;	// Alice
> +
> +	amdgpu_bo_lcopy(device_handle, ring_context, ip_block, SECURE_BUFFER_SIZE,
> +			secure == true ? 1 : 0);
> +
> +	/* Verify the contents of Bob. */
> +	for (pp = (__typeof__(pp))ring_context->bo2_cpu;
> +	     pp < (__typeof__(pp)) ring_context->bo2_cpu + SECURE_BUFFER_SIZE;
> +	     pp += sizeof(secure_pattern)) {
> +		r = memcmp(pp, secure_pattern, sizeof(secure_pattern));
> +		if (r) {
> +			// test failure
> +			igt_assert(false);
> +			break;
> +		}
> +	}
> +
> +	/* Move Bob to the GTT domain. */
> +

Extra white line should probably be removed.

> +	amdgpu_bo_move(device_handle, fd, ring_context, ip_block,
> +			AMDGPU_GEM_DOMAIN_GTT, 0);
> +
> +	/* sDMA TMZ copy from Bob to Alice.
> +	 * bo is a source ,bo2 is destination
> +	 */
> +
> +	ring_context->resources[0] = ring_context->bo; // Alice
> +	ring_context->resources[1] = ring_context->bo2; // Bob
> +
> +	/* sDMA TMZ copy from Bob to Alice. */
> +	amdgpu_bo_lcopy(device_handle, ring_context, ip_block, SECURE_BUFFER_SIZE,
> +			secure == true ? 1 : 0);
> +
> +	/* Verify the contents of Alice */
> +	for (pp = (__typeof__(pp))ring_context->bo_cpu;
> +	     pp < (__typeof__(pp)) ring_context->bo_cpu + SECURE_BUFFER_SIZE;
> +	     pp += sizeof(secure_pattern)) {
> +		r = memcmp(pp, secure_pattern, sizeof(secure_pattern));
> +		if (r) {
> +			// test failure
> +			igt_assert(false);
> +			break;
> +		}
> +	}
> +	amdgpu_bo_unmap_and_free(ring_context->bo, ring_context->va_handle,
> +			ring_context->bo_mc, SECURE_BUFFER_SIZE);
> +	amdgpu_bo_unmap_and_free(ring_context->bo2, ring_context->va_handle2,
> +			ring_context->bo_mc2, SECURE_BUFFER_SIZE);
> +	amdgpu_cs_ctx_free(ring_context->context_handle);
> +	free(ring_context);
> +}
> +
> +
> +static void
> +amdgpu_security_alloc_buf_test(amdgpu_device_handle device_handle)
> +{
> +	amdgpu_bo_handle bo;
> +	amdgpu_va_handle va_handle;
> +	uint64_t bo_mc;
> +
> +	/* Test secure buffer allocation in VRAM */
> +	bo = gpu_mem_alloc(device_handle, 4096, 4096,
> +			   AMDGPU_GEM_DOMAIN_VRAM,
> +			   AMDGPU_GEM_CREATE_ENCRYPTED,
> +			   &bo_mc, &va_handle);
> +
> +	gpu_mem_free(bo, va_handle, bo_mc, 4096);
> +
> +	/* Test secure buffer allocation in system memory */
> +	bo = gpu_mem_alloc(device_handle, 4096, 4096,
> +			   AMDGPU_GEM_DOMAIN_GTT,
> +			   AMDGPU_GEM_CREATE_ENCRYPTED,
> +			   &bo_mc, &va_handle);
> +
> +	gpu_mem_free(bo, va_handle, bo_mc, 4096);
> +
> +	/* Test secure buffer allocation in invisible VRAM */
> +	bo = gpu_mem_alloc(device_handle, 4096, 4096,
> +			   AMDGPU_GEM_DOMAIN_GTT,
> +			   AMDGPU_GEM_CREATE_ENCRYPTED |
> +			   AMDGPU_GEM_CREATE_NO_CPU_ACCESS,
> +			   &bo_mc, &va_handle);
> +
> +	gpu_mem_free(bo, va_handle, bo_mc, 4096);
> +}
> +
> +static bool
> +is_security_tests_enable(amdgpu_device_handle device_handle,
> +		const struct amdgpu_gpu_info *gpu_info, uint32_t major, uint32_t minor)
> +{
> +	bool enable = true;
> +
> +	if (!(gpu_info->ids_flags & AMDGPU_IDS_FLAGS_TMZ)) {
> +		igt_info("Don't support TMZ (trust memory zone), security test is disabled\n");
> +		enable = false;
> +	}
> +
> +	if ((major < 3) ||
> +		((major == 3) && (minor < 37))) {
> +		igt_info("Don't support TMZ (trust memory zone), kernel DRM version (%d.%d)\n",
> +				major, minor);
> +		enable = false;
> +	}
> +
> +	return enable;
> +}
> +
> +igt_main
> +{
> +	amdgpu_device_handle device;
> +	struct amdgpu_gpu_info gpu_info = {};
> +	struct drm_amdgpu_info_hw_ip  sdma_info = {};
> +	int r, fd = -1;
> +	bool is_secure = true;
> +
> +	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 = amdgpu_query_gpu_info(device, &gpu_info);
> +		igt_assert_eq(err, 0);
> +		r = setup_amdgpu_ip_blocks(major, minor,  &gpu_info, device);
> +		igt_assert_eq(r, 0);
> +		r = amdgpu_query_hw_ip_info(device, AMDGPU_HW_IP_DMA, 0, &sdma_info);
> +		igt_assert_eq(r, 0);
> +		igt_skip_on(!is_security_tests_enable(device, &gpu_info, major, minor));
> +	}
> +
> +	igt_describe("amdgpu_security_alloc_buf_test");
> +	igt_subtest("amdgpu-security-alloc-buf-test")
> +	amdgpu_security_alloc_buf_test(device);
> +
> +	igt_describe("amdgpu_command_submission_write_linear_helper");
> +	igt_subtest("write-linear-helper-secure")
> +	amdgpu_command_submission_write_linear_helper(device,
> +			get_ip_block(device, AMDGPU_HW_IP_DMA), is_secure);
> +
> +	/* dynamic test based on sdma_info.availible rings */

Spellcheck: "sdma_info.available".

> +	igt_describe("amdgpu_secure_bounce");
> +	igt_subtest("amdgpu-secure-bounce")
> +	amdgpu_secure_bounce(device, fd, &sdma_info, get_ip_block(device,
> +			AMDGPU_HW_IP_DMA), is_secure);
> +
> +	igt_fixture {
> +		amdgpu_device_deinitialize(device);
> +		drm_close_driver(fd);
> +	}
> +}
> +
> +
> diff --git a/tests/amdgpu/meson.build b/tests/amdgpu/meson.build
> index ef1735fda..bdada90ca 100644
> --- a/tests/amdgpu/meson.build
> +++ b/tests/amdgpu/meson.build
> @@ -26,6 +26,7 @@ if libdrm_amdgpu.found()
>  			  'amd_plane',
>  			  'amd_prime',
>  			  'amd_psr',
> +			  'amd_security',
>  			  'amd_uvd_dec',
>  			  'amd_uvd_enc',
>  			  'amd_vce_dec',

-- 
Regards,
Luben

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

* [igt-dev] [PATCH] tests/amdgpu: add security tests
@ 2023-07-27 20:30 vitaly.prosyak
  2023-07-27 20:55 ` Luben Tuikov
  0 siblings, 1 reply; 7+ messages in thread
From: vitaly.prosyak @ 2023-07-27 20:30 UTC (permalink / raw)
  To: igt-dev; +Cc: alexander.deucher, luben.tuikov, christian.koenig, aaron.liu

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

Ported and refactored drmlib security tests and  the following is done:

1. Remove everywhere global variables.
2. Reuse common functions from amd_command_submission.c
3. Reuse IGT igt_fixture functions.
4. Properly formatted code to meet IGT guidelines.

v2:
    - Numerous improvements related to formatting, style,
      spelling, includes (Luben).
    - Use amdgpu_bo_export  to retrieve the kms handle of
      amdgpu_bo (Christian)

Cc: Aaron Liu <aaron.liu@amd.com>
Cc: Luben Tuikov <luben.tuikov@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: Christian Koenig <christian.koenig@amd.com>
Signed-off-by: Vitaly Prosyak <vitaly.prosyak@amd.com>
---
 lib/amdgpu/amd_ip_blocks.c  |   3 +-
 tests/amdgpu/amd_security.c | 375 ++++++++++++++++++++++++++++++++++++
 tests/amdgpu/meson.build    |   1 +
 3 files changed, 377 insertions(+), 2 deletions(-)
 create mode 100644 tests/amdgpu/amd_security.c

diff --git a/lib/amdgpu/amd_ip_blocks.c b/lib/amdgpu/amd_ip_blocks.c
index 1249551cc..44768ba64 100644
--- a/lib/amdgpu/amd_ip_blocks.c
+++ b/lib/amdgpu/amd_ip_blocks.c
@@ -669,6 +669,7 @@ int setup_amdgpu_ip_blocks(uint32_t major, uint32_t minor, struct amdgpu_gpu_inf
 	case GFX8: /* tested */
 	case GFX9: /* tested */
 	case GFX10:/* tested */
+	case GFX10_3: /* tested */
 		amdgpu_device_ip_block_add(&gfx_v8_x_ip_block);
 		amdgpu_device_ip_block_add(&compute_v8_x_ip_block);
 		amdgpu_device_ip_block_add(&sdma_v3_x_ip_block);
@@ -680,8 +681,6 @@ int setup_amdgpu_ip_blocks(uint32_t major, uint32_t minor, struct amdgpu_gpu_inf
 		igt_assert_eq(gfx_v8_x_ip_block.funcs->family_id, FAMILY_VI);
 		igt_assert_eq(sdma_v3_x_ip_block.funcs->family_id, FAMILY_VI);
 		break;
-	case GFX10_3:
-		break;
 	default:
 		igt_info("amdgpu: GFX or old.\n");
 		return -1;
diff --git a/tests/amdgpu/amd_security.c b/tests/amdgpu/amd_security.c
new file mode 100644
index 000000000..46180df2e
--- /dev/null
+++ b/tests/amdgpu/amd_security.c
@@ -0,0 +1,375 @@
+// SPDX-License-Identifier: MIT
+/*
+ * Copyright 2019 Advanced Micro Devices, Inc.
+ * Copyright 2023 Advanced Micro Devices, Inc.
+ */
+
+#include <amdgpu.h>
+
+#include "igt.h"
+
+#include "lib/amdgpu/amd_memory.h"
+#include "lib/amdgpu/amd_command_submission.h"
+
+/* --------------------- Secure bounce test ------------------------ *
+ *
+ * The secure bounce test tests that we can evict a TMZ buffer,
+ * and page it back in, via a bounce buffer, as it encryption/decryption
+ * depends on its physical address, and have the same data, i.e. data
+ * integrity is preserved.
+ *
+ * The steps are as follows (from Christian K.):
+ *
+ * Buffer A which is TMZ protected and filled by the CPU with a
+ * certain pattern. That the GPU is reading only random nonsense from
+ * that pattern is irrelevant for the test.
+ *
+ * This buffer A is then secure copied into buffer B which is also
+ * TMZ protected.
+ *
+ * Buffer B is moved around, from VRAM to GTT, GTT to SYSTEM,
+ * etc.
+ *
+ * Then, we use another secure copy of buffer B back to buffer A.
+ *
+ * And lastly we check with the CPU the pattern.
+ *
+ * Assuming that we don't have memory contention and buffer A stayed
+ * at the same place, we should still see the same pattern when read
+ * by the CPU.
+ *
+ * If we don't see the same pattern then something in the buffer
+ * migration code is not working as expected.
+ */
+
+#define PACKET_LCOPY_SIZE         8
+#define PACKET_NOP_SIZE          16
+#define SECURE_BUFFER_SIZE       (4 * 1024 * sizeof(secure_pattern))
+
+static uint32_t
+get_handle(struct amdgpu_bo *bo)
+{
+	uint32_t handle;
+	int r;
+
+	r = amdgpu_bo_export(bo, amdgpu_bo_handle_type_kms, &handle);
+	igt_assert_eq(r, 0);
+
+	return handle;
+}
+
+static void
+amdgpu_sdma_lcopy(uint32_t *packet, uint64_t dst, uint64_t src, uint32_t size,
+				uint32_t secure)
+{
+	/* Set the packet to Linear copy with TMZ set.
+	 */
+	packet[0] = htole32(secure << 18 | 1);
+	packet[1] = htole32(size-1);
+	packet[2] = htole32(0);
+	packet[3] = htole32((uint32_t)(src & 0xFFFFFFFFU));
+	packet[4] = htole32((uint32_t)(src >> 32));
+	packet[5] = htole32((uint32_t)(dst & 0xFFFFFFFFU));
+	packet[6] = htole32((uint32_t)(dst >> 32));
+	packet[7] = htole32(0);
+}
+
+static void
+amdgpu_sdma_nop(uint32_t *packet, uint32_t nop_count)
+{
+	/* A packet of the desired number of NOPs.
+	 */
+	packet[0] = htole32(nop_count << 16);
+	for ( ; nop_count > 0; nop_count--)
+		packet[nop_count-1] = 0;
+}
+
+/**
+ * amdgpu_bo_lcopy -- linear copy with TMZ set, using sDMA
+ * @dev: AMDGPU device to which both buffer objects belong to
+ * @ring_context: aux struct which has destination and source buffer objects
+ * @size: size of memory to move, in bytes.
+ * @secure: Set to 1 to perform secure copy, 0 for clear
+ *
+ * Issues and waits for completion of a Linear Copy with TMZ
+ * set, to the sDMA engine. @size should be a multiple of
+ * at least 16 bytes.
+ */
+static void
+amdgpu_bo_lcopy(amdgpu_device_handle device,
+		struct amdgpu_ring_context *ring_context,
+		const struct amdgpu_ip_block_version *ip_block, uint32_t size,
+		uint32_t secure)
+{
+	ring_context->pm4 = calloc(PACKET_LCOPY_SIZE, sizeof(*ring_context->pm4));
+	ring_context->secure = secure;
+	ring_context->pm4_size = PACKET_LCOPY_SIZE;
+	ring_context->pm4_dw = PACKET_LCOPY_SIZE;
+	ring_context->res_cnt = 2;
+	igt_assert(ring_context->pm4);
+
+	amdgpu_sdma_lcopy(ring_context->pm4, ring_context->bo_mc2,
+			ring_context->bo_mc, size, secure);
+	amdgpu_test_exec_cs_helper(device, ip_block->type, ring_context);
+	free(ring_context->pm4);
+}
+
+/**
+ * amdgpu_bo_move -- Evoke a move of the buffer object (BO)
+ * @dev: device to which this buffer object belongs to
+ * @ring_context: aux struct which has destination and source buffer objects
+ * @whereto: one of AMDGPU_GEM_DOMAIN_xyz
+ * @secure: set to 1 to submit secure IBs
+ *
+ * Evokes a move of the buffer object @bo to the GEM domain
+ * descibed by @whereto.
+ *
+ * Returns 0 on success; -errno on error.
+ */
+static void
+amdgpu_bo_move(amdgpu_device_handle device, int fd,
+		struct amdgpu_ring_context *ring_context,
+		const struct amdgpu_ip_block_version *ip_block, uint64_t whereto,
+		uint32_t secure)
+{
+	int r;
+	struct drm_amdgpu_gem_op gop = {
+		.handle  = get_handle(ring_context->bo2),
+		.op      = AMDGPU_GEM_OP_SET_PLACEMENT,
+		.value   = whereto,
+	};
+
+	ring_context->pm4 = calloc(PACKET_NOP_SIZE, sizeof(*ring_context->pm4));
+	ring_context->secure = secure;
+	ring_context->pm4_size = PACKET_NOP_SIZE;
+	ring_context->pm4_dw = PACKET_NOP_SIZE;
+	ring_context->res_cnt = 1;
+	igt_assert(ring_context->pm4);
+
+	/* Change the buffer's placement.
+	 */
+	r = drmIoctl(fd, DRM_IOCTL_AMDGPU_GEM_OP, &gop);
+	igt_assert_eq(r, 0);
+
+	/* Now issue a NOP to actually evoke the MM to move
+	 * it to the desired location.
+	 */
+	amdgpu_sdma_nop(ring_context->pm4, PACKET_NOP_SIZE);
+	amdgpu_test_exec_cs_helper(device, ip_block->type, ring_context);
+	free(ring_context->pm4);
+}
+
+/* Safe, O Sec!
+ */
+static const uint8_t secure_pattern[] = { 0x5A, 0xFE, 0x05, 0xEC };
+
+
+
+static void
+amdgpu_secure_bounce(amdgpu_device_handle device_handle, int fd,
+		struct drm_amdgpu_info_hw_ip  *sdma_info,
+		const struct amdgpu_ip_block_version *ip_block, bool secure)
+{
+	struct amdgpu_ring_context *ring_context;
+
+	long page_size;
+	uint8_t *pp;
+	int r;
+
+	ring_context = calloc(1, sizeof(*ring_context));
+	igt_assert(ring_context);
+
+	page_size = sysconf(_SC_PAGESIZE);
+	r = amdgpu_cs_ctx_create(device_handle, &ring_context->context_handle);
+	igt_assert_eq(r, 0);
+
+	/* Use the first present ring.
+	 */
+	ring_context->ring_id = ffs(sdma_info->available_rings) - 1;
+	if (ring_context->ring_id == -1)
+		igt_assert(false);
+
+
+	/* Allocate a buffer named Alice (bo, bo_cpu, bo_mc) in VRAM. */
+	r = amdgpu_bo_alloc_and_map_raw(device_handle, SECURE_BUFFER_SIZE,
+						page_size,	AMDGPU_GEM_DOMAIN_VRAM,
+						secure == true ? AMDGPU_GEM_CREATE_ENCRYPTED : 0, 0,
+						&ring_context->bo,
+						(void **)&ring_context->bo_cpu,
+						&ring_context->bo_mc,
+						&ring_context->va_handle);
+	igt_assert_eq(r, 0);
+
+	/* Fill Alice with a pattern */
+	for (pp = (__typeof__(pp))ring_context->bo_cpu;
+	     pp < (__typeof__(pp)) ring_context->bo_cpu + SECURE_BUFFER_SIZE;
+	     pp += sizeof(secure_pattern))
+		memcpy(pp, secure_pattern, sizeof(secure_pattern));
+
+	/* Allocate a buffer named Bob(bo2, bo_cpu2, bo_mc2)  in VRAM.
+	 */
+	r = amdgpu_bo_alloc_and_map_raw(device_handle, SECURE_BUFFER_SIZE,
+						page_size, AMDGPU_GEM_DOMAIN_VRAM,
+						secure == true ? AMDGPU_GEM_CREATE_ENCRYPTED : 0, 0,
+						&ring_context->bo2,
+						(void **)&ring_context->bo2_cpu,
+						&ring_context->bo_mc2,
+						&ring_context->va_handle2);
+	igt_assert_eq(r, 0);
+
+	/* sDMA TMZ copy from Alice to Bob */
+	ring_context->resources[0] = ring_context->bo2;	// Bob
+	ring_context->resources[1] = ring_context->bo;	// Alice
+
+	amdgpu_bo_lcopy(device_handle, ring_context, ip_block, SECURE_BUFFER_SIZE,
+			secure == true ? 1 : 0);
+
+	/* Verify the contents of Bob. */
+	for (pp = (__typeof__(pp))ring_context->bo2_cpu;
+	     pp < (__typeof__(pp)) ring_context->bo2_cpu + SECURE_BUFFER_SIZE;
+	     pp += sizeof(secure_pattern)) {
+		r = memcmp(pp, secure_pattern, sizeof(secure_pattern));
+		if (r) {
+			// test failure
+			igt_assert(false);
+			break;
+		}
+	}
+
+	/* Move Bob to the GTT domain. */
+	amdgpu_bo_move(device_handle, fd, ring_context, ip_block,
+			AMDGPU_GEM_DOMAIN_GTT, 0);
+
+	/* sDMA TMZ copy from Bob to Alice.
+	 * bo is a source ,bo2 is destination
+	 */
+
+	ring_context->resources[0] = ring_context->bo; // Alice
+	ring_context->resources[1] = ring_context->bo2; // Bob
+
+	/* sDMA TMZ copy from Bob to Alice. */
+	amdgpu_bo_lcopy(device_handle, ring_context, ip_block, SECURE_BUFFER_SIZE,
+			secure == true ? 1 : 0);
+
+	/* Verify the contents of Alice */
+	for (pp = (__typeof__(pp))ring_context->bo_cpu;
+	     pp < (__typeof__(pp)) ring_context->bo_cpu + SECURE_BUFFER_SIZE;
+	     pp += sizeof(secure_pattern)) {
+		r = memcmp(pp, secure_pattern, sizeof(secure_pattern));
+		if (r) {
+			// test failure
+			igt_assert(false);
+			break;
+		}
+	}
+	amdgpu_bo_unmap_and_free(ring_context->bo, ring_context->va_handle,
+			ring_context->bo_mc, SECURE_BUFFER_SIZE);
+	amdgpu_bo_unmap_and_free(ring_context->bo2, ring_context->va_handle2,
+			ring_context->bo_mc2, SECURE_BUFFER_SIZE);
+	amdgpu_cs_ctx_free(ring_context->context_handle);
+	free(ring_context);
+}
+
+
+static void
+amdgpu_security_alloc_buf_test(amdgpu_device_handle device_handle)
+{
+	amdgpu_bo_handle bo;
+	amdgpu_va_handle va_handle;
+	uint64_t bo_mc;
+
+	/* Test secure buffer allocation in VRAM */
+	bo = gpu_mem_alloc(device_handle, 4096, 4096,
+			   AMDGPU_GEM_DOMAIN_VRAM,
+			   AMDGPU_GEM_CREATE_ENCRYPTED,
+			   &bo_mc, &va_handle);
+
+	gpu_mem_free(bo, va_handle, bo_mc, 4096);
+
+	/* Test secure buffer allocation in system memory */
+	bo = gpu_mem_alloc(device_handle, 4096, 4096,
+			   AMDGPU_GEM_DOMAIN_GTT,
+			   AMDGPU_GEM_CREATE_ENCRYPTED,
+			   &bo_mc, &va_handle);
+
+	gpu_mem_free(bo, va_handle, bo_mc, 4096);
+
+	/* Test secure buffer allocation in invisible VRAM */
+	bo = gpu_mem_alloc(device_handle, 4096, 4096,
+			   AMDGPU_GEM_DOMAIN_GTT,
+			   AMDGPU_GEM_CREATE_ENCRYPTED |
+			   AMDGPU_GEM_CREATE_NO_CPU_ACCESS,
+			   &bo_mc, &va_handle);
+
+	gpu_mem_free(bo, va_handle, bo_mc, 4096);
+}
+
+static bool
+is_security_tests_enable(amdgpu_device_handle device_handle,
+		const struct amdgpu_gpu_info *gpu_info, uint32_t major, uint32_t minor)
+{
+	bool enable = true;
+
+	if (!(gpu_info->ids_flags & AMDGPU_IDS_FLAGS_TMZ)) {
+		igt_info("Don't support TMZ (trust memory zone), security test is disabled\n");
+		enable = false;
+	}
+
+	if ((major < 3) ||
+		((major == 3) && (minor < 37))) {
+		igt_info("Don't support TMZ (trust memory zone), kernel DRM version (%d.%d)\n",
+				major, minor);
+		enable = false;
+	}
+
+	return enable;
+}
+
+igt_main
+{
+	amdgpu_device_handle device;
+	struct amdgpu_gpu_info gpu_info = {};
+	struct drm_amdgpu_info_hw_ip  sdma_info = {};
+	int r, fd = -1;
+	bool is_secure = true;
+
+	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 = amdgpu_query_gpu_info(device, &gpu_info);
+		igt_assert_eq(err, 0);
+		r = setup_amdgpu_ip_blocks(major, minor,  &gpu_info, device);
+		igt_assert_eq(r, 0);
+		r = amdgpu_query_hw_ip_info(device, AMDGPU_HW_IP_DMA, 0, &sdma_info);
+		igt_assert_eq(r, 0);
+		igt_skip_on(!is_security_tests_enable(device, &gpu_info, major, minor));
+	}
+
+	igt_describe("amdgpu_security_alloc_buf_test");
+	igt_subtest("amdgpu-security-alloc-buf-test")
+	amdgpu_security_alloc_buf_test(device);
+
+	igt_describe("amdgpu_command_submission_write_linear_helper");
+	igt_subtest("write-linear-helper-secure")
+	amdgpu_command_submission_write_linear_helper(device,
+			get_ip_block(device, AMDGPU_HW_IP_DMA), is_secure);
+
+	/* dynamic test based on sdma_info.available rings */
+	igt_describe("amdgpu_secure_bounce");
+	igt_subtest("amdgpu-secure-bounce")
+	amdgpu_secure_bounce(device, fd, &sdma_info, get_ip_block(device,
+			AMDGPU_HW_IP_DMA), is_secure);
+
+	igt_fixture {
+		amdgpu_device_deinitialize(device);
+		drm_close_driver(fd);
+	}
+}
+
+
diff --git a/tests/amdgpu/meson.build b/tests/amdgpu/meson.build
index ef1735fda..bdada90ca 100644
--- a/tests/amdgpu/meson.build
+++ b/tests/amdgpu/meson.build
@@ -26,6 +26,7 @@ if libdrm_amdgpu.found()
 			  'amd_plane',
 			  'amd_prime',
 			  'amd_psr',
+			  'amd_security',
 			  'amd_uvd_dec',
 			  'amd_uvd_enc',
 			  'amd_vce_dec',
-- 
2.25.1

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

* Re: [igt-dev] [PATCH] tests/amdgpu: add security tests
  2023-07-27 20:30 vitaly.prosyak
@ 2023-07-27 20:55 ` Luben Tuikov
  0 siblings, 0 replies; 7+ messages in thread
From: Luben Tuikov @ 2023-07-27 20:55 UTC (permalink / raw)
  To: vitaly.prosyak, igt-dev; +Cc: alexander.deucher, christian.koenig, aaron.liu

This patch is,

Reviewed-by: Luben Tuikov <luben.tuikov@amd.com>

Regards,
Luben

On 2023-07-27 16:30, vitaly.prosyak@amd.com wrote:
> From: Vitaly Prosyak <vitaly.prosyak@amd.com>
> 
> Ported and refactored drmlib security tests and  the following is done:
> 
> 1. Remove everywhere global variables.
> 2. Reuse common functions from amd_command_submission.c
> 3. Reuse IGT igt_fixture functions.
> 4. Properly formatted code to meet IGT guidelines.
> 
> v2:
>     - Numerous improvements related to formatting, style,
>       spelling, includes (Luben).
>     - Use amdgpu_bo_export  to retrieve the kms handle of
>       amdgpu_bo (Christian)
> 
> Cc: Aaron Liu <aaron.liu@amd.com>
> Cc: Luben Tuikov <luben.tuikov@amd.com>
> Cc: Alex Deucher <alexander.deucher@amd.com>
> Cc: Christian Koenig <christian.koenig@amd.com>
> Signed-off-by: Vitaly Prosyak <vitaly.prosyak@amd.com>
> ---
>  lib/amdgpu/amd_ip_blocks.c  |   3 +-
>  tests/amdgpu/amd_security.c | 375 ++++++++++++++++++++++++++++++++++++
>  tests/amdgpu/meson.build    |   1 +
>  3 files changed, 377 insertions(+), 2 deletions(-)
>  create mode 100644 tests/amdgpu/amd_security.c
> 
> diff --git a/lib/amdgpu/amd_ip_blocks.c b/lib/amdgpu/amd_ip_blocks.c
> index 1249551cc..44768ba64 100644
> --- a/lib/amdgpu/amd_ip_blocks.c
> +++ b/lib/amdgpu/amd_ip_blocks.c
> @@ -669,6 +669,7 @@ int setup_amdgpu_ip_blocks(uint32_t major, uint32_t minor, struct amdgpu_gpu_inf
>  	case GFX8: /* tested */
>  	case GFX9: /* tested */
>  	case GFX10:/* tested */
> +	case GFX10_3: /* tested */
>  		amdgpu_device_ip_block_add(&gfx_v8_x_ip_block);
>  		amdgpu_device_ip_block_add(&compute_v8_x_ip_block);
>  		amdgpu_device_ip_block_add(&sdma_v3_x_ip_block);
> @@ -680,8 +681,6 @@ int setup_amdgpu_ip_blocks(uint32_t major, uint32_t minor, struct amdgpu_gpu_inf
>  		igt_assert_eq(gfx_v8_x_ip_block.funcs->family_id, FAMILY_VI);
>  		igt_assert_eq(sdma_v3_x_ip_block.funcs->family_id, FAMILY_VI);
>  		break;
> -	case GFX10_3:
> -		break;
>  	default:
>  		igt_info("amdgpu: GFX or old.\n");
>  		return -1;
> diff --git a/tests/amdgpu/amd_security.c b/tests/amdgpu/amd_security.c
> new file mode 100644
> index 000000000..46180df2e
> --- /dev/null
> +++ b/tests/amdgpu/amd_security.c
> @@ -0,0 +1,375 @@
> +// SPDX-License-Identifier: MIT
> +/*
> + * Copyright 2019 Advanced Micro Devices, Inc.
> + * Copyright 2023 Advanced Micro Devices, Inc.
> + */
> +
> +#include <amdgpu.h>
> +
> +#include "igt.h"
> +
> +#include "lib/amdgpu/amd_memory.h"
> +#include "lib/amdgpu/amd_command_submission.h"
> +
> +/* --------------------- Secure bounce test ------------------------ *
> + *
> + * The secure bounce test tests that we can evict a TMZ buffer,
> + * and page it back in, via a bounce buffer, as it encryption/decryption
> + * depends on its physical address, and have the same data, i.e. data
> + * integrity is preserved.
> + *
> + * The steps are as follows (from Christian K.):
> + *
> + * Buffer A which is TMZ protected and filled by the CPU with a
> + * certain pattern. That the GPU is reading only random nonsense from
> + * that pattern is irrelevant for the test.
> + *
> + * This buffer A is then secure copied into buffer B which is also
> + * TMZ protected.
> + *
> + * Buffer B is moved around, from VRAM to GTT, GTT to SYSTEM,
> + * etc.
> + *
> + * Then, we use another secure copy of buffer B back to buffer A.
> + *
> + * And lastly we check with the CPU the pattern.
> + *
> + * Assuming that we don't have memory contention and buffer A stayed
> + * at the same place, we should still see the same pattern when read
> + * by the CPU.
> + *
> + * If we don't see the same pattern then something in the buffer
> + * migration code is not working as expected.
> + */
> +
> +#define PACKET_LCOPY_SIZE         8
> +#define PACKET_NOP_SIZE          16
> +#define SECURE_BUFFER_SIZE       (4 * 1024 * sizeof(secure_pattern))
> +
> +static uint32_t
> +get_handle(struct amdgpu_bo *bo)
> +{
> +	uint32_t handle;
> +	int r;
> +
> +	r = amdgpu_bo_export(bo, amdgpu_bo_handle_type_kms, &handle);
> +	igt_assert_eq(r, 0);
> +
> +	return handle;
> +}
> +
> +static void
> +amdgpu_sdma_lcopy(uint32_t *packet, uint64_t dst, uint64_t src, uint32_t size,
> +				uint32_t secure)
> +{
> +	/* Set the packet to Linear copy with TMZ set.
> +	 */
> +	packet[0] = htole32(secure << 18 | 1);
> +	packet[1] = htole32(size-1);
> +	packet[2] = htole32(0);
> +	packet[3] = htole32((uint32_t)(src & 0xFFFFFFFFU));
> +	packet[4] = htole32((uint32_t)(src >> 32));
> +	packet[5] = htole32((uint32_t)(dst & 0xFFFFFFFFU));
> +	packet[6] = htole32((uint32_t)(dst >> 32));
> +	packet[7] = htole32(0);
> +}
> +
> +static void
> +amdgpu_sdma_nop(uint32_t *packet, uint32_t nop_count)
> +{
> +	/* A packet of the desired number of NOPs.
> +	 */
> +	packet[0] = htole32(nop_count << 16);
> +	for ( ; nop_count > 0; nop_count--)
> +		packet[nop_count-1] = 0;
> +}
> +
> +/**
> + * amdgpu_bo_lcopy -- linear copy with TMZ set, using sDMA
> + * @dev: AMDGPU device to which both buffer objects belong to
> + * @ring_context: aux struct which has destination and source buffer objects
> + * @size: size of memory to move, in bytes.
> + * @secure: Set to 1 to perform secure copy, 0 for clear
> + *
> + * Issues and waits for completion of a Linear Copy with TMZ
> + * set, to the sDMA engine. @size should be a multiple of
> + * at least 16 bytes.
> + */
> +static void
> +amdgpu_bo_lcopy(amdgpu_device_handle device,
> +		struct amdgpu_ring_context *ring_context,
> +		const struct amdgpu_ip_block_version *ip_block, uint32_t size,
> +		uint32_t secure)
> +{
> +	ring_context->pm4 = calloc(PACKET_LCOPY_SIZE, sizeof(*ring_context->pm4));
> +	ring_context->secure = secure;
> +	ring_context->pm4_size = PACKET_LCOPY_SIZE;
> +	ring_context->pm4_dw = PACKET_LCOPY_SIZE;
> +	ring_context->res_cnt = 2;
> +	igt_assert(ring_context->pm4);
> +
> +	amdgpu_sdma_lcopy(ring_context->pm4, ring_context->bo_mc2,
> +			ring_context->bo_mc, size, secure);
> +	amdgpu_test_exec_cs_helper(device, ip_block->type, ring_context);
> +	free(ring_context->pm4);
> +}
> +
> +/**
> + * amdgpu_bo_move -- Evoke a move of the buffer object (BO)
> + * @dev: device to which this buffer object belongs to
> + * @ring_context: aux struct which has destination and source buffer objects
> + * @whereto: one of AMDGPU_GEM_DOMAIN_xyz
> + * @secure: set to 1 to submit secure IBs
> + *
> + * Evokes a move of the buffer object @bo to the GEM domain
> + * descibed by @whereto.
> + *
> + * Returns 0 on success; -errno on error.
> + */
> +static void
> +amdgpu_bo_move(amdgpu_device_handle device, int fd,
> +		struct amdgpu_ring_context *ring_context,
> +		const struct amdgpu_ip_block_version *ip_block, uint64_t whereto,
> +		uint32_t secure)
> +{
> +	int r;
> +	struct drm_amdgpu_gem_op gop = {
> +		.handle  = get_handle(ring_context->bo2),
> +		.op      = AMDGPU_GEM_OP_SET_PLACEMENT,
> +		.value   = whereto,
> +	};
> +
> +	ring_context->pm4 = calloc(PACKET_NOP_SIZE, sizeof(*ring_context->pm4));
> +	ring_context->secure = secure;
> +	ring_context->pm4_size = PACKET_NOP_SIZE;
> +	ring_context->pm4_dw = PACKET_NOP_SIZE;
> +	ring_context->res_cnt = 1;
> +	igt_assert(ring_context->pm4);
> +
> +	/* Change the buffer's placement.
> +	 */
> +	r = drmIoctl(fd, DRM_IOCTL_AMDGPU_GEM_OP, &gop);
> +	igt_assert_eq(r, 0);
> +
> +	/* Now issue a NOP to actually evoke the MM to move
> +	 * it to the desired location.
> +	 */
> +	amdgpu_sdma_nop(ring_context->pm4, PACKET_NOP_SIZE);
> +	amdgpu_test_exec_cs_helper(device, ip_block->type, ring_context);
> +	free(ring_context->pm4);
> +}
> +
> +/* Safe, O Sec!
> + */
> +static const uint8_t secure_pattern[] = { 0x5A, 0xFE, 0x05, 0xEC };
> +
> +
> +
> +static void
> +amdgpu_secure_bounce(amdgpu_device_handle device_handle, int fd,
> +		struct drm_amdgpu_info_hw_ip  *sdma_info,
> +		const struct amdgpu_ip_block_version *ip_block, bool secure)
> +{
> +	struct amdgpu_ring_context *ring_context;
> +
> +	long page_size;
> +	uint8_t *pp;
> +	int r;
> +
> +	ring_context = calloc(1, sizeof(*ring_context));
> +	igt_assert(ring_context);
> +
> +	page_size = sysconf(_SC_PAGESIZE);
> +	r = amdgpu_cs_ctx_create(device_handle, &ring_context->context_handle);
> +	igt_assert_eq(r, 0);
> +
> +	/* Use the first present ring.
> +	 */
> +	ring_context->ring_id = ffs(sdma_info->available_rings) - 1;
> +	if (ring_context->ring_id == -1)
> +		igt_assert(false);
> +
> +
> +	/* Allocate a buffer named Alice (bo, bo_cpu, bo_mc) in VRAM. */
> +	r = amdgpu_bo_alloc_and_map_raw(device_handle, SECURE_BUFFER_SIZE,
> +						page_size,	AMDGPU_GEM_DOMAIN_VRAM,
> +						secure == true ? AMDGPU_GEM_CREATE_ENCRYPTED : 0, 0,
> +						&ring_context->bo,
> +						(void **)&ring_context->bo_cpu,
> +						&ring_context->bo_mc,
> +						&ring_context->va_handle);
> +	igt_assert_eq(r, 0);
> +
> +	/* Fill Alice with a pattern */
> +	for (pp = (__typeof__(pp))ring_context->bo_cpu;
> +	     pp < (__typeof__(pp)) ring_context->bo_cpu + SECURE_BUFFER_SIZE;
> +	     pp += sizeof(secure_pattern))
> +		memcpy(pp, secure_pattern, sizeof(secure_pattern));
> +
> +	/* Allocate a buffer named Bob(bo2, bo_cpu2, bo_mc2)  in VRAM.
> +	 */
> +	r = amdgpu_bo_alloc_and_map_raw(device_handle, SECURE_BUFFER_SIZE,
> +						page_size, AMDGPU_GEM_DOMAIN_VRAM,
> +						secure == true ? AMDGPU_GEM_CREATE_ENCRYPTED : 0, 0,
> +						&ring_context->bo2,
> +						(void **)&ring_context->bo2_cpu,
> +						&ring_context->bo_mc2,
> +						&ring_context->va_handle2);
> +	igt_assert_eq(r, 0);
> +
> +	/* sDMA TMZ copy from Alice to Bob */
> +	ring_context->resources[0] = ring_context->bo2;	// Bob
> +	ring_context->resources[1] = ring_context->bo;	// Alice
> +
> +	amdgpu_bo_lcopy(device_handle, ring_context, ip_block, SECURE_BUFFER_SIZE,
> +			secure == true ? 1 : 0);
> +
> +	/* Verify the contents of Bob. */
> +	for (pp = (__typeof__(pp))ring_context->bo2_cpu;
> +	     pp < (__typeof__(pp)) ring_context->bo2_cpu + SECURE_BUFFER_SIZE;
> +	     pp += sizeof(secure_pattern)) {
> +		r = memcmp(pp, secure_pattern, sizeof(secure_pattern));
> +		if (r) {
> +			// test failure
> +			igt_assert(false);
> +			break;
> +		}
> +	}
> +
> +	/* Move Bob to the GTT domain. */
> +	amdgpu_bo_move(device_handle, fd, ring_context, ip_block,
> +			AMDGPU_GEM_DOMAIN_GTT, 0);
> +
> +	/* sDMA TMZ copy from Bob to Alice.
> +	 * bo is a source ,bo2 is destination
> +	 */
> +
> +	ring_context->resources[0] = ring_context->bo; // Alice
> +	ring_context->resources[1] = ring_context->bo2; // Bob
> +
> +	/* sDMA TMZ copy from Bob to Alice. */
> +	amdgpu_bo_lcopy(device_handle, ring_context, ip_block, SECURE_BUFFER_SIZE,
> +			secure == true ? 1 : 0);
> +
> +	/* Verify the contents of Alice */
> +	for (pp = (__typeof__(pp))ring_context->bo_cpu;
> +	     pp < (__typeof__(pp)) ring_context->bo_cpu + SECURE_BUFFER_SIZE;
> +	     pp += sizeof(secure_pattern)) {
> +		r = memcmp(pp, secure_pattern, sizeof(secure_pattern));
> +		if (r) {
> +			// test failure
> +			igt_assert(false);
> +			break;
> +		}
> +	}
> +	amdgpu_bo_unmap_and_free(ring_context->bo, ring_context->va_handle,
> +			ring_context->bo_mc, SECURE_BUFFER_SIZE);
> +	amdgpu_bo_unmap_and_free(ring_context->bo2, ring_context->va_handle2,
> +			ring_context->bo_mc2, SECURE_BUFFER_SIZE);
> +	amdgpu_cs_ctx_free(ring_context->context_handle);
> +	free(ring_context);
> +}
> +
> +
> +static void
> +amdgpu_security_alloc_buf_test(amdgpu_device_handle device_handle)
> +{
> +	amdgpu_bo_handle bo;
> +	amdgpu_va_handle va_handle;
> +	uint64_t bo_mc;
> +
> +	/* Test secure buffer allocation in VRAM */
> +	bo = gpu_mem_alloc(device_handle, 4096, 4096,
> +			   AMDGPU_GEM_DOMAIN_VRAM,
> +			   AMDGPU_GEM_CREATE_ENCRYPTED,
> +			   &bo_mc, &va_handle);
> +
> +	gpu_mem_free(bo, va_handle, bo_mc, 4096);
> +
> +	/* Test secure buffer allocation in system memory */
> +	bo = gpu_mem_alloc(device_handle, 4096, 4096,
> +			   AMDGPU_GEM_DOMAIN_GTT,
> +			   AMDGPU_GEM_CREATE_ENCRYPTED,
> +			   &bo_mc, &va_handle);
> +
> +	gpu_mem_free(bo, va_handle, bo_mc, 4096);
> +
> +	/* Test secure buffer allocation in invisible VRAM */
> +	bo = gpu_mem_alloc(device_handle, 4096, 4096,
> +			   AMDGPU_GEM_DOMAIN_GTT,
> +			   AMDGPU_GEM_CREATE_ENCRYPTED |
> +			   AMDGPU_GEM_CREATE_NO_CPU_ACCESS,
> +			   &bo_mc, &va_handle);
> +
> +	gpu_mem_free(bo, va_handle, bo_mc, 4096);
> +}
> +
> +static bool
> +is_security_tests_enable(amdgpu_device_handle device_handle,
> +		const struct amdgpu_gpu_info *gpu_info, uint32_t major, uint32_t minor)
> +{
> +	bool enable = true;
> +
> +	if (!(gpu_info->ids_flags & AMDGPU_IDS_FLAGS_TMZ)) {
> +		igt_info("Don't support TMZ (trust memory zone), security test is disabled\n");
> +		enable = false;
> +	}
> +
> +	if ((major < 3) ||
> +		((major == 3) && (minor < 37))) {
> +		igt_info("Don't support TMZ (trust memory zone), kernel DRM version (%d.%d)\n",
> +				major, minor);
> +		enable = false;
> +	}
> +
> +	return enable;
> +}
> +
> +igt_main
> +{
> +	amdgpu_device_handle device;
> +	struct amdgpu_gpu_info gpu_info = {};
> +	struct drm_amdgpu_info_hw_ip  sdma_info = {};
> +	int r, fd = -1;
> +	bool is_secure = true;
> +
> +	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 = amdgpu_query_gpu_info(device, &gpu_info);
> +		igt_assert_eq(err, 0);
> +		r = setup_amdgpu_ip_blocks(major, minor,  &gpu_info, device);
> +		igt_assert_eq(r, 0);
> +		r = amdgpu_query_hw_ip_info(device, AMDGPU_HW_IP_DMA, 0, &sdma_info);
> +		igt_assert_eq(r, 0);
> +		igt_skip_on(!is_security_tests_enable(device, &gpu_info, major, minor));
> +	}
> +
> +	igt_describe("amdgpu_security_alloc_buf_test");
> +	igt_subtest("amdgpu-security-alloc-buf-test")
> +	amdgpu_security_alloc_buf_test(device);
> +
> +	igt_describe("amdgpu_command_submission_write_linear_helper");
> +	igt_subtest("write-linear-helper-secure")
> +	amdgpu_command_submission_write_linear_helper(device,
> +			get_ip_block(device, AMDGPU_HW_IP_DMA), is_secure);
> +
> +	/* dynamic test based on sdma_info.available rings */
> +	igt_describe("amdgpu_secure_bounce");
> +	igt_subtest("amdgpu-secure-bounce")
> +	amdgpu_secure_bounce(device, fd, &sdma_info, get_ip_block(device,
> +			AMDGPU_HW_IP_DMA), is_secure);
> +
> +	igt_fixture {
> +		amdgpu_device_deinitialize(device);
> +		drm_close_driver(fd);
> +	}
> +}
> +
> +
> diff --git a/tests/amdgpu/meson.build b/tests/amdgpu/meson.build
> index ef1735fda..bdada90ca 100644
> --- a/tests/amdgpu/meson.build
> +++ b/tests/amdgpu/meson.build
> @@ -26,6 +26,7 @@ if libdrm_amdgpu.found()
>  			  'amd_plane',
>  			  'amd_prime',
>  			  'amd_psr',
> +			  'amd_security',
>  			  'amd_uvd_dec',
>  			  'amd_uvd_enc',
>  			  'amd_vce_dec',

-- 
Regards,
Luben

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

end of thread, other threads:[~2023-07-27 20:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-26 23:26 [igt-dev] [PATCH] tests/amdgpu: add security tests vitaly.prosyak
2023-07-27  0:58 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2023-07-27  2:27 ` [igt-dev] ○ CI.xeBAT: info " Patchwork
2023-07-27  3:38 ` [igt-dev] ✓ Fi.CI.IGT: success " Patchwork
2023-07-27  4:26 ` [igt-dev] [PATCH] " Luben Tuikov
  -- strict thread matches above, loose matches on Subject: below --
2023-07-27 20:30 vitaly.prosyak
2023-07-27 20:55 ` Luben Tuikov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox