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>
This commit is contained in:
Brandon Yates
2023-11-07 02:58:12 +00:00
committed by Compute-Runtime-Automation
parent 104310b113
commit fd48de3da9
8 changed files with 3884 additions and 0 deletions

View File

@@ -499,6 +499,16 @@ if(UNIX)
set(NEO_ENABLE_XE_DRM_DETECTION FALSE)
endif()
message(STATUS "Xe drm detection: ${NEO_ENABLE_XE_DRM_DETECTION}")
# drm-xe debugger support
if(NOT DEFINED NEO_ENABLE_XE_DEBUGGER)
set(NEO_ENABLE_XE_DEBUGGER FALSE)
endif()
if(NEO_ENABLE_XE_DEBUGGER)
get_filename_component(XE_DEBUG_HEADERS_DIR "${NEO_SOURCE_DIR}/third_party${BRANCH_DIR_SUFFIX}uapi-eudebug" ABSOLUTE)
include_directories(BEFORE ${XE_DEBUG_HEADERS_DIR})
endif()
message(STATUS "Xe Debugger enabled: ${NEO_ENABLE_XE_DEBUGGER}")
endif()
if(NOT DEFINED I915_HEADERS_DIR OR I915_HEADERS_DIR STREQUAL "")
get_filename_component(I915_HEADERS_DIR "${NEO_SOURCE_DIR}/third_party${BRANCH_DIR_SUFFIX}uapi" ABSOLUTE)