mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 14:55:24 +08:00
fix: vmbind of i915 canonization check
Related-To: NEO-7313 Signed-off-by: Wojciech Konior <wojciech.konior@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
a6abda83a4
commit
7f81d0e3e8
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user