.. | .. |
---|
1 | | -/* SPDX-License-Identifier: GPL-2.0 */ |
---|
| 1 | +/* SPDX-License-Identifier: MIT */ |
---|
2 | 2 | #ifndef __NVKM_NVDEC_PRIV_H__ |
---|
3 | 3 | #define __NVKM_NVDEC_PRIV_H__ |
---|
4 | 4 | #include <engine/nvdec.h> |
---|
5 | 5 | |
---|
6 | | -int nvkm_nvdec_new_(struct nvkm_device *, int, struct nvkm_nvdec **); |
---|
| 6 | +struct nvkm_nvdec_func { |
---|
| 7 | + const struct nvkm_falcon_func *flcn; |
---|
| 8 | +}; |
---|
| 9 | + |
---|
| 10 | +struct nvkm_nvdec_fwif { |
---|
| 11 | + int version; |
---|
| 12 | + int (*load)(struct nvkm_nvdec *, int ver, |
---|
| 13 | + const struct nvkm_nvdec_fwif *); |
---|
| 14 | + const struct nvkm_nvdec_func *func; |
---|
| 15 | +}; |
---|
| 16 | + |
---|
| 17 | +int nvkm_nvdec_new_(const struct nvkm_nvdec_fwif *fwif, |
---|
| 18 | + struct nvkm_device *, int, struct nvkm_nvdec **); |
---|
7 | 19 | #endif |
---|