drm/nouveau/device: add direct pointers to subdevs from nvkm_device
authorBen Skeggs <bskeggs@redhat.com>
Thu, 20 Aug 2015 04:54:05 +0000 (14:54 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 28 Aug 2015 02:40:06 +0000 (12:40 +1000)
commit741d778ea0dde26a345717f1843407760f02fe03
tree284e76d56659e8b8b476e8004294f4e3630996fb
parentd351b8569e3c57bf5dc3dd5a1295974a9e04316e
drm/nouveau/device: add direct pointers to subdevs from nvkm_device

Will be used in upcoming commits to remove the need for lookup/runtime
type-checking functions when accessing foreign subdevs.

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