drm/nouveau/pmu: add msgqueue member
authorAlexandre Courbot <acourbot@nvidia.com>
Thu, 19 Jan 2017 04:16:40 +0000 (13:16 +0900)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 7 Mar 2017 07:05:12 +0000 (17:05 +1000)
commit9ce480fead6cf57640a2bde8024578e61acb77a3
tree1ef9ff9358723b97b9802a5ebc6cf1a2f31dff1e
parent42847d8a1f8fa38f11ab54b4a186fdb8b7b26a1d
drm/nouveau/pmu: add msgqueue member

NVIDIA-provided PMU firmware is controlled by a msgqueue. Add a member
to the PMU structure as well as the required cleanup code if this
feature is used.

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