Disable tlb flush WA on PVC and later

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
Lukasz Jobczyk
2022-06-22 12:07:13 +00:00
committed by Compute-Runtime-Automation
parent b1a9fb886f
commit e0c87435e1
6 changed files with 33 additions and 6 deletions

View File

@ -103,6 +103,10 @@ struct DrmMemoryOperationsHandlerBindFixture : public ::testing::Test {
using DrmMemoryOperationsHandlerBindMultiRootDeviceTest = DrmMemoryOperationsHandlerBindFixture<2u>;
TEST_F(DrmMemoryOperationsHandlerBindMultiRootDeviceTest, whenSetNewResourceBoundToVMThenAllContextsUsingThatVMHasSetNewResourceBound) {
if (!HwHelper::get(executionEnvironment->rootDeviceEnvironments[0]->getHardwareInfo()->platform.eRenderCoreFamily).isFlushTlbWARequired()) {
GTEST_SKIP();
}
mock->setNewResourceBoundToVM(1u);
for (const auto &engine : device->getAllEngines()) {