drm/nouveau/subdev: store subdevs in list
authorBen Skeggs <bskeggs@redhat.com>
Tue, 1 Dec 2020 10:22:40 +0000 (20:22 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 11 Feb 2021 00:14:23 +0000 (10:14 +1000)
commit54d10db1f8ec608a95f36dbbd7ee2480fc780409
tree07aad0cd51509a365cdadf81b175a733aedabf78
parent149a23b026699e5284d9f613ae971e7cadace201
drm/nouveau/subdev: store subdevs in list

This is somewhat nicer to read.

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