fix: Enable 64k pages for TSB allocation
Related-To: HSD-18040274716 Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
parent
fe1fd22371
commit
eed69f45ed
|
@ -464,6 +464,7 @@ bool MemoryManager::getAllocationData(AllocationData &allocationData, const Allo
|
|||
case AllocationType::gpuTimestampDeviceBuffer:
|
||||
case AllocationType::preemption:
|
||||
case AllocationType::syncDispatchToken:
|
||||
case AllocationType::timestampPacketTagBuffer:
|
||||
allow64KbPages = true;
|
||||
default:
|
||||
break;
|
||||
|
|
|
@ -243,7 +243,6 @@ INSTANTIATE_TEST_SUITE_P(Allow32BitAnd64kbPagesTypes,
|
|||
::testing::ValuesIn(allocationTypesWith32BitAnd64KbPagesAllowed));
|
||||
|
||||
static const AllocationType allocationTypesWith32BitAnd64KbPagesNotAllowed[] = {AllocationType::commandBuffer,
|
||||
AllocationType::timestampPacketTagBuffer,
|
||||
AllocationType::profilingTagBuffer,
|
||||
AllocationType::image,
|
||||
AllocationType::instructionHeap,
|
||||
|
@ -612,6 +611,7 @@ HWTEST_F(GetAllocationDataTestHw, givenTimestampPacketTagBufferTypeWhenGetAlloca
|
|||
mockMemoryManager.getAllocationData(allocData, properties, nullptr, mockMemoryManager.createStorageInfoFromProperties(properties));
|
||||
EXPECT_FALSE(allocData.flags.useSystemMemory);
|
||||
EXPECT_TRUE(allocData.flags.requiresCpuAccess);
|
||||
EXPECT_TRUE(allocData.flags.allow64kbPages);
|
||||
}
|
||||
|
||||
TEST(MemoryManagerTest, givenProfilingTagBufferTypeWhenGetAllocationDataIsCalledThenSystemMemoryIsRequested) {
|
||||
|
|
Loading…
Reference in New Issue