Commit Graph

393 Commits

Author SHA1 Message Date
Mateusz Jablonski
08b38581de build: unify minimum required cmake version
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-05-21 13:10:17 +02:00
Weronika Kapusta
d6c16c1640 fix: remove compiler cache legacy implementation
Related-To: NEO-10679

Signed-off-by: Weronika Kapusta <weronika.kapusta@intel.com>
2024-05-06 18:28:35 +02:00
Mateusz Jablonski
8676b97412 build: add cmake flag to select platforms for aub generation
Related-To: NEO-11097
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-04-17 16:43:21 +02:00
Mateusz Jablonski
f60a8392bc build: enhance finding drm paths
Related-To: NEO-11160

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-04-17 11:17:30 +02:00
Compute-Runtime-Validation
9568ee47e7 Revert "fix: remove compiler cache legacy implementation"
This reverts commit 864f42116c.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-04-09 02:06:51 +02:00
Weronika Kapusta
864f42116c fix: remove compiler cache legacy implementation
Related-To: NEO-10679
Signed-off-by: Kapusta, Weronika <weronika.kapusta@intel.com>
2024-04-08 16:40:57 +02:00
Artur Harasimiuk
fffa880d5a build: refactor ccache detection and usage
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2024-03-29 10:39:21 +01:00
Mateusz Jablonski
bcaa62bed3 build: refactor linux kernel headers
Add cmake flags to provide path to headers to drm / i915 /i915 prelim / xe

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-03-28 14:48:09 +01:00
Mateusz Jablonski
6095efa7d3 build: disable aub tests compilation by default
aub tests compilation can be enabled with cmake flag NEO_SKIP_AUB_TESTS=0
aub tests execution can be enabled with cmake flag NEO_SKIP_AUB_TEST_RUN=0
enabled aub tests execution forces compilation of aub tests targets

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-03-27 19:15:25 +01:00
Mateusz Jablonski
a2742492ab feature: enable xe drm detection by default
driver is built with xe drm support by default

added cmake flag to control xe eu debug API support
NEO_ENABLE_XE_EU_DEBUG_SUPPORT

This flag is disabled by default and uapi-eu-debug headers are not
needed for driver compilation as these headers are not a part of
upstream kernel yet.

Related-To: NEO-10780

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-03-19 08:47:13 +01:00
Mateusz Jablonski
19dcc80e44 Revert "build: enable xe drm detection by default"
This reverts commit 973757a58d.

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-03-18 09:04:59 +01:00
Artur Harasimiuk
7be113df2b build: configure LTO
Related-To: NEO-9328
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2024-03-12 12:54:10 +01:00
Mateusz Jablonski
973757a58d build: enable xe drm detection by default
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-03-11 14:29:20 +01:00
Grzegorz Choinski
43a8100eec build: generate .pdb for clang on Windows
Related-To: NEO-10026
Signed-off-by: Grzegorz Choinski <grzegorz.choinski@intel.com>
2024-02-28 12:58:06 +01:00
Compute-Runtime-Validation
78628ad4c9 Revert "build: generate .pdb for clang on Windows"
This reverts commit 4f1ae1e7f8.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-02-28 01:18:11 +01:00
Grzegorz Choinski
4f1ae1e7f8 build: generate .pdb for clang on Windows
Related-To: NEO-10026
Signed-off-by: Grzegorz Choinski <grzegorz.choinski@intel.com>
2024-02-27 22:32:50 +01:00
Artur Harasimiuk
d186e496fc build: use lld/gold for shared libraries
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2024-02-27 16:53:38 +01:00
Lukasz Jobczyk
486cc71b76 refactor: Add GDI profiling
Resolves: NEO-9236
Related-To: NEO-10036

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2024-02-07 18:44:11 +01:00
Compute-Runtime-Validation
fa9c79fb63 Revert "refactor: Add GDI profiling"
This reverts commit 524ae7713a.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-01-30 10:47:34 +01:00
Lukasz Jobczyk
524ae7713a refactor: Add GDI profiling
Resolves: NEO-9236
Related-To: NEO-10036

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2024-01-29 11:36:04 +01:00
Compute-Runtime-Validation
e949ba7144 Revert "refactor: Add GDI profiling"
This reverts commit 8d56f8fb6b.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-01-23 06:13:02 +01:00
Lukasz Jobczyk
8d56f8fb6b refactor: Add GDI profiling
Resolves: NEO-9236
Related-To: NEO-10036

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2024-01-22 14:24:08 +01:00
Yoon, Young Jin
9c7578f5f4 fix: change numa_library to read default policy
Changed NumaLibrary to read default policy instead of using
the address-based policy, and remove unnecessary argument.

Removed numaif.h from the repo as it is no longer required.

Related-To: NEO-8276
Signed-off-by: Yoon, Young Jin <young.jin.yoon@intel.com>
2024-01-19 08:31:41 +01:00
Kamil Kopryk
36dcfc0b42 feature: add stateless heapless builtins
Related-To: NEO-7621
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-01-16 11:11:31 +01:00
Kamil Kopryk
fefda13a6e fix: add __user and __packed empty definitions
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-01-15 11:13:17 +01:00
Kamil Kopryk
0aee72f1fc refactor: disable instantiation-after-specialization clang warning
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-01-10 13:50:25 +01:00
Young Jin Yoon
4ccae1dbb4 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>
2024-01-04 23:49:10 +01:00
Brandon Yates
0c7ba17f1a feature(debugger): Implement attach for xe debugger
Related-to: NEO-8407

Signed-off-by: Brandon Yates <brandon.yates@intel.com>
2023-12-18 16:27:17 +01:00
Dunajski, Bartosz
d99104d5bf refactor: improve ImplicitArg struct handling
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2023-12-18 15:19:00 +01:00
Zbigniew Zdanowicz
fa44cc13a6 feature: add wrappers to waitpkg intrinsics
Related-To: NEO-9737

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2023-12-14 13:52:18 +01:00
Lukasz Jobczyk
c8c3f862f4 refactor: Add key to force zero copy without coherency
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2023-12-07 07:56:54 +01:00
Mateusz Jablonski
75ed29ceef build: correct flags for building clang on Windows with UBSAN
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-11-08 15:42:14 +01:00
Brandon Yates
fd48de3da9 feature(debugger): Add initial Xe debugger skeleton
sync xe_drm.h for debugger to 1d2144ed from
https://gitlab.freedesktop.org/miku/kernel/-/tree/eudebug-dev

Related-to: NEO-8402

Signed-off-by: Brandon Yates <brandon.yates@intel.com>
2023-11-07 17:36:18 +01:00
Grzegorz Choinski
7a9170aacc build: disable wddm linux based on supported platforms
Signed-off-by: Grzegorz Choinski <grzegorz.choinski@intel.com>
2023-10-19 13:39:11 +02:00
Mateusz Jablonski
a3faf5dacc feature: Add support for ARL-S
Related-To: NEO-8187
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-10-13 10:28:21 +02:00
Mateusz Jablonski
8da3879944 refactor: remove not needed code
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-09-19 14:40:24 +02:00
Mateusz Jablonski
a31fbe1dac build: use include path from aub_stream target when target exists
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-08-29 13:58:31 +02:00
Artur Harasimiuk
b578e4ad57 refactor: cmake cleanup
Related-To: NEO-8256, NEO-8257

Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2023-08-28 11:40:48 +02:00
Compute-Runtime-Validation
5114988f34 Revert "refactor: cmake cleanup"
This reverts commit 9da3960123.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2023-08-28 03:05:49 +02:00
Artur Harasimiuk
9da3960123 refactor: cmake cleanup
Related-To: NEO-8256, NEO-8257

Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2023-08-25 18:07:48 +02:00
Fabian Zwolinski
6fca8ee195 refactor: Remove SourceLevelDebugger
Removed:
- SourceLevelDebugger (with tests)
- DebuggerLibrary
- DebuggerLibraryRestore
- debuggerSupported field from hwInfo.capabilityTable
- HasSourceLevelDebuggerSupport matcher
- ExperimentalEnableSourceLevelDebugger debug var
- EnableMockSourceLevelDebugger debug var
- DebuggerOptDisable debug var
- lib_names.h.in file
- third_party/source_level_debugger/igfx_debug_interchange_types.h

Related-To: NEO-7213
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com>
2023-08-10 11:14:02 +02:00
Mateusz Jablonski
0f47295a23 build: add cmake flag to enable interprocedural optimization
Related-To: NEO-6904
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-07-05 09:43:15 +02:00
Grzegorz Choinski
3fc1957c1f ci: infra update
Signed-off-by: Grzegorz Choinski <grzegorz.choinski@intel.com>
2023-06-20 13:51:37 +02:00
Matias Cabral
38bc7ae403 build: update i915 headers
third_party/uapi/drm - from c7c12de893f808bd7c1215fe9056262295e5203b
https://cgit.freedesktop.org/drm-tip

third_party/uapi/prelim/drm from prelim v2.0-rc17
https://github.com/intel-gpu/drm-uapi-helper

Signed-off-by:  Matias Cabral <matias.a.cabral@intel.com>
2023-05-22 10:25:00 +02:00
Diedrich, Kamil
5149d74141 refactor: Remove globaly enabled cl_cache
Current behaviour will be detecd path existence

Related-To: NEO-4262

Signed-off-by: Diedrich, Kamil <kamil.diedrich@intel.com>
2023-04-28 23:28:49 +02:00
Kamil Kopryk
171e97e71a feature: introduce release helper
Related-To: NEO-7786
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2023-04-27 21:38:08 +02:00
Filip Hazubski
3cfba5b73d refactor(cmake): check images support per platform instead of per core
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2023-03-13 16:14:39 +01:00
Mateusz Jablonski
35b8fba1d8 feature: add cmake flag to detect Xe drm
This is a prework for optional integration with Xe driver
https://cgit.freedesktop.org/drm/drm-xe/commit/?h=drm-xe-next

Related-To: NEO-7578
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-01-09 09:42:37 +01:00
Mateusz Jablonski
f629b403c8 CMake: Define OpenCL specific include directories in opencl dir
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-12-15 09:35:47 +01:00
Kamil Diedrich
1c9f17844b Add wddm ult for wsl build [2/n]
Related-To: NEO-6066
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2022-12-07 14:42:49 +01:00