diff options
author | Zhigang Gong <zhigang.gong@intel.com> | 2014-11-13 14:17:23 +0800 |
---|---|---|
committer | Zhigang Gong <zhigang.gong@intel.com> | 2014-11-13 14:20:55 +0800 |
commit | e7daa2cd1a219f79a6ce75fea9e5eba3da4bffc8 (patch) | |
tree | d4632d1d300e3c3441b1152b69a5a102b6813cf9 /CMakeLists.txt | |
parent | 6560fe7f774dff4f68dc9446d9252bd11a718e26 (diff) | |
download | beignet-e7daa2cd1a219f79a6ce75fea9e5eba3da4bffc8.tar.gz |
runtime: disable userptr due to random fail.
We get a random fail when enable userptr.
Disable it before we root cause and fix it.
Signed-off-by: Zhigang Gong <zhigang.gong@intel.com>
Reviewed-by: "Guo, Yejun" <yejun.guo@intel.com>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 15386f9b..8a97bcb3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -120,12 +120,13 @@ IF(DRM_INTEL_FOUND) INCLUDE_DIRECTORIES(${DRM_INTEL_INCLUDE_DIRS}) MESSAGE(STATUS "Looking for DRM Intel - found at ${DRM_INTEL_PREFIX} ${DRM_INTEL_VERSION}") #userptr support starts from 2.4.57, but 2.4.58 is the actual stable release - IF(DRM_INTEL_VERSION VERSION_GREATER 2.4.57) - MESSAGE(STATUS "Enable userptr support") - SET(DRM_INTEL_USERPTR "enable") - ELSE(DRM_INTEL_VERSION VERSION_GREATER 2.4.57) - MESSAGE(STATUS "Disable userptr support") - ENDIF(DRM_INTEL_VERSION VERSION_GREATER 2.4.57) + #FIXME userptr has randome fail for some cases, need further investigating. + #IF(DRM_INTEL_VERSION VERSION_GREATER 2.4.57) + # MESSAGE(STATUS "Enable userptr support") + # SET(DRM_INTEL_USERPTR "enable") + #ELSE(DRM_INTEL_VERSION VERSION_GREATER 2.4.57) + # MESSAGE(STATUS "Disable userptr support") + #ENDIF(DRM_INTEL_VERSION VERSION_GREATER 2.4.57) ELSE(DRM_INTEL_FOUND) MESSAGE(FATAL_ERROR "Looking for DRM Intel (>= 2.4.52) - not found") ENDIF(DRM_INTEL_FOUND) |