drm/nouveau/top: store device type and instance separately
authorBen Skeggs <bskeggs@redhat.com>
Sun, 6 Dec 2020 22:52:41 +0000 (08:52 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 11 Feb 2021 01:49:53 +0000 (11:49 +1000)
commit5e0d3dbc62a93bfc7e72ff0b3dca8e9374aacba3
tree7175d2462a84fd55de1f5555050966fec4c36e99
parent0afc1c4caa001e71615fbc6a53f05119ea502fc8
drm/nouveau/top: store device type and instance separately

MC/FIFO will need this info as they're switched over.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Reviewed-by: Lyude Paul <lyude@redhat.com>
drivers/gpu/drm/nouveau/nvkm/subdev/top/base.c
drivers/gpu/drm/nouveau/nvkm/subdev/top/gk104.c
drivers/gpu/drm/nouveau/nvkm/subdev/top/priv.h