Home | History | Annotate | Line # | Download | only in nvenc
      1 /*	$NetBSD: priv.h,v 1.2 2021/12/18 23:45:37 riastradh Exp $	*/
      2 
      3 /* SPDX-License-Identifier: MIT */
      4 #ifndef __NVKM_NVENC_PRIV_H__
      5 #define __NVKM_NVENC_PRIV_H__
      6 #include <engine/nvenc.h>
      7 
      8 struct nvkm_nvenc_func {
      9 	const struct nvkm_falcon_func *flcn;
     10 };
     11 
     12 struct nvkm_nvenc_fwif {
     13 	int version;
     14 	int (*load)(struct nvkm_nvenc *, int ver,
     15 		    const struct nvkm_nvenc_fwif *);
     16 	const struct nvkm_nvenc_func *func;
     17 };
     18 
     19 int nvkm_nvenc_new_(const struct nvkm_nvenc_fwif *, struct nvkm_device *,
     20 		    int, struct nvkm_nvenc **pnvenc);
     21 #endif
     22