mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
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:

committed by
Compute-Runtime-Automation

parent
f5210ed89f
commit
405fb760a7
@ -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);
|
||||
|
Reference in New Issue
Block a user