diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2016-05-30 10:36:02 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2016-07-14 11:53:25 +1000 |
commit | 3560e1703f4f7605da203561bad0e231706b93bd (patch) | |
tree | 5a218d1bde275cce1c4715f3a226e1955fc4b8e0 /drivers/gpu/drm/nouveau/include/nvkm | |
parent | 952eb819e3234b9deceb3287398f0c2a272e4760 (diff) | |
download | talos-op-linux-3560e1703f4f7605da203561bad0e231706b93bd.tar.gz talos-op-linux-3560e1703f4f7605da203561bad0e231706b93bd.zip |
drm/nouveau/top: add function to lookup interrupt mask for a given device
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/include/nvkm')
-rw-r--r-- | drivers/gpu/drm/nouveau/include/nvkm/subdev/top.h | 1 |
1 files changed, 1 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 5f75a66bfdbf..71ebbfd4484f 100644 --- a/drivers/gpu/drm/nouveau/include/nvkm/subdev/top.h +++ b/drivers/gpu/drm/nouveau/include/nvkm/subdev/top.h @@ -10,6 +10,7 @@ struct nvkm_top { u32 nvkm_top_reset(struct nvkm_device *, enum nvkm_devidx); u32 nvkm_top_intr(struct nvkm_device *, u32 intr, u64 *subdevs); +u32 nvkm_top_intr_mask(struct nvkm_device *, enum nvkm_devidx); 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); |