Home | History | Annotate | Line # | Download | only in engine
      1 /*	$NetBSD: nvenc.h,v 1.2 2021/12/18 23:45:33 riastradh Exp $	*/
      2 
      3 /* SPDX-License-Identifier: MIT */
      4 #ifndef __NVKM_NVENC_H__
      5 #define __NVKM_NVENC_H__
      6 #define nvkm_nvenc(p) container_of((p), struct nvkm_nvenc, engine)
      7 #include <core/engine.h>
      8 #include <core/falcon.h>
      9 
     10 struct nvkm_nvenc {
     11 	const struct nvkm_nvenc_func *func;
     12 	struct nvkm_engine engine;
     13 	struct nvkm_falcon falcon;
     14 };
     15 
     16 int gm107_nvenc_new(struct nvkm_device *, int, struct nvkm_nvenc **);
     17 #endif
     18