Include domain when ordering with ZE_ENABLE_PCI_ID_DEVICE_ORDER (3)

Fix for VA sharing.

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
This commit is contained in:
Jaime Arteaga
2021-10-21 10:04:17 +00:00
committed by Compute-Runtime-Automation
parent f5210ed89f
commit 405fb760a7
3 changed files with 5 additions and 5 deletions

View File

@ -1246,7 +1246,7 @@ TEST_F(VaDeviceTests, givenVADeviceWhenGetDeviceFromVAIsCalledThenRootDeviceIsRe
NEO::Device *neoDevice = &device->getDevice();
auto mockDrm = static_cast<DrmMock *>(neoDevice->getRootDeviceEnvironment().osInterface->getDriverModel()->as<Drm>());
mockDrm->setPciPath("00:02.0");
mockDrm->setPciPath("0000:00:02.0");
VADevice vaDevice{};
auto clDevice = vaDevice.getDeviceFromVA(pPlatform, vaDisplay.get());
@ -1386,7 +1386,7 @@ TEST_F(VaDeviceTests, givenValidPlatformWhenGetDeviceIdsFromVaApiMediaAdapterCal
NEO::Device *neoDevice = &device->getDevice();
auto mockDrm = static_cast<DrmMock *>(neoDevice->getRootDeviceEnvironment().osInterface->getDriverModel()->as<Drm>());
mockDrm->setPciPath("00:02.0");
mockDrm->setPciPath("0000:00:02.0");
auto errCode = clGetDeviceIDsFromVA_APIMediaAdapterINTEL(platformId, 0u, vaDisplay.get(), 0u, 1, &devices, &numDevices);
EXPECT_EQ(CL_SUCCESS, errCode);