drm/nouveau/pm: prevent creating a perfctr object when signals are not found
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Sun, 7 Jun 2015 20:40:16 +0000 (22:40 +0200)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 28 Aug 2015 02:39:58 +0000 (12:39 +1000)
commit44d9de58ea5633e4f2d062e718016383b28b4eed
tree71929d2d1f33eb8c7f496acee0b3be482b5fdd9a
parent5a0bc4b5aeba3bb32eb7da6a98108e93bbd64f7e
drm/nouveau/pm: prevent creating a perfctr object when signals are not found

Since a new class has been introduced to query signals, we can now
return an error when the userspace wants to monitor unknown signals.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c