fix: vmbind of i915 canonization check

Related-To: NEO-7313

Signed-off-by: Wojciech Konior <wojciech.konior@intel.com>
This commit is contained in:
Wojciech Konior
2025-02-25 11:44:38 +00:00
committed by Compute-Runtime-Automation
parent a6abda83a4
commit 7f81d0e3e8
5 changed files with 62 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2019-2024 Intel Corporation
* Copyright (C) 2019-2025 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -49,6 +49,11 @@ int DrmMock::handleRemainingRequests(DrmIoctl request, void *arg) {
if (request == DrmIoctl::gemWaitUserFence && arg != nullptr) {
return 0;
}
if (request == DrmIoctl::gemVmBind) {
auto vmBindInput = static_cast<GemVmBind *>(arg);
vmBindInputs.push_back(*vmBindInput);
return 0;
}
ioctlCallsCount--;
return -1;