From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 183D2C36017 for ; Tue, 1 Apr 2025 22:35:59 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id BBF7710E688; Tue, 1 Apr 2025 22:35:51 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="hHaWzH4t"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.17]) by gabe.freedesktop.org (Postfix) with ESMTPS id 7882A10E67A; Tue, 1 Apr 2025 22:35:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1743546951; x=1775082951; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=UYqktVNriAOKD6ZUXSsL4FJ5KuxOX98K7vfcaYwE5O0=; b=hHaWzH4tHp7Oq7RqAoHXctsF80IFYSbT28LzShbP39BEoU7o8PQ4AaZm vhgH4rzyiMhQ6kIolQPA6bSpwk3qDG7DDlv6jJ57UfJbCRLGsSZjR5Aiw pzU0aM/TTx174eD2mZZvs/sd3C9aT/dUVIgXfTBg0e/jnQTHK+NULwafc 7WrDcpFU8SIFG9Ge5fkSViMD0hhXwG9MSgN25hOryZcnDa3ngoNk+F+Up SlVjrNuJugefSL1i/eGS05vjVw8FTqGw9vSNQtSE72jiexNvTXhSTVS8w H9pohTP4Up5PABh9rgkYY25EbcTj6vl9eQb3+gwHBUPY5IQWfkzx7gGjm w==; X-CSE-ConnectionGUID: YmkjQy+BSzKIKYD9r/nE6g== X-CSE-MsgGUID: fYU2ftuMQsOn5nTA3Pi1ZA== X-IronPort-AV: E=McAfee;i="6700,10204,11391"; a="44777459" X-IronPort-AV: E=Sophos;i="6.14,294,1736841600"; d="scan'208";a="44777459" Received: from fmviesa002.fm.intel.com ([10.60.135.142]) by fmvoesa111.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Apr 2025 15:35:50 -0700 X-CSE-ConnectionGUID: uaSeT20sTzKkh+ZxHtHiPw== X-CSE-MsgGUID: iFHPJbMjQ4eewQoRvJJAgw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.14,294,1736841600"; d="scan'208";a="149695989" Received: from dut4066lnl.fm.intel.com ([10.105.8.54]) by fmviesa002-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Apr 2025 15:35:49 -0700 From: Jonathan Cavitt To: igt-dev@lists.freedesktop.org Cc: saurabhg.gupta@intel.com, alex.zuo@intel.com, jonathan.cavitt@intel.com, joonas.lahtinen@linux.intel.com, matthew.brost@intel.com, jianxun.zhang@intel.com, shuicheng.lin@intel.com, dri-devel@lists.freedesktop.org, stuart.summers@intel.com, ivan.briano@intel.com Subject: [PATCH v2 0/4] tests/intel/xe_vm: Add drm_xe_vm_get_property tests Date: Tue, 1 Apr 2025 22:35:45 +0000 Message-ID: <20250401223549.101028-1-jonathan.cavitt@intel.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: igt-dev@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development mailing list for IGT GPU Tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" Add tests that exercise the new drm_xe_vm_get_property uapi, specifically for ioctl input validation and for determining that pagefaults are correctly tracked and returned by the reporter. v2: - Remove engine class and instance (Ivan) Signed-off-by: Jonathan Cavitt Suggested-by: Joonas Lahtinen Suggested-by: Matthew Brost Suggested-by: Zhang Jianxun Suggested-by: Stuart Summers CC: Shuicheng Lin Cc: Ivan Briano Jonathan Cavitt (4): drm-uapi/xe: Declare xe_vm_get_property_ioctl lib/xe/xe_ioctl: Add xe_vm_get_property helper function tests/intel/xe_vm: Add DRM_IOCTL_XE_VM_GET_PROPERTY validation tests tests/intel/xe_vm: Test DRM_IOCTL_XE_VM_GET_PROPERTY fault reporting include/drm-uapi/xe_drm.h | 74 ++++++++++++ lib/xe/xe_ioctl.c | 5 + lib/xe/xe_ioctl.h | 1 + tests/intel/xe_vm.c | 237 ++++++++++++++++++++++++++++++++++++++ 4 files changed, 317 insertions(+) -- 2.43.0