feature: support memory policy for GEM_CREATE

Modified ioctl_helper_prelim to support the extension of gem_create_ext,
i.e. prelim_drm_i915_gem_create_ext_mempolicy.

Added two debug variables to be used for the mempolicy extension.

Modified functions in memory_info and drm_memory_manager to support extension

Added numaif.h from https://github.com/numactl/numactl/tree/master,
v2.0.14

Related-To: NEO-8276
Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com>
This commit is contained in:
Young Jin Yoon
2023-12-06 19:30:05 +00:00
committed by Compute-Runtime-Automation
parent 80c2664b2a
commit 4ccae1dbb4
36 changed files with 1425 additions and 119 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2022-2023 Intel Corporation
* Copyright (C) 2022-2024 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -64,6 +64,7 @@ using NEO::PrelimI915::prelim_drm_i915_gem_clos_free;
using NEO::PrelimI915::prelim_drm_i915_gem_clos_reserve;
using NEO::PrelimI915::prelim_drm_i915_gem_context_param_acc;
using NEO::PrelimI915::prelim_drm_i915_gem_create_ext;
using NEO::PrelimI915::prelim_drm_i915_gem_create_ext_memory_policy;
using NEO::PrelimI915::prelim_drm_i915_gem_create_ext_setparam;
using NEO::PrelimI915::prelim_drm_i915_gem_create_ext_vm_private;
using NEO::PrelimI915::prelim_drm_i915_gem_engine_class;