mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-04 15:53:45 +08:00
Remove not needed debug flag.
Change-Id: I2cfb1cf531654045242f64f045f6f8ff2cc10d9a Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
ef89ed7a01
commit
51f7fbe0ec
@@ -24,11 +24,6 @@ std::string DrmAllocation::getAllocationInfoString() const {
|
||||
}
|
||||
|
||||
uint64_t DrmAllocation::peekInternalHandle(MemoryManager *memoryManager) {
|
||||
auto drmMemoryManager = static_cast<DrmMemoryManager *>(memoryManager);
|
||||
if (DebugManager.flags.AllowOpenFdOperations.get()) {
|
||||
return static_cast<uint64_t>(drmMemoryManager->obtainFdFromHandle(getBO()->peekHandle()));
|
||||
} else {
|
||||
return 0llu;
|
||||
}
|
||||
return static_cast<uint64_t>((static_cast<DrmMemoryManager *>(memoryManager))->obtainFdFromHandle(getBO()->peekHandle()));
|
||||
}
|
||||
} // namespace NEO
|
||||
|
||||
Reference in New Issue
Block a user