/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/shared/source/os_interface/linux/ |
H A D | drm_memory_manager_local_memory.cpp | 17 … auto ret = this->getDrm(properties.rootDeviceIndex).ioctl(DRM_IOCTL_PRIME_FD_TO_HANDLE, &openFd); in createUSMHostAllocationFromSharedHandle() 20 int err = this->getDrm(properties.rootDeviceIndex).getErrno(); in createUSMHostAllocationFromSharedHandle() 26 …auto bo = new BufferObject(&getDrm(properties.rootDeviceIndex), openFd.handle, properties.size, ma… in createUSMHostAllocationFromSharedHandle() 34 …bool useBooMmap = this->getDrm(allocationData.rootDeviceIndex).getMemoryInfo() && allocationData.u… in createAllocWithAlignment() 48 … BufferObject::Deleter> bo(this->createBufferObjectInMemoryRegion(&this->getDrm(allocationData.roo… in createAllocWithAlignment() 61 …cpuPointer, alignedSize, PROT_READ | PROT_WRITE, MAP_SHARED | MAP_FIXED, getDrm(allocationData.roo… in createAllocWithAlignment() 102 …auto addr = mmapFunction(nullptr, bo->peekSize(), PROT_WRITE | PROT_READ, MAP_SHARED, getDrm(rootD… in lockResourceInLocalMemoryImpl()
|
H A D | drm_memory_manager.cpp | 66 disableGemCloseWorker &= getDrm(rootDeviceIndex).isVmBindAvailable(); in initialize() 227 return drmAllocation->setMemAdvise(&this->getDrm(rootDeviceIndex), flags); in setMemAdvise() 236 if (this->getDrm(rootDeviceIndex).ioctl(DRM_IOCTL_I915_GEM_USERPTR, &userptr) != 0) { in allocUserptr() 725 if (getDrm(rootDeviceIndex).ioctl(DRM_IOCTL_I915_GEM_MMAP, &mmap_arg) != 0) { in createPaddedAllocation() 813 drmAlloc->freeRegisteredBOBindExtHandles(&getDrm(drmAlloc->getRootDeviceIndex())); in freeGraphicsMemoryImpl() 819 if (this->getDrm(allocation->getRootDeviceIndex()).isVmBindAvailable()) { in handleFenceCompletion() 995 getDrm(rootDeviceindex).ioctl(DRM_IOCTL_PRIME_HANDLE_TO_FD, &openFd); in obtainFdFromHandle() 1015 Drm &DrmMemoryManager::getDrm(uint32_t rootDeviceIndex) const { in getDrm() function in NEO::DrmMemoryManager 1023 if (&getDrm(rootDeviceIndex) == drm) { in getRootDeviceIndex() 1095 auto memoryInfo = getDrm(rootDeviceIndex).getMemoryInfo(); in getLocalMemorySize() [all …]
|
H A D | os_context_linux.cpp | 84 return this->getDrm().isVmBindAvailable() && hwInfoConfig->isDirectSubmissionSupported(hwInfo); in isDirectSubmissionSupported() 87 Drm &OsContextLinux::getDrm() const { in getDrm() function in NEO::OsContextLinux
|
H A D | os_context_linux.h | 29 Drm &getDrm() const;
|
H A D | drm_memory_manager.h | 122 Drm &getDrm(uint32_t rootDeviceIndex) const;
|
H A D | drm_neo.cpp | 688 if (&osContextLinux->getDrm() == this) { in setNewResourceBoundToVM()
|
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/level_zero/tools/source/sysman/engine/linux/ |
H A D | os_engine_imp.cpp | 32 NEO::Drm *pDrm = &pLinuxSysmanImp->getDrm(); in getNumEngineTypeAndInstances() 81 pDrm = &pLinuxSysmanImp->getDrm(); in LinuxEngineImp()
|
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/opencl/test/unit_test/fixtures/linux/ |
H A D | memory_allocator_multi_device_fixture_linux.cpp | 16 …auto bufferObject = new (std::nothrow) BufferObject(&memoryManager->getDrm(0u), 0, 10, MemoryManag… in SetUp()
|
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/level_zero/tools/source/sysman/linux/ |
H A D | os_sysman_imp.h | 39 NEO::Drm &getDrm();
|
H A D | os_sysman_imp.cpp | 113 NEO::Drm &LinuxSysmanImp::getDrm() { in getDrm() function in L0::LinuxSysmanImp
|
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/level_zero/tools/source/sysman/memory/linux/ |
H A D | os_memory_imp_dg1.cpp | 18 pDrm = &pLinuxSysmanImp->getDrm(); in LinuxMemoryImp()
|
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/shared/test/common/mocks/linux/ |
H A D | mock_drm_memory_manager.h | 79 using DrmMemoryManager::getDrm;
|
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/level_zero/tools/test/unit_tests/sources/sysman/linux/ |
H A D | test_sysman.cpp | 145 EXPECT_EQ(&pLinuxSysmanImp->getDrm(), device->getOsInterface().getDriverModel()->as<Drm>()); in TEST_F() 305 EXPECT_NO_THROW(pLinuxSysmanImp->getDrm()); in TEST_F()
|
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/shared/source/direct_submission/linux/ |
H A D | drm_direct_submission.inl | 43 osContextLinux->getDrm().setDirectSubmissionActive(true);
|
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/opencl/test/unit_test/os_interface/linux/ |
H A D | drm_memory_manager_localmem_tests.cpp | 104 …unique_ptr<BufferObject>(memoryManager->createBufferObjectInMemoryRegion(&memoryManager->getDrm(0), in HWTEST2_F()
|
H A D | drm_memory_manager_tests.cpp | 4155 EXPECT_EQ(drmFromRootDevice, &drmMemoryManager.getDrm(i)); in TEST() 4981 …rObject>(memoryManager->createBufferObjectInMemoryRegion(&memoryManager->getDrm(0), gpuAddress, si… in TEST_F() 4989 …rObject>(memoryManager->createBufferObjectInMemoryRegion(&memoryManager->getDrm(0), gpuAddress, si… in TEST_F()
|