L0 Debugger - DebugSession linux implementation

- new feature, enabled with PRELIM build
- implementation of debug session for linux
- move ResourceClass enum from Drm to drm_debug.h

Resolves: NEO-6814


Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
Mateusz Hoppe
2022-05-09 15:52:12 +00:00
committed by Compute-Runtime-Automation
parent 4e4560fe91
commit c021e2ec5e
27 changed files with 7906 additions and 85 deletions

View File

@ -448,6 +448,16 @@ set_property(GLOBAL PROPERTY USE_FOLDERS ON)
# Get available platfroms
include(platforms.cmake)
if(UNIX)
# prelim headers detection
if(NOT ("${BRANCH_TYPE}" STREQUAL ""))
set(NEO_ENABLE_i915_PRELIM_DETECTION TRUE)
elseif(NOT DEFINED NEO_ENABLE_i915_PRELIM_DETECTION)
set(NEO_ENABLE_i915_PRELIM_DETECTION FALSE)
endif()
message(STATUS "i915 prelim headers detection: ${NEO_ENABLE_i915_PRELIM_DETECTION}")
endif()
get_filename_component(I915_INCLUDES_DIR "${NEO_SOURCE_DIR}/third_party${BRANCH_DIR_SUFFIX}uapi" ABSOLUTE)
message(STATUS "i915 includes dir: ${I915_INCLUDES_DIR}")
@ -793,15 +803,6 @@ else()
set(NEO_EXTRA_LIBS dl pthread rt)
endif()
if(UNIX)
# prelim headers detection
if(NOT ("${BRANCH_TYPE}" STREQUAL ""))
set(NEO_ENABLE_i915_PRELIM_DETECTION TRUE)
elseif(NOT DEFINED NEO_ENABLE_i915_PRELIM_DETECTION)
set(NEO_ENABLE_i915_PRELIM_DETECTION FALSE)
endif()
message(STATUS "i915 prelim headers detection: ${NEO_ENABLE_i915_PRELIM_DETECTION}")
endif()
add_subdirectory_unique(shared)
if(NEO_BUILD_WITH_OCL)