hc
2024-08-12 233ab1bd4c5697f5cdec94e60206e8c6ac609b4c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* SPDX-License-Identifier: MIT */
#ifndef __NVKM_NVENC_H__
#define __NVKM_NVENC_H__
#define nvkm_nvenc(p) container_of((p), struct nvkm_nvenc, engine)
#include <core/engine.h>
#include <core/falcon.h>
 
struct nvkm_nvenc {
   const struct nvkm_nvenc_func *func;
   struct nvkm_engine engine;
   struct nvkm_falcon falcon;
};
 
int gm107_nvenc_new(struct nvkm_device *, int, struct nvkm_nvenc **);
#endif