mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-24 21:18:24 +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
@@ -1363,7 +1363,7 @@ HWTEST_F(PatchTokenTests, givenKernelRequiringConstantAllocationWhenMakeResident
|
||||
|
||||
EXPECT_EQ(*pDst, reinterpret_cast<uintptr_t>(constBuffGpuAddr));
|
||||
|
||||
pCommandStreamReceiver->makeSurfacePackNonResident(pCommandStreamReceiver->getResidencyAllocations());
|
||||
pCommandStreamReceiver->makeSurfacePackNonResident(pCommandStreamReceiver->getResidencyAllocations(), *pDevice->getOsContext());
|
||||
EXPECT_EQ(0u, pCommandStreamReceiver->residency.size());
|
||||
|
||||
std::vector<Surface *> surfaces;
|
||||
|
||||
Reference in New Issue
Block a user