mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01: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
@ -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;
|
||||
|
Reference in New Issue
Block a user