diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2020-12-07 08:54:34 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2021-02-11 11:49:53 +1000 |
commit | 3b9e93f7d73ccc5af9d7e21b1378c4b91bcdc0ab (patch) | |
tree | 8009e0e823c6c8ff9fd510f3d118ebc9057948b1 /drivers/gpu/drm/nouveau/nvkm/subdev/top | |
parent | 5e0d3dbc62a93bfc7e72ff0b3dca8e9374aacba3 (diff) | |
download | linux-3b9e93f7d73ccc5af9d7e21b1378c4b91bcdc0ab.tar.gz |
drm/nouveau/top: expose parsed device info more directly
This is easier to deal with in some situations than the existing accessor
functions.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Reviewed-by: Lyude Paul <lyude@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nvkm/subdev/top')
-rw-r--r-- | drivers/gpu/drm/nouveau/nvkm/subdev/top/priv.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/drivers/gpu/drm/nouveau/nvkm/subdev/top/priv.h b/drivers/gpu/drm/nouveau/nvkm/subdev/top/priv.h index 85c9f1411012..37187691bfb4 100644 --- a/drivers/gpu/drm/nouveau/nvkm/subdev/top/priv.h +++ b/drivers/gpu/drm/nouveau/nvkm/subdev/top/priv.h @@ -11,18 +11,5 @@ struct nvkm_top_func { int nvkm_top_new_(const struct nvkm_top_func *, struct nvkm_device *, int, struct nvkm_top **); -struct nvkm_top_device { - enum nvkm_subdev_type type; - int inst; - enum nvkm_devidx index; - u32 addr; - int fault; - int engine; - int runlist; - int reset; - int intr; - struct list_head head; -}; - struct nvkm_top_device *nvkm_top_device_new(struct nvkm_top *); #endif |