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>
This commit is contained in:
Mateusz Jablonski
2024-03-18 14:29:33 +00:00
committed by Compute-Runtime-Automation
parent fb838afe42
commit a2742492ab
17 changed files with 129 additions and 81 deletions

View File

@@ -6,6 +6,8 @@
set(L0_TESTS_SYSMAN_ENGINE_LINUX
${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt
${CMAKE_CURRENT_SOURCE_DIR}/test_zes_engine_xe.cpp
${CMAKE_CURRENT_SOURCE_DIR}/mock_engine_xe.h
)
if(NEO_ENABLE_i915_PRELIM_DETECTION)
@@ -21,13 +23,6 @@ else()
)
endif()
if(NEO_ENABLE_XE_DRM_DETECTION)
list(APPEND L0_TESTS_SYSMAN_ENGINE_LINUX
${CMAKE_CURRENT_SOURCE_DIR}/test_zes_engine_xe.cpp
${CMAKE_CURRENT_SOURCE_DIR}/mock_engine_xe.h
)
endif()
if(UNIX)
target_sources(${TARGET_NAME}
PRIVATE