Disable virtual padding on linux
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
parent
efee781058
commit
00641c9496
|
@ -3102,7 +3102,7 @@ TEST_F(DrmMemoryManagerUSMHostAllocationTests,
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST_F(DrmMemoryManagerWithExplicitExpectationsTest, givenDefaultDrmMemoryManagerWhenAskedForVirtualPaddingSupportThenTrueIsReturned) {
|
TEST_F(DrmMemoryManagerWithExplicitExpectationsTest, givenDefaultDrmMemoryManagerWhenAskedForVirtualPaddingSupportThenTrueIsReturned) {
|
||||||
EXPECT_TRUE(memoryManager->peekVirtualPaddingSupport());
|
EXPECT_FALSE(memoryManager->peekVirtualPaddingSupport());
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST_F(DrmMemoryManagerWithExplicitExpectationsTest, givenDefaultDrmMemoryManagerWhenAskedForAlignedMallocRestrictionsThenNullPtrIsReturned) {
|
TEST_F(DrmMemoryManagerWithExplicitExpectationsTest, givenDefaultDrmMemoryManagerWhenAskedForAlignedMallocRestrictionsThenNullPtrIsReturned) {
|
||||||
|
|
|
@ -69,7 +69,6 @@ void DrmMemoryManager::initialize(gemCloseWorkerMode mode) {
|
||||||
localMemAllocs.emplace_back();
|
localMemAllocs.emplace_back();
|
||||||
disableGemCloseWorker &= getDrm(rootDeviceIndex).isVmBindAvailable();
|
disableGemCloseWorker &= getDrm(rootDeviceIndex).isVmBindAvailable();
|
||||||
}
|
}
|
||||||
MemoryManager::virtualPaddingAvailable = true;
|
|
||||||
|
|
||||||
if (disableGemCloseWorker) {
|
if (disableGemCloseWorker) {
|
||||||
mode = gemCloseWorkerMode::gemCloseWorkerInactive;
|
mode = gemCloseWorkerMode::gemCloseWorkerInactive;
|
||||||
|
|
Loading…
Reference in New Issue