mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Disable virtual padding on linux
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:

committed by
Compute-Runtime-Automation

parent
efee781058
commit
00641c9496
@ -3102,7 +3102,7 @@ TEST_F(DrmMemoryManagerUSMHostAllocationTests,
|
||||
}
|
||||
|
||||
TEST_F(DrmMemoryManagerWithExplicitExpectationsTest, givenDefaultDrmMemoryManagerWhenAskedForVirtualPaddingSupportThenTrueIsReturned) {
|
||||
EXPECT_TRUE(memoryManager->peekVirtualPaddingSupport());
|
||||
EXPECT_FALSE(memoryManager->peekVirtualPaddingSupport());
|
||||
}
|
||||
|
||||
TEST_F(DrmMemoryManagerWithExplicitExpectationsTest, givenDefaultDrmMemoryManagerWhenAskedForAlignedMallocRestrictionsThenNullPtrIsReturned) {
|
||||
|
@ -69,7 +69,6 @@ void DrmMemoryManager::initialize(gemCloseWorkerMode mode) {
|
||||
localMemAllocs.emplace_back();
|
||||
disableGemCloseWorker &= getDrm(rootDeviceIndex).isVmBindAvailable();
|
||||
}
|
||||
MemoryManager::virtualPaddingAvailable = true;
|
||||
|
||||
if (disableGemCloseWorker) {
|
||||
mode = gemCloseWorkerMode::gemCloseWorkerInactive;
|
||||
|
Reference in New Issue
Block a user