summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/nouveau/include/nvkm/engine/nvdec.h
blob: b72a4844c5f7b4ec9d24662d265d23d933dae534 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* SPDX-License-Identifier: GPL-2.0 */
#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;
	u32 addr;

	struct nvkm_falcon *falcon;
};

int gp102_nvdec_new(struct nvkm_device *, int, struct nvkm_nvdec **);
#endif