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 E5F69CD8CA4 for ; Thu, 13 Nov 2025 17:01:32 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 9181A10E8FD; Thu, 13 Nov 2025 17:01:32 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="YhjGr6DF"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.11]) by gabe.freedesktop.org (Postfix) with ESMTPS id 0A5B510E8EB for ; Thu, 13 Nov 2025 17:01:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1763053277; x=1794589277; h=from:to:subject:date:message-id:in-reply-to:references: mime-version:content-transfer-encoding; bh=8aYb4/kW5VJo6c5mvVgnaKF54XakhVAvWbPYKUMn2DM=; b=YhjGr6DF9MGKFB+vzQwyWMsILdOcdspG6v36TjMYVWxDmE/OHPFa5M3C rNCwaXjcKQ+DJNH/Y7SM8ooH5ZeC7zOwmRq40WqCD8DmxK6xLN1C8Snae 3dzQeHm+iB7pXNTKkv8qpeUx+0dkUKlVO3L8x0YbcYlzWrP3nDg02qnzI xhJLlvthU/wPQy04yJLBluzd6X0KHHKFDX7PWoXRZKpxMYGB3fWl5RENa hthNxCLGIEYlYKMn8HGRdfriRIzcZ1vHeP1jb0jVaeVvdJwkfYoGJTMO9 n30eVv3NDxUc57Uz+f3kc8pyqdyWZYvI6LwUtOE+kUCSl0VishKCAzcM2 w==; X-CSE-ConnectionGUID: 0eBfR+bkSe+YIIB/q0S99Q== X-CSE-MsgGUID: kbtJ1MtSQ6akdSkbXTBl8g== X-IronPort-AV: E=McAfee;i="6800,10657,11612"; a="75456351" X-IronPort-AV: E=Sophos;i="6.19,302,1754982000"; d="scan'208";a="75456351" Received: from fmviesa003.fm.intel.com ([10.60.135.143]) by orvoesa103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Nov 2025 09:01:16 -0800 X-CSE-ConnectionGUID: V25v3gO6RSKhxEcIyu8thg== X-CSE-MsgGUID: SXT2lOWmRQi07aXD3/jZiQ== X-ExtLoop1: 1 Received: from dut7069bmgfrd.fm.intel.com (HELO DUT7069BMGFRD..) ([10.1.40.39]) by fmviesa003.fm.intel.com with ESMTP; 13 Nov 2025 09:01:16 -0800 From: Nishit Sharma To: igt-dev@lists.freedesktop.org Subject: [PATCH i-g-t v7 02/10] tests/intel/xe_exec_system_allocator: Add parameter in madvise call Date: Thu, 13 Nov 2025 17:00:47 +0000 Message-ID: <20251113170112.635182-3-nishit.sharma@intel.com> X-Mailer: git-send-email 2.48.1 In-Reply-To: <20251113170112.635182-1-nishit.sharma@intel.com> References: <20251104153201.677938-1-nishit.sharma@intel.com> <20251113170112.635182-1-nishit.sharma@intel.com> 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" Parameter instance added in xe_vm_madvise() call. This parameter addition cause compilation issue in system_allocator test. As a fix 0 as instance parameter passed in xe_vm_madvise() calls. Signed-off-by: Nishit Sharma --- tests/intel/xe_exec_system_allocator.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/intel/xe_exec_system_allocator.c b/tests/intel/xe_exec_system_allocator.c index b88967e58..1e7175061 100644 --- a/tests/intel/xe_exec_system_allocator.c +++ b/tests/intel/xe_exec_system_allocator.c @@ -1164,7 +1164,7 @@ madvise_swizzle_op_exec(int fd, uint32_t vm, struct test_exec_data *data, xe_vm_madvise(fd, vm, to_user_pointer(data), bo_size, 0, DRM_XE_MEM_RANGE_ATTR_PREFERRED_LOC, preferred_loc, - 0); + 0, 0); } static void @@ -1172,7 +1172,7 @@ xe_vm_madvixe_pat_attr(int fd, uint32_t vm, uint64_t addr, uint64_t range, int pat_index) { xe_vm_madvise(fd, vm, addr, range, 0, - DRM_XE_MEM_RANGE_ATTR_PAT, pat_index, 0); + DRM_XE_MEM_RANGE_ATTR_PAT, pat_index, 0, 0); } static void @@ -1181,7 +1181,7 @@ xe_vm_madvise_atomic_attr(int fd, uint32_t vm, uint64_t addr, uint64_t range, { xe_vm_madvise(fd, vm, addr, range, 0, DRM_XE_MEM_RANGE_ATTR_ATOMIC, - mem_attr, 0); + mem_attr, 0, 0); } static void @@ -1190,7 +1190,7 @@ xe_vm_madvise_migrate_pages(int fd, uint32_t vm, uint64_t addr, uint64_t range) xe_vm_madvise(fd, vm, addr, range, 0, DRM_XE_MEM_RANGE_ATTR_PREFERRED_LOC, DRM_XE_PREFERRED_LOC_DEFAULT_SYSTEM, - DRM_XE_MIGRATE_ALL_PAGES); + DRM_XE_MIGRATE_ALL_PAGES, 0); } static void -- 2.48.1