Switch on a support for multi-storage resources on Linux
Related-To: NEO-2493 Change-Id: Ieb96ed309d2e1abbe349c372e0b0aabb37dc9c7f Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
This commit is contained in:
parent
8803b4cd4e
commit
74a38386a4
|
@ -36,7 +36,6 @@ DrmMemoryManager::DrmMemoryManager(gemCloseWorkerMode mode,
|
|||
drm(executionEnvironment.osInterface->get()->getDrm()),
|
||||
forcePinEnabled(forcePinAllowed),
|
||||
validateHostPtrMemory(validateHostPtrMemory) {
|
||||
supportsMultiStorageResources = false;
|
||||
for (uint32_t rootDeviceIndex = 0; rootDeviceIndex < gfxPartitions.size(); ++rootDeviceIndex) {
|
||||
getGfxPartition(rootDeviceIndex)->init(platformDevices[0]->capabilityTable.gpuAddressSpace, getSizeToReserve(), rootDeviceIndex);
|
||||
}
|
||||
|
|
|
@ -56,7 +56,7 @@ typedef Test<DrmMemoryManagerFixture> DrmMemoryManagerTest;
|
|||
typedef Test<DrmMemoryManagerFixtureWithoutQuietIoctlExpectation> DrmMemoryManagerWithExplicitExpectationsTest;
|
||||
|
||||
TEST_F(DrmMemoryManagerTest, whenCreatingDrmMemoryManagerThenSupportsMultiStorageResourcesFlagIsSetToFalse) {
|
||||
EXPECT_FALSE(memoryManager->supportsMultiStorageResources);
|
||||
EXPECT_TRUE(memoryManager->supportsMultiStorageResources);
|
||||
}
|
||||
|
||||
TEST_F(DrmMemoryManagerTest, GivenGraphicsAllocationWhenAddAndRemoveAllocationToHostPtrManagerThenfragmentHasCorrectValues) {
|
||||
|
|
Loading…
Reference in New Issue