FILE
alloc.h
File preview with syntax highlighting.
linux-6.19.14/drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/nvrm/alloc.h
1/* SPDX-License-Identifier: MIT */ 2 3/* Copyright (c) 2025, NVIDIA CORPORATION. All rights reserved. */ 4 5#ifndef __NVRM_ALLOC_H__ 6#define __NVRM_ALLOC_H__ 7#include <nvrm/nvtypes.h> 8 9/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.113.01 */ 10 11typedef struct rpc_gsp_rm_alloc_v03_00 12{ 13 NvHandle hClient; 14 NvHandle hParent; 15 NvHandle hObject; 16 NvU32 hClass; 17 NvU32 status; 18 NvU32 paramsSize; 19 NvU32 flags; 20 NvU8 reserved[4]; 21 NvU8 params[]; 22} rpc_gsp_rm_alloc_v03_00; 23 24typedef struct NVOS00_PARAMETERS_v03_00 25{ 26 NvHandle hRoot; 27 NvHandle hObjectParent; 28 NvHandle hObjectOld; 29 NvV32 status; 30} NVOS00_PARAMETERS_v03_00; 31 32typedef struct rpc_free_v03_00 33{ 34 NVOS00_PARAMETERS_v03_00 params; 35} rpc_free_v03_00; 36#endif
~/
Read-only file preview.