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 37BADEC1450 for ; Tue, 3 Mar 2026 13:47:13 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id D5FE510E820; Tue, 3 Mar 2026 13:47:12 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="P4uyKIcz"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.14]) by gabe.freedesktop.org (Postfix) with ESMTPS id 4862110E81F for ; Tue, 3 Mar 2026 13:47:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1772545632; x=1804081632; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=kYTruJxBYrSZfwA4fBFPVpyEJTro2+CtCrd6fsBfLC8=; b=P4uyKIczYpK7gFAbmZIbsJdsaybXmaMdQrVi6dH6WnLDy1LKdP+G/00n IgWu4Y+y0VDl93X6b1jyZ7/awvYLFvXAk4jGPO4u/uEmX8fIWBLUVObZM qcHOHHj1gLuDWIDXV2S3kBDN5kgaduevEun7g7JFKrGGR5WOD+28huSjV he011fHA1S0blut9TRaYuAqngpfbZZ30K4uClwWXHqVFemfzaX52aeij7 tpUb3hLTDA+hFBhzX2r4SXtwXIBr7EvgC1sQmocpXWhNSPBmkpUlnkPlQ ayVyviKruNBXl+K3X9NRZ2MExAF0jG/A8ZmmSeIQy6SMnaZDTopRrXupT w==; X-CSE-ConnectionGUID: qV0ABxBrTz6MoW55HSjfRQ== X-CSE-MsgGUID: 9/7qESw4QoOCV0mMeD3Rjg== X-IronPort-AV: E=McAfee;i="6800,10657,11718"; a="73643882" X-IronPort-AV: E=Sophos;i="6.21,322,1763452800"; d="scan'208";a="73643882" Received: from fmviesa009.fm.intel.com ([10.60.135.149]) by fmvoesa108.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Mar 2026 05:47:12 -0800 X-CSE-ConnectionGUID: oSBPGdegSlqmOrBcnz0T/g== X-CSE-MsgGUID: dLwYpjRsTAqcl4mKXlDHFQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.21,322,1763452800"; d="scan'208";a="214320681" Received: from pgcooper-mobl3.ger.corp.intel.com (HELO localhost) ([10.245.245.58]) by fmviesa009-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Mar 2026 05:47:11 -0800 From: =?UTF-8?q?Zbigniew=20Kempczy=C5=84ski?= To: igt-dev@lists.freedesktop.org Cc: =?UTF-8?q?Zbigniew=20Kempczy=C5=84ski?= , Francois Dugast , Nishit Sharma Subject: [PATCH i-g-t v4 0/5] Extend compute userenv to support user passed buffers Date: Tue, 3 Mar 2026 14:47:07 +0100 Message-ID: <20260303134706.41948-7-zbigniew.kempczynski@intel.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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 support for user passed buffers in compute userenv. This allows users to pass their own input and output buffers to compute tests, which can be useful for testing specific scenarios. Cc: Francois Dugast Cc: Nishit Sharma Zbigniew KempczyƄski (4): lib/intel_compute: Add types for input and output buffers lib/intel_compute: Extend userenv by adding input and output bos lib/intel_compute: Use user offsets and loop size if provided tests/xe_compute: Exercise user passed buffers tests/xe_compute: Use appropriate feature in compute-square tests lib/intel_compute.c | 191 ++++++++++++++++++++++++++++----------- lib/intel_compute.h | 4 + tests/intel/xe_compute.c | 154 ++++++++++++++++++++++++++++++- 3 files changed, 294 insertions(+), 55 deletions(-) -- 2.43.0