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) 2022-2024 Intel Corporation
* Copyright (C) 2022-2025 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -183,6 +183,19 @@ struct GemClose {
uint64_t userptr;
};
struct GemVmBind {
uint32_t vmId;
union {
uint32_t handle; /* For unbind, it is reserved and must be 0 */
int32_t fd;
};
uint64_t start;
uint64_t offset;
uint64_t length;
uint64_t flags;
uint64_t extensions;
};
struct PrimeHandle {
uint32_t handle;
uint32_t flags;