drm/nouveau/pm: reorganize the nvif interface
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Sun, 7 Jun 2015 20:40:15 +0000 (22:40 +0200)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 28 Aug 2015 02:39:57 +0000 (12:39 +1000)
commit5a0bc4b5aeba3bb32eb7da6a98108e93bbd64f7e
treea8e052076c104f9d004fc09a7ffe123ea05eaca2
parenta78ce96f96d76311fd165207a6ffb64b0ebd85cc
drm/nouveau/pm: reorganize the nvif interface

This commit introduces the NVIF_IOCTL_NEW_V0_PERFMON class which will be
used in order to query domains, signals and sources. This separates the
querying and the counting interface.

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