Home
last modified time | relevance | path

Searched refs:getDrm (Results 1 – 16 of 16) sorted by relevance

/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/shared/source/os_interface/linux/
H A Ddrm_memory_manager_local_memory.cpp17 … 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 Ddrm_memory_manager.cpp66 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 Dos_context_linux.cpp84 return this->getDrm().isVmBindAvailable() && hwInfoConfig->isDirectSubmissionSupported(hwInfo); in isDirectSubmissionSupported()
87 Drm &OsContextLinux::getDrm() const { in getDrm() function in NEO::OsContextLinux
H A Dos_context_linux.h29 Drm &getDrm() const;
H A Ddrm_memory_manager.h122 Drm &getDrm(uint32_t rootDeviceIndex) const;
H A Ddrm_neo.cpp688 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 Dos_engine_imp.cpp32 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 Dmemory_allocator_multi_device_fixture_linux.cpp16 …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 Dos_sysman_imp.h39 NEO::Drm &getDrm();
H A Dos_sysman_imp.cpp113 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 Dos_memory_imp_dg1.cpp18 pDrm = &pLinuxSysmanImp->getDrm(); in LinuxMemoryImp()
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/shared/test/common/mocks/linux/
H A Dmock_drm_memory_manager.h79 using DrmMemoryManager::getDrm;
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/level_zero/tools/test/unit_tests/sources/sysman/linux/
H A Dtest_sysman.cpp145 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 Ddrm_direct_submission.inl43 osContextLinux->getDrm().setDirectSubmissionActive(true);
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/opencl/test/unit_test/os_interface/linux/
H A Ddrm_memory_manager_localmem_tests.cpp104 …unique_ptr<BufferObject>(memoryManager->createBufferObjectInMemoryRegion(&memoryManager->getDrm(0), in HWTEST2_F()
H A Ddrm_memory_manager_tests.cpp4155 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()