mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-09 06:23:01 +08:00
Revert "performance: make resident before lock"
This reverts commit 7e7fac01e3.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
a1fd3ab745
commit
4d159bd06c
@@ -1241,7 +1241,7 @@ TEST_F(WddmLockWithMakeResidentTests, whenAlllocationNeedsBlockingMakeResidentBe
|
||||
allocation.needsMakeResidentBeforeLock = false;
|
||||
memoryManager.lockResource(&allocation);
|
||||
EXPECT_EQ(1u, wddm->lockResult.called);
|
||||
EXPECT_EQ(rootDeviceEnvironment->getHelper<GfxCoreHelper>().makeResidentBeforeLockNeeded(false), wddm->lockResult.uint64ParamPassed);
|
||||
EXPECT_EQ(0u, wddm->lockResult.uint64ParamPassed);
|
||||
memoryManager.unlockResource(&allocation);
|
||||
|
||||
allocation.needsMakeResidentBeforeLock = true;
|
||||
|
||||
Reference in New Issue
Block a user