mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-23 02:04:02 +00:00
v2. fixup for ga103 early merge Signed-off-by: Ben Skeggs <bskeggs@redhat.com> Signed-off-by: Gourav Samaiya <gsamaiya@nvidia.com>
17 lines
523 B
C
17 lines
523 B
C
/* SPDX-License-Identifier: MIT */
|
|
#ifndef __NVKM_NVDEC_H__
|
|
#define __NVKM_NVDEC_H__
|
|
#define nvkm_nvdec(p) container_of((p), struct nvkm_nvdec, engine)
|
|
#include <core/engine.h>
|
|
#include <core/falcon.h>
|
|
|
|
struct nvkm_nvdec {
|
|
const struct nvkm_nvdec_func *func;
|
|
struct nvkm_engine engine;
|
|
struct nvkm_falcon falcon;
|
|
};
|
|
|
|
int gm107_nvdec_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_nvdec **);
|
|
int ga102_nvdec_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_nvdec **);
|
|
#endif
|