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

@@ -20,7 +20,7 @@ if(UNIX)
)
endif()
if(NEO_ENABLE_XE_DRM_DETECTION)
if(NEO_ENABLE_XE_EU_DEBUG_SUPPORT)
target_sources(${L0_STATIC_LIB_NAME}
PRIVATE
${CMAKE_CURRENT_SOURCE_DIR}/xe/debug_session.cpp