diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2016-04-08 10:24:40 +0300 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2016-05-20 07:43:04 +0300 |
commit | fb3e9c61caef12e537d6d8cd79b6c8d3de238d79 (patch) | |
tree | 627fa31fb94f46c772a55b66557bba06839a16cf /drivers/gpu/drm/nouveau/include | |
parent | 5f76f294d1ffb2955370b439226ea072c378a3f7 (diff) | |
download | linux-fb3e9c61caef12e537d6d8cd79b6c8d3de238d79.tar.xz |
drm/nouveau/top/gk104: initial implementation
Ported from the code currently in engine/fifo/gk104.c.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/include')
-rw-r--r-- | drivers/gpu/drm/nouveau/include/nvkm/subdev/top.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/include/nvkm/subdev/top.h b/drivers/gpu/drm/nouveau/include/nvkm/subdev/top.h index 5839ac748c54..8fb575a92c48 100644 --- a/drivers/gpu/drm/nouveau/include/nvkm/subdev/top.h +++ b/drivers/gpu/drm/nouveau/include/nvkm/subdev/top.h @@ -12,4 +12,6 @@ u32 nvkm_top_reset(struct nvkm_top *, enum nvkm_devidx); u32 nvkm_top_intr(struct nvkm_top *, u32 intr, u64 *subdevs); enum nvkm_devidx nvkm_top_fault(struct nvkm_top *, int fault); enum nvkm_devidx nvkm_top_engine(struct nvkm_top *, int, int *runl, int *engn); + +int gk104_top_new(struct nvkm_device *, int, struct nvkm_top **); #endif |