Disable GEM_WAIT when new residency model available

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
Lukasz Jobczyk
2021-04-29 08:58:16 +00:00
committed by Compute-Runtime-Automation
parent 3dbe37c423
commit 8e1e213bcf
23 changed files with 119 additions and 45 deletions

View File

@@ -98,17 +98,6 @@ HWTEST_F(DrmDirectSubmissionTest, whenCreateDirectSubmissionThenValidObjectIsRet
EXPECT_NE(directSubmission.get(), nullptr);
}
HWTEST_F(DrmDirectSubmissionTest, givenDrmDirectSubmissionWhenDestructObjectThenIoctlIsCalled) {
auto drmDirectSubmission = std::make_unique<MockDrmDirectSubmission<FamilyType, RenderDispatcher<FamilyType>>>(*device.get(),
*osContext.get());
auto drm = static_cast<DrmMock *>(executionEnvironment.rootDeviceEnvironments[0]->osInterface->get()->getDrm());
drmDirectSubmission->initialize(true);
drm->ioctlCallsCount = 0u;
drmDirectSubmission.reset();
EXPECT_EQ(drm->ioctlCallsCount, 3u);
}
HWTEST_F(DrmDirectSubmissionTest, givenDisabledMonitorFenceWhenDispatchSwitchRingBufferThenDispatchPipeControl) {
using PIPE_CONTROL = typename FamilyType::PIPE_CONTROL;
using Dispatcher = RenderDispatcher<FamilyType>;