diff --git a/shared/source/os_interface/linux/drm_memory_manager.cpp b/shared/source/os_interface/linux/drm_memory_manager.cpp index 2cc672499b..bbaff98c69 100644 --- a/shared/source/os_interface/linux/drm_memory_manager.cpp +++ b/shared/source/os_interface/linux/drm_memory_manager.cpp @@ -454,7 +454,8 @@ DrmAllocation *DrmMemoryManager::createAllocWithAlignmentFromUserptr(const Alloc return nullptr; } - std::unique_ptr bo(allocUserptr(reinterpret_cast(res), size, allocationData.rootDeviceIndex)); + auto ioctlHelper = getDrm(allocationData.rootDeviceIndex).getIoctlHelper(); + std::unique_ptr bo(ioctlHelper->allocUserptr(*this, reinterpret_cast(res), size, allocationData.rootDeviceIndex)); if (!bo) { alignedFreeWrapper(res); return nullptr;