Extend IoctlHelper::get interface - pass drm version

Related-To: NEO-6999
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2022-05-23 11:34:20 +00:00
committed by Compute-Runtime-Automation
parent 36a07a77a1
commit a552252fee
5 changed files with 6 additions and 5 deletions

View File

@ -1042,7 +1042,7 @@ TEST(DrmQueryTest, givenUapiPrelimVersionWithInvalidPathThenReturnEmptyString) {
TEST(DrmTest, givenInvalidUapiPrelimVersionThenFallbackToBasePrelim) {
const auto productFamily = defaultHwInfo->platform.eProductFamily;
std::unique_ptr<IoctlHelper> ioctlHelper(IoctlHelper::get(productFamily, "-1"));
std::unique_ptr<IoctlHelper> ioctlHelper(IoctlHelper::get(productFamily, "-1", "unk"));
EXPECT_NE(nullptr, ioctlHelper.get());
}