aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/include/nvkm/subdev/top.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2022-11-09 10:48:44 +1000
committerDave Airlie <airlied@redhat.com>2022-11-09 11:18:56 +1000
commita143bc517bf31c4575191efbaac216a11ec016e0 (patch)
treee88d120c60d148c165551d17493cc3abef651019 /drivers/gpu/drm/nouveau/include/nvkm/subdev/top.h
parent49e8e6343df688d68b12c2af50791ca37520f0b7 (diff)
parentc4bdac754ca0bb21bad598b47dd8c2c86eee1cc1 (diff)
downloadlinux-a143bc517bf31c4575191efbaac216a11ec016e0.tar.gz
Merge branch '00.06-gr-ampere' of https://gitlab.freedesktop.org/skeggsb/nouveau into drm-next
This is the pull request for a whole bunch of fixes and prep-work that was done to support Ampere acceleration prior to GSP-RM being available. It uses the ACR firmware released by NVIDIA in linux-firmware, as we do on earlier GPUs. The work to support running on top of GSP-RM also heavily depends on various pieces of this series. In addition to the new HW support, general stability of the driver should be improved, especially around recovering HW from bugs that can be generated by userspace driver components. Signed-off-by: Dave Airlie <airlied@redhat.com> From: Ben Skeggs <bskeggs@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/CABDvA==s+nZD0n7CuRWLPE=Pj+02CN13r+ZQJxoHQ_EmR+o=XQ@mail.gmail.com
Diffstat (limited to 'drivers/gpu/drm/nouveau/include/nvkm/subdev/top.h')
-rw-r--r--drivers/gpu/drm/nouveau/include/nvkm/subdev/top.h1
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 ee75c5524c43..73e717b980b8 100644
--- a/drivers/gpu/drm/nouveau/include/nvkm/subdev/top.h
+++ b/drivers/gpu/drm/nouveau/include/nvkm/subdev/top.h
@@ -21,6 +21,7 @@ struct nvkm_top_device {
struct list_head head;
};
+int nvkm_top_parse(struct nvkm_device *);
u32 nvkm_top_addr(struct nvkm_device *, enum nvkm_subdev_type, int);
u32 nvkm_top_reset(struct nvkm_device *, enum nvkm_subdev_type, int);
u32 nvkm_top_intr_mask(struct nvkm_device *, enum nvkm_subdev_type, int);