@@ -58,7 +58,7 @@ struct WddmMemoryOperationsHandlerTest : public WddmTest {
5858
5959TEST_F (WddmMemoryOperationsHandlerTest, givenRegularAllocationWhenMakingResidentAllocationThenMakeResidentIsCalledAndAllocationIsMarkedAsExplicitlyResident) {
6060 wddmAllocation->setExplicitlyMadeResident (false );
61- EXPECT_EQ (wddmMemoryOperationsHandler->makeResident (nullptr , ArrayRef<GraphicsAllocation *>(&allocationPtr, 1 ), false ), MemoryOperationsStatus::success);
61+ EXPECT_EQ (wddmMemoryOperationsHandler->makeResident (nullptr , ArrayRef<GraphicsAllocation *>(&allocationPtr, 1 ), false , false ), MemoryOperationsStatus::success);
6262 EXPECT_EQ (wddmMemoryOperationsHandler->isResident (nullptr , *wddmAllocation), MemoryOperationsStatus::success);
6363 EXPECT_TRUE (wddmAllocation->isExplicitlyMadeResident ());
6464}
@@ -67,7 +67,7 @@ TEST_F(WddmMemoryOperationsHandlerTest, givenFragmentedAllocationWhenMakingResid
6767 allocationPtr = wddmFragmentedAllocation.get ();
6868 allocationPtr->setExplicitlyMadeResident (false );
6969
70- EXPECT_EQ (wddmMemoryOperationsHandler->makeResident (nullptr , ArrayRef<GraphicsAllocation *>(&allocationPtr, 1 ), false ), MemoryOperationsStatus::success);
70+ EXPECT_EQ (wddmMemoryOperationsHandler->makeResident (nullptr , ArrayRef<GraphicsAllocation *>(&allocationPtr, 1 ), false , false ), MemoryOperationsStatus::success);
7171 EXPECT_EQ (wddmMemoryOperationsHandler->isResident (nullptr , *wddmFragmentedAllocation), MemoryOperationsStatus::success);
7272 EXPECT_TRUE (allocationPtr->isExplicitlyMadeResident ());
7373}
@@ -78,7 +78,7 @@ TEST_F(WddmMemoryOperationsHandlerTest, givenVariousAllocationsWhenMakingResiden
7878 allocation->setExplicitlyMadeResident (false );
7979 }
8080
81- EXPECT_EQ (wddmMemoryOperationsHandler->makeResident (nullptr , ArrayRef<GraphicsAllocation *>(allocationData), false ), MemoryOperationsStatus::success);
81+ EXPECT_EQ (wddmMemoryOperationsHandler->makeResident (nullptr , ArrayRef<GraphicsAllocation *>(allocationData), false , false ), MemoryOperationsStatus::success);
8282 EXPECT_EQ (wddmMemoryOperationsHandler->isResident (nullptr , *wddmAllocation), MemoryOperationsStatus::success);
8383 EXPECT_EQ (wddmMemoryOperationsHandler->isResident (nullptr , *wddmFragmentedAllocation), MemoryOperationsStatus::success);
8484
@@ -91,7 +91,7 @@ TEST_F(WddmMemoryOperationsHandlerTest, givenRegularAllocationWhenEvictingReside
9191 wddm->callBaseEvict = true ;
9292 allocationPtr->setExplicitlyMadeResident (false );
9393
94- EXPECT_EQ (wddmMemoryOperationsHandler->makeResident (nullptr , ArrayRef<GraphicsAllocation *>(&allocationPtr, 1 ), false ), MemoryOperationsStatus::success);
94+ EXPECT_EQ (wddmMemoryOperationsHandler->makeResident (nullptr , ArrayRef<GraphicsAllocation *>(&allocationPtr, 1 ), false , false ), MemoryOperationsStatus::success);
9595 EXPECT_TRUE (allocationPtr->isExplicitlyMadeResident ());
9696
9797 EXPECT_EQ (wddmMemoryOperationsHandler->evict (nullptr , *wddmAllocation), MemoryOperationsStatus::success);
@@ -105,7 +105,7 @@ TEST_F(WddmMemoryOperationsHandlerTest, givenFragmentedAllocationWhenEvictingRes
105105 allocationPtr = wddmFragmentedAllocation.get ();
106106 allocationPtr->setExplicitlyMadeResident (false );
107107
108- EXPECT_EQ (wddmMemoryOperationsHandler->makeResident (nullptr , ArrayRef<GraphicsAllocation *>(&allocationPtr, 1 ), false ), MemoryOperationsStatus::success);
108+ EXPECT_EQ (wddmMemoryOperationsHandler->makeResident (nullptr , ArrayRef<GraphicsAllocation *>(&allocationPtr, 1 ), false , false ), MemoryOperationsStatus::success);
109109 EXPECT_TRUE (allocationPtr->isExplicitlyMadeResident ());
110110
111111 EXPECT_EQ (wddmMemoryOperationsHandler->evict (nullptr , *wddmFragmentedAllocation), MemoryOperationsStatus::success);
@@ -119,7 +119,7 @@ TEST_F(WddmMemoryOperationsHandlerTest, givenVariousAllocationsWhenEvictingResid
119119 allocation->setExplicitlyMadeResident (false );
120120 }
121121 wddm->evictResult .called = 0 ;
122- EXPECT_EQ (wddmMemoryOperationsHandler->makeResident (nullptr , ArrayRef<GraphicsAllocation *>(allocationData), false ), MemoryOperationsStatus::success);
122+ EXPECT_EQ (wddmMemoryOperationsHandler->makeResident (nullptr , ArrayRef<GraphicsAllocation *>(allocationData), false , false ), MemoryOperationsStatus::success);
123123 EXPECT_TRUE (wddmAllocation->isExplicitlyMadeResident ());
124124 EXPECT_TRUE (wddmFragmentedAllocation->isExplicitlyMadeResident ());
125125
@@ -143,7 +143,7 @@ TEST_F(WddmMemoryOperationsHandlerTest, givenVariousAllocationsWhenFreeResidentA
143143 allocation->setExplicitlyMadeResident (false );
144144 }
145145 wddm->evictResult .called = 0 ;
146- EXPECT_EQ (wddmMemoryOperationsHandler->makeResident (nullptr , ArrayRef<GraphicsAllocation *>(allocationData), false ), MemoryOperationsStatus::success);
146+ EXPECT_EQ (wddmMemoryOperationsHandler->makeResident (nullptr , ArrayRef<GraphicsAllocation *>(allocationData), false , false ), MemoryOperationsStatus::success);
147147 EXPECT_TRUE (wddmAllocation->isExplicitlyMadeResident ());
148148 EXPECT_TRUE (wddmFragmentedAllocation->isExplicitlyMadeResident ());
149149
0 commit comments