Debian Codegraph @

drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r570/nvrm/client.h

raw
1 /* SPDX-License-Identifier: MIT */
2
3 /* Copyright (c) 2024, NVIDIA CORPORATION. All rights reserved. */
4
5 #ifndef __NVRM_CLIENT_H__
6 #define __NVRM_CLIENT_H__
7 #include <nvrm/nvtypes.h>
8
9 /* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/570.144 */
10
11 #define NV01_ROOT (0x0U) /* finn: Evaluated from "NV0000_ALLOC_PARAMETERS_MESSAGE_ID" */
12
13 #define NV_PROC_NAME_MAX_LENGTH 100U
14
15 typedef struct NV0000_ALLOC_PARAMETERS {
16 NvHandle hClient; /* CORERM-2934: hClient must remain the first member until all allocations use these params */
17 NvU32 processID;
18 char processName[NV_PROC_NAME_MAX_LENGTH];
19 NV_DECLARE_ALIGNED(NvP64 pOsPidInfo, 8);
20 } NV0000_ALLOC_PARAMETERS;
21 #endif