forked from Minki/linux
16307b5d72
gp10x' secure boot requires a blob to be run on NVDEC. Expose the falcon through a dummy device. Signed-off-by: Alexandre Courbot <acourbot@nvidia.com> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
13 lines
301 B
C
13 lines
301 B
C
#ifndef __NVKM_NVDEC_H__
|
|
#define __NVKM_NVDEC_H__
|
|
#define nvkm_nvdec(p) container_of((p), struct nvkm_nvdec, engine)
|
|
#include <core/engine.h>
|
|
|
|
struct nvkm_nvdec {
|
|
struct nvkm_engine engine;
|
|
struct nvkm_falcon *falcon;
|
|
};
|
|
|
|
int gp102_nvdec_new(struct nvkm_device *, int, struct nvkm_nvdec **);
|
|
#endif
|