]> git.karo-electronics.de Git - karo-tx-linux.git/blob - drivers/gpu/drm/nouveau/include/nvkm/subdev/top.h
5f75a66bfdbff92b5239d29505ac9647c614d3a6
[karo-tx-linux.git] / drivers / gpu / drm / nouveau / include / nvkm / subdev / top.h
1 #ifndef __NVKM_TOP_H__
2 #define __NVKM_TOP_H__
3 #include <core/subdev.h>
4
5 struct nvkm_top {
6         const struct nvkm_top_func *func;
7         struct nvkm_subdev subdev;
8         struct list_head device;
9 };
10
11 u32 nvkm_top_reset(struct nvkm_device *, enum nvkm_devidx);
12 u32 nvkm_top_intr(struct nvkm_device *, u32 intr, u64 *subdevs);
13 enum nvkm_devidx nvkm_top_fault(struct nvkm_device *, int fault);
14 enum nvkm_devidx nvkm_top_engine(struct nvkm_device *, int, int *runl, int *engn);
15
16 int gk104_top_new(struct nvkm_device *, int, struct nvkm_top **);
17 #endif