Use drm tip kernel headers as default 2/2

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
This commit is contained in:
Szymon Morek
2021-10-27 12:43:46 +00:00
committed by Compute-Runtime-Automation
parent 75a5aed81d
commit 3cf2e2e395
31 changed files with 2952 additions and 7832 deletions

View File

@ -450,18 +450,7 @@ set_property(GLOBAL PROPERTY USE_FOLDERS ON)
# Get available platfroms
include(platforms.cmake)
if(SUPPORT_XE_HP_SDV AND "${BRANCH_TYPE}" STREQUAL "")
set(I915_LOCAL_MEM_EXP TRUE)
endif()
if(SUPPORT_DG1 AND "${BRANCH_TYPE}" STREQUAL "")
set(I915_LOCAL_MEM_EXP TRUE)
endif()
if(I915_LOCAL_MEM_EXP)
get_filename_component(I915_INCLUDES_DIR "${NEO_SOURCE_DIR}/third_party/uapi/drm_tip" ABSOLUTE)
else()
get_filename_component(I915_INCLUDES_DIR "${NEO_SOURCE_DIR}/third_party${BRANCH_DIR_SUFFIX}uapi" ABSOLUTE)
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}")
# Enable/Disable BuiltIns compilation during build