drm/nouveau/subdev: add direct pointer to 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)
commitd351b8569e3c57bf5dc3dd5a1295974a9e04316e
tree37bee5277efff81600a6457c758da1bdae6fb23b
parent0d5dd3f301bbc66c41b219f50fa97a6df1965cfe
drm/nouveau/subdev: add direct pointer to nvkm_device

Will be utilised in upcoming commits to remove the need for heuristics
to lookup the device a subdev belongs to.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/dispnv04/tvnv17.c
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/subdev/gpio/base.c
drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gk104.c