mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-28 16:48:45 +08:00
Add OsContext argument to MemoryManager::makeNonResidentEvictionAllocations
OsContext has to propagate through following calls first: - WddmCommandStreamReceiver<GfxFamily>::processEviction - CommandStreamReceiver::makeSurfacePackNonResident Change-Id: I7559c7406b2860c51905c9961cec251fac231b08 Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
2d7077e138
commit
bc4700a193
@@ -197,7 +197,7 @@ HWTEST_F(KernelImageArgTest, givenImgWithMcsAllocWhenMakeResidentThenMakeMcsAllo
|
||||
pKernel->makeResident(*csr.get());
|
||||
EXPECT_TRUE(csr->isMadeResident(mcsAlloc));
|
||||
|
||||
csr->makeSurfacePackNonResident(csr->getResidencyAllocations());
|
||||
csr->makeSurfacePackNonResident(csr->getResidencyAllocations(), *pDevice->getOsContext());
|
||||
|
||||
EXPECT_TRUE(csr->isMadeNonResident(mcsAlloc));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user