Revert "fix: Make makeResident explicitly blocking on linux"

This reverts commit 9095c3ed8a.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
This commit is contained in:
Compute-Runtime-Validation
2024-05-10 10:32:33 +02:00
committed by Compute-Runtime-Automation
parent e7c036a91b
commit 6a24610ed1
3 changed files with 2 additions and 15 deletions

View File

@@ -1409,15 +1409,6 @@ TEST_F(DrmMemoryOperationsHandlerBindTest, givenLockedAndResidentAllocationsWhen
memoryManager->freeGraphicsMemory(allocation1);
}
TEST_F(DrmMemoryOperationsHandlerBindTest, whenCallMakeResidentThenWaitUntilResidencyCompleted) {
auto allocation = memoryManager->allocateGraphicsMemoryWithProperties(MockAllocationProperties{device->getRootDeviceIndex(), MemoryConstants::pageSize});
mock->fenceVal[0]++;
EXPECT_EQ(operationHandler->makeResident(device, ArrayRef<NEO::GraphicsAllocation *>(&allocation, 1)), MemoryOperationsStatus::success);
EXPECT_EQ(mock->context.waitUserFenceCalled, 1u);
memoryManager->freeGraphicsMemory(allocation);
}
using DrmResidencyHandlerTests = ::testing::Test;
HWTEST2_F(DrmResidencyHandlerTests, givenClosIndexAndMemoryTypeWhenAskingForPatIndexThenReturnCorrectValue, IsWithinXeGfxFamily) {