mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-04 07:14:10 +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) 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;
|
||||
|
||||
Reference in New Issue
Block a user