From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by gabe.freedesktop.org (Postfix) with ESMTPS id B510410E5A6 for ; Wed, 8 Mar 2023 07:53:51 +0000 (UTC) From: =?UTF-8?q?Zbigniew=20Kempczy=C5=84ski?= To: igt-dev@lists.freedesktop.org Date: Wed, 8 Mar 2023 08:53:27 +0100 Message-Id: <20230308075334.944622-1-zbigniew.kempczynski@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [igt-dev] [PATCH i-g-t v8 0/7] Initial Xe test suite List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" List-ID: This is continuation of https://patchwork.freedesktop.org/series/112191/ Series doesn't contain KUnit changes as they are not upstream IGT ready yet. Functional changes (library, tests, etc.) were squashed to dedicated patch to make review easier. v3: address review comments (Kamil, Mauro) v4: address review comments (Michał) - add documentation for most of public functions - use function generator instead of RETV() macro - fix gt usage on memory regioning (it might lead to same region) v5: - fix _Static_assert() error produced on older compilers - temporary drop igt_doc.py, we'll provide new version for older pythons v6: - alter xe_vm to use long long (Zbigniew) v7: - fixed missed one subtest which should use long long (Zbigniew) v8: - fixed two subtests which didn't compile on mips/armhf (Zbigniew) Rodrigo Vivi (1): lib/igt_pm: Add a helper to query the runtime_usage. Zbigniew Kempczyński (6): drm-uapi/xe_drm: Add Xe uAPI lib/xe: Introduce Xe library tests/xe: Add Xe IGT tests tools/xe_reg: Add Xe register read/write tool intel-ci/xe-fast-feedback: Introduce xe-fast-feedback list runner/job_list: return error on crashes while running --list-subtests include/drm-uapi/xe_drm.h | 807 +++++++++++ lib/drmtest.c | 3 + lib/drmtest.h | 1 + lib/igt_pm.c | 18 + lib/igt_pm.h | 1 + lib/meson.build | 4 + lib/xe/xe_compute.c | 406 ++++++ lib/xe/xe_compute.h | 29 + lib/xe/xe_ioctl.c | 436 ++++++ lib/xe/xe_ioctl.h | 87 ++ lib/xe/xe_query.c | 471 +++++++ lib/xe/xe_query.h | 94 ++ lib/xe/xe_spin.c | 157 +++ lib/xe/xe_spin.h | 48 + meson.build | 8 + runner/job_list.c | 1 + tests/intel-ci/meson.build | 1 + tests/intel-ci/xe-fast-feedback.testlist | 140 ++ tests/meson.build | 1 + tests/xe/meson.build | 33 + tests/xe/xe_compute.c | 148 ++ tests/xe/xe_debugfs.c | 257 ++++ tests/xe/xe_dma_buf_sync.c | 262 ++++ tests/xe/xe_evict.c | 623 +++++++++ tests/xe/xe_exec_balancer.c | 714 ++++++++++ tests/xe/xe_exec_basic.c | 350 +++++ tests/xe/xe_exec_compute_mode.c | 364 +++++ tests/xe/xe_exec_fault_mode.c | 575 ++++++++ tests/xe/xe_exec_reset.c | 817 +++++++++++ tests/xe/xe_exec_threads.c | 1166 ++++++++++++++++ tests/xe/xe_guc_pc.c | 425 ++++++ tests/xe/xe_huc_copy.c | 205 +++ tests/xe/xe_mmap.c | 79 ++ tests/xe/xe_mmio.c | 94 ++ tests/xe/xe_pm.c | 385 ++++++ tests/xe/xe_prime_self_import.c | 489 +++++++ tests/xe/xe_query.c | 475 +++++++ tests/xe/xe_test_config.json | 133 ++ tests/xe/xe_vm.c | 1612 ++++++++++++++++++++++ tests/xe/xe_waitfence.c | 103 ++ tools/meson.build | 1 + tools/xe_reg.c | 366 +++++ 42 files changed, 12389 insertions(+) create mode 100644 include/drm-uapi/xe_drm.h create mode 100644 lib/xe/xe_compute.c create mode 100644 lib/xe/xe_compute.h create mode 100644 lib/xe/xe_ioctl.c create mode 100644 lib/xe/xe_ioctl.h create mode 100644 lib/xe/xe_query.c create mode 100644 lib/xe/xe_query.h create mode 100644 lib/xe/xe_spin.c create mode 100644 lib/xe/xe_spin.h create mode 100644 tests/intel-ci/xe-fast-feedback.testlist create mode 100644 tests/xe/meson.build create mode 100644 tests/xe/xe_compute.c create mode 100644 tests/xe/xe_debugfs.c create mode 100644 tests/xe/xe_dma_buf_sync.c create mode 100644 tests/xe/xe_evict.c create mode 100644 tests/xe/xe_exec_balancer.c create mode 100644 tests/xe/xe_exec_basic.c create mode 100644 tests/xe/xe_exec_compute_mode.c create mode 100644 tests/xe/xe_exec_fault_mode.c create mode 100644 tests/xe/xe_exec_reset.c create mode 100644 tests/xe/xe_exec_threads.c create mode 100644 tests/xe/xe_guc_pc.c create mode 100644 tests/xe/xe_huc_copy.c create mode 100644 tests/xe/xe_mmap.c create mode 100644 tests/xe/xe_mmio.c create mode 100644 tests/xe/xe_pm.c create mode 100644 tests/xe/xe_prime_self_import.c create mode 100644 tests/xe/xe_query.c create mode 100644 tests/xe/xe_test_config.json create mode 100644 tests/xe/xe_vm.c create mode 100644 tests/xe/xe_waitfence.c create mode 100644 tools/xe_reg.c -- 2.34.1