1/* SPDX-License-Identifier: MIT */
2
3/* Copyright (c) 2025, NVIDIA CORPORATION. All rights reserved. */
4
5#ifndef __NVRM_NVENC_H__
6#define __NVRM_NVENC_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
12{
13 NvU32 size;
14 NvU32 prohibitMultipleInstances; // Prohibit multiple allocations of MSENC?
15 NvU32 engineInstance; // Select MSENC/NVENC0 or NVENC1 or NVENC2
16} NV_MSENC_ALLOCATION_PARAMETERS;
17#endif
18

source code of linux/drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/nvrm/nvenc.h