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:
Maciej Dziuban
2018-10-03 17:48:59 +02:00
committed by sys_ocldev
parent 2d7077e138
commit bc4700a193
14 changed files with 28 additions and 28 deletions

View File

@ -494,7 +494,7 @@ TEST_F(KernelPrivateSurfaceTest, testPrivateSurface) {
pKernel->makeResident(*csr.get());
EXPECT_EQ(1u, csr->residency.size());
csr->makeSurfacePackNonResident(csr->getResidencyAllocations());
csr->makeSurfacePackNonResident(csr->getResidencyAllocations(), *pDevice->getOsContext());
EXPECT_EQ(0u, csr->residency.size());
delete pKernel;