mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-10 12:53:42 +08:00
Revert "Enable eviction only when needed flag in wddm"
This reverts commit aced55243c
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
This commit is contained in:

committed by
Compute-Runtime-Automation

parent
78c96db2fa
commit
d5b2f03dc4
@ -814,7 +814,7 @@ TEST_F(Wddm20Tests, GivenMultipleHandlesWhenMakingResidentThenBytesToTrimIsCorre
|
||||
EXPECT_EQ(gdi->getMakeResidentArg().NumBytesToTrim, bytesToTrim);
|
||||
}
|
||||
|
||||
TEST_F(Wddm20Tests, WhenMakingNonResidentAndEvictNotNeededThenEvictIsCalledWithProperFlagSet) {
|
||||
TEST_F(Wddm20Tests, WhenMakingNonResidentThenEvictIsCalled) {
|
||||
D3DKMT_HANDLE handle = (D3DKMT_HANDLE)0x1234;
|
||||
|
||||
gdi->getEvictArg().AllocationList = nullptr;
|
||||
@ -831,7 +831,6 @@ TEST_F(Wddm20Tests, WhenMakingNonResidentAndEvictNotNeededThenEvictIsCalledWithP
|
||||
EXPECT_EQ(&handle, gdi->getEvictArg().AllocationList);
|
||||
EXPECT_EQ(wddm->getDeviceHandle(), gdi->getEvictArg().hDevice);
|
||||
EXPECT_EQ(0u, gdi->getEvictArg().NumBytesToTrim);
|
||||
EXPECT_EQ(1u, gdi->getEvictArg().Flags.EvictOnlyIfNecessary);
|
||||
}
|
||||
|
||||
TEST_F(Wddm20Tests, givenDestroyAllocationWhenItIsCalledThenAllocationIsPassedToDestroyAllocation) {
|
||||
|
Reference in New Issue
Block a user