drm/nouveau/core: fix subdev/engine/device lookup to not require engine pointer
authorBen Skeggs <bskeggs@redhat.com>
Fri, 5 Dec 2014 01:26:23 +0000 (11:26 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 22 Jan 2015 02:14:48 +0000 (12:14 +1000)
commit490d595f321d16f34040836c494d7875eb8f66a4
tree73b1ed8cf6daf2b7813d385b6726a3ddbf36abec
parenta38f37a7e06b7ea1bca966805e7a0d03191731f4
drm/nouveau/core: fix subdev/engine/device lookup to not require engine pointer

It's about to not be valid for objects that aren't in the client
object tree.

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