fix: remove not needed hardcoded caps reported by ioctl helper xe

Related-To: NEO-10496
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2024-03-22 17:55:28 +00:00
committed by Compute-Runtime-Automation
parent f0bdd5765b
commit 8d38a0c726
2 changed files with 2 additions and 10 deletions

View File

@@ -664,12 +664,10 @@ TEST(IoctlHelperXeTest, whenCallingIoctlThenProperValueIsReturned) {
EXPECT_EQ(dstvalue, 0);
test.param = static_cast<int>(DrmParam::paramHasPageFault);
ret = mockXeIoctlHelper->ioctl(DrmIoctl::getparam, &test);
EXPECT_EQ(0, ret);
EXPECT_EQ(dstvalue, 0);
EXPECT_EQ(-1, ret);
test.param = static_cast<int>(DrmParam::paramHasScheduler);
ret = mockXeIoctlHelper->ioctl(DrmIoctl::getparam, &test);
EXPECT_EQ(0, ret);
EXPECT_EQ(static_cast<unsigned int>(dstvalue), 0x80000037);
EXPECT_EQ(-1, ret);
test.param = static_cast<int>(DrmParam::paramCsTimestampFrequency);
mockXeIoctlHelper->xeTimestampFrequency = 1;
ret = mockXeIoctlHelper->ioctl(DrmIoctl::getparam, &test);