Commit Graph

422 Commits

Author SHA1 Message Date
Mateusz Jablonski f31b7646d0 build: cleanup compiler warning flags
remove flags that are enabled by -Wextra
stop ignoring unused usings/typedefs/variables
add reasons of excluding checks

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-11-29 17:58:50 +01:00
Chodor, Jaroslaw 22fe217567 refactor: cleanup around IGC library name mocking logic
This patchset improves mocking of IGC library name and adds
safety mechanism to ensure that global IGC library name gets
restored before test finishes.

Related-To: NEO-12747

Signed-off-by: Chodor, Jaroslaw <jaroslaw.chodor@intel.com>
2024-11-15 18:32:59 +01:00
Filip Hazubski f8f1557ec7 build: Update logic around serialized builtins compilation
Add log to explicitly state when serialized builtins compilation is enabled.
Correct logic to properly serialize kernel builds for single product.
Add chained per product dependencies.
Remove unused function.

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2024-11-04 10:11:48 +01:00
Dominik Dabek 22a3ec948b fix: ulls controller sleep, windows
Request higher resolution for windows periodic timers for ulls
controller sleep.

Allows for controller thread to sleep with granularity of 1ms.

Related-To: NEO-10800

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2024-10-24 18:07:04 +02:00
Mateusz Jablonski 8fbe873e1b build: correct setting for i915/xe prelim setting in package scripts
rename i915 flag to uppercase, for consistency
disable i915 / xe prelim by default in package scripts

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-10-09 15:55:59 +02:00
Mateusz Jablonski d5812f49d7 refactor: remove not needed vme builtin related code
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-09-16 15:27:49 +02:00
Artur Harasimiuk 9eb71a8f29 build: set NEO_LEGACY_PLATFORMS_SUPPORT to FALSE by default
Related-To: NEO-6683
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2024-09-16 09:36:07 +02:00
Brandon Yates ce122fb1fa build: Add option to use xe prelim headers for debugger
Signed-off-by: Brandon Yates <brandon.yates@intel.com>
2024-09-11 11:20:26 +02:00
Mateusz Jablonski 3a51d68c5d build: correct message and include paths for i915/xe prelim headers
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-09-10 14:10:37 +02:00
Mateusz Jablonski 53e02bc615 build: add option to build with xe drm prelim headers
Xe drm prelim headers are taken from xe branch at
https://github.com/intel-gpu/drm-uapi-helper

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-09-06 16:17:55 +02:00
Compute-Runtime-Validation 5dbbaa39b9 Revert "fix: ulls controller sleep, windows"
This reverts commit 6455d4648c.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-08-24 06:37:58 +02:00
Dominik Dabek 6455d4648c fix: ulls controller sleep, windows
Request higher resolution for windows periodic timers for ulls
controller sleep.

Allows for controller thread to sleep with granularity of 1ms.

Related-To: NEO-10800

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2024-08-23 12:05:26 +02:00
Artur Harasimiuk 5bb1bc0396 build: add ocloc CURRENT and FORMER definitions
Related-To: NEO-6683
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2024-08-12 11:45:27 +02:00
Artur Harasimiuk 250601fd7b build: cleanup not needed variables from cmake
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2024-08-01 12:52:20 +02:00
Artur Harasimiuk b6038de550 build: adjust name for legacy1 packages
Related-To: NEO-6683
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2024-07-31 16:20:08 +02:00
Mateusz Jablonski b401d83110 test: add mechanism for detecting invalid test excludes
invalid test excludes are detected by default
cmake flag NEO_IGNORE_INVALID_TEST_EXCLUDES disables this validation

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-07-10 13:38:56 +02:00
Mateusz Jablonski 778645c11e feature: add initial support for Xe2 platforms
Related-To: NEO-8188, NEO-10774
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-07-09 10:30:27 +02:00
Brandon Yates a432bdecc1 refactor: Reorganize xe debugger includes
Related-to: NEO-11365

Signed-off-by: Brandon Yates <brandon.yates@intel.com>
2024-07-02 12:28:11 +02:00
Pawel Cieslak 75cb7f85d2 build: set CMAKE_GENERATOR_TOOLSET only for VS generator
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2024-07-01 12:51:45 +02:00
Artur Harasimiuk 0f80818f59 refactor: cleanup not needed include in CMakeLists.txt
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2024-06-27 11:31:07 +02:00
Artur Harasimiuk aa467ec10f ci: infra revision update
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2024-06-25 15:47:31 +02:00
Artur Harasimiuk bbe11205e3 build: add cmake flags to control platform support
Related-To: NEO-6683
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2024-06-25 09:08:03 +02:00
Dominik Dabek dc26b25169 Revert "fix: ulls controller sleep, windows"
This reverts commit 672cc0ebc7.

Resolves: HSD-18038912878, NEO-11770

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2024-06-21 14:10:43 +02:00
Dominik Dabek 672cc0ebc7 fix: ulls controller sleep, windows
Request higher resolution for windows periodic timers for ulls
controller sleep.

Allows for controller thread to sleep with granularity of 1ms.

Related-To: NEO-10800

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2024-06-18 06:28:15 +02:00
Artur Harasimiuk ad374fbd8f build: allow use cl_cache in ocloc
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2024-06-13 16:06:15 +02:00
Mateusz Jablonski af816b5729 build: explicitly enable symbols export from executable targets
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-06-07 17:51:45 +02:00
Mateusz Jablonski 726b79b6a7 test: update gtest version
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-06-06 15:26:54 +02:00
Mateusz Jablonski f3fa58de15 refactor: define release helper sources only once
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-06-03 13:59:11 +02:00
Chodor, Jaroslaw ad155da67a feature: Enabling platforms in ocloc by default
This feature enables supported platforms in ocloc even
if not enabled for driver.
Allows sharing single ocloc instance for multiple driver-platform
configurations

Related-To: NEO-10531

Signed-off-by: Chodor, Jaroslaw <jaroslaw.chodor@intel.com>
2024-05-28 12:09:47 +02:00
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