| 1 |
/* SPDX-License-Identifier: MIT */ |
| 2 |
|
| 3 |
/* Copyright (c) 2025, NVIDIA CORPORATION. All rights reserved. */ |
| 4 |
|
| 5 |
#ifndef __NVRM_FBSR_H__ |
| 6 |
#define __NVRM_FBSR_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 NV2080_CTRL_CMD_INTERNAL_FBSR_INIT (0x20800ac2) /* finn: Evaluated from "(FINN_NV20_SUBDEVICE_0_INTERNAL_INTERFACE_ID << 8) | NV2080_CTRL_INTERNAL_FBSR_INIT_PARAMS_MESSAGE_ID" */ |
| 12 |
typedef struct NV2080_CTRL_INTERNAL_FBSR_INIT_PARAMS { |
| 13 |
NvHandle hClient; |
| 14 |
NvHandle hSysMem; |
| 15 |
NvBool bEnteringGcoffState; |
| 16 |
NV_DECLARE_ALIGNED(NvU64 sysmemAddrOfSuspendResumeData, 8); |
| 17 |
} NV2080_CTRL_INTERNAL_FBSR_INIT_PARAMS; |
| 18 |
|
| 19 |
#endif |