| 1 |
/* SPDX-License-Identifier: MIT */ |
| 2 |
|
| 3 |
/* Copyright (c) 2025, NVIDIA CORPORATION. All rights reserved. */ |
| 4 |
|
| 5 |
#ifndef __NVRM_CTRL_H__ |
| 6 |
#define __NVRM_CTRL_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 |
|
| 11 |
typedef struct rpc_gsp_rm_control_v03_00 |
| 12 |
{ |
| 13 |
NvHandle hClient; |
| 14 |
NvHandle hObject; |
| 15 |
NvU32 cmd; |
| 16 |
NvU32 status; |
| 17 |
NvU32 paramsSize; |
| 18 |
NvU32 flags; |
| 19 |
NvU8 params[]; |
| 20 |
} rpc_gsp_rm_control_v03_00; |
| 21 |
#endif |