diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2016-05-30 10:32:55 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2016-07-14 11:53:25 +1000 |
commit | 952eb819e3234b9deceb3287398f0c2a272e4760 (patch) | |
tree | 8bd08041c35478f21407025cfc0e680db758d0bf /drivers/gpu/drm/nouveau/include/nvkm/subdev/top.h | |
parent | 5dd0775e502b26b44e5bcb5f504a977a565f2f3e (diff) | |
download | blackbird-op-linux-952eb819e3234b9deceb3287398f0c2a272e4760.tar.gz blackbird-op-linux-952eb819e3234b9deceb3287398f0c2a272e4760.zip |
drm/nouveau/top: take nvkm_device as argument to public functions
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/include/nvkm/subdev/top.h')
-rw-r--r-- | drivers/gpu/drm/nouveau/include/nvkm/subdev/top.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/gpu/drm/nouveau/include/nvkm/subdev/top.h b/drivers/gpu/drm/nouveau/include/nvkm/subdev/top.h index 8fb575a92c48..5f75a66bfdbf 100644 --- a/drivers/gpu/drm/nouveau/include/nvkm/subdev/top.h +++ b/drivers/gpu/drm/nouveau/include/nvkm/subdev/top.h @@ -8,10 +8,10 @@ struct nvkm_top { struct list_head device; }; -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); +u32 nvkm_top_reset(struct nvkm_device *, enum nvkm_devidx); +u32 nvkm_top_intr(struct nvkm_device *, u32 intr, u64 *subdevs); +enum nvkm_devidx nvkm_top_fault(struct nvkm_device *, int fault); +enum nvkm_devidx nvkm_top_engine(struct nvkm_device *, int, int *runl, int *engn); int gk104_top_new(struct nvkm_device *, int, struct nvkm_top **); #endif |