drm/nouveau/imem: allow nvkm_instobj to be directly embedded in backend object
authorBen Skeggs <bskeggs@redhat.com>
Tue, 31 Oct 2017 17:56:19 +0000 (03:56 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 2 Nov 2017 03:32:18 +0000 (13:32 +1000)
commit49814f62a26bd5b8f2ad5a16ccb1340ede30ee1a
treebb6cb52a79e562c67dfb78e264efeb5538243f5c
parent07bbc1c5f49b64323d9e5c1e0d5d7d201e1f2627
drm/nouveau/imem: allow nvkm_instobj to be directly embedded in backend object

This will eliminate a step through the call chain, and give backends
more flexibility.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/base.c
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/priv.h