drm/nouveau/pmu: instanciate the falcon in PMU device
authorAlexandre Courbot <acourbot@nvidia.com>
Tue, 13 Dec 2016 08:11:20 +0000 (17:11 +0900)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 17 Feb 2017 05:14:30 +0000 (15:14 +1000)
commit1e2115d8c0c0da62405400316f5499d909e479bc
tree9beead7405c52250cc0855d7c79dda4109228be3
parente72da6e04f739253b175cd87aab47337c4646a66
drm/nouveau/pmu: instanciate the falcon in PMU device

Have an instance of nvkm_falcon in the PMU structure, ready to be used
by other subdevs (i.e. secboot).

Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/include/nvkm/subdev/pmu.h
drivers/gpu/drm/nouveau/nvkm/subdev/pmu/base.c