Skip to content

Commit 7f5e6b4

Browse files
Revert "fix: Enable 64k pages for TSB allocation"
This reverts commit eed69f4. Signed-off-by: Bartosz Dunajski <[email protected]>
1 parent fd45b28 commit 7f5e6b4

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

shared/source/memory_manager/memory_manager.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,6 @@ bool MemoryManager::getAllocationData(AllocationData &allocationData, const Allo
473473
case AllocationType::gpuTimestampDeviceBuffer:
474474
case AllocationType::preemption:
475475
case AllocationType::syncDispatchToken:
476-
case AllocationType::timestampPacketTagBuffer:
477476
allow64KbPages = true;
478477
default:
479478
break;

shared/test/unit_test/memory_manager/memory_manager_allocate_in_preferred_pool_tests.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,7 @@ INSTANTIATE_TEST_SUITE_P(Allow32BitAnd64kbPagesTypes,
243243
::testing::ValuesIn(allocationTypesWith32BitAnd64KbPagesAllowed));
244244

245245
static const AllocationType allocationTypesWith32BitAnd64KbPagesNotAllowed[] = {AllocationType::commandBuffer,
246+
AllocationType::timestampPacketTagBuffer,
246247
AllocationType::profilingTagBuffer,
247248
AllocationType::image,
248249
AllocationType::instructionHeap,
@@ -611,7 +612,6 @@ HWTEST_F(GetAllocationDataTestHw, givenTimestampPacketTagBufferTypeWhenGetAlloca
611612
mockMemoryManager.getAllocationData(allocData, properties, nullptr, mockMemoryManager.createStorageInfoFromProperties(properties));
612613
EXPECT_FALSE(allocData.flags.useSystemMemory);
613614
EXPECT_TRUE(allocData.flags.requiresCpuAccess);
614-
EXPECT_TRUE(allocData.flags.allow64kbPages);
615615
}
616616

617617
TEST(MemoryManagerTest, givenProfilingTagBufferTypeWhenGetAllocationDataIsCalledThenSystemMemoryIsRequested) {

0 commit comments

Comments
 (0)