Remove redundant query for device id and revision

Related-To: NEO-6999
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2022-06-07 15:03:52 +00:00
committed by Compute-Runtime-Automation
parent 5bee8ebd35
commit 70cf43fd6e
28 changed files with 195 additions and 519 deletions

View File

@@ -243,7 +243,7 @@ int DrmMock::ioctl(DrmIoctl request, void *arg) {
auto queryItemArg = reinterpret_cast<QueryItem *>(queryArg->itemsPtr);
storedQueryItem = *queryItemArg;
auto realEuCount = rootDeviceEnvironment.getHardwareInfo()->gtSystemInfo.EUCount;
auto realEuCount = std::max(rootDeviceEnvironment.getHardwareInfo()->gtSystemInfo.EUCount, static_cast<uint32_t>(this->storedEUVal));
auto dataSize = static_cast<size_t>(std::ceil(realEuCount / 8.0));
if (queryItemArg->length == 0) {