drm/nouveau/pm: audit and version NVIF_PERFMON class and methods
authorBen Skeggs <bskeggs@redhat.com>
Sat, 9 Aug 2014 18:10:24 +0000 (04:10 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Sat, 9 Aug 2014 19:13:25 +0000 (05:13 +1000)
commit96af8222cef78ab4d92186d5e10880dc78395415
treeb90b8fe780d6e0530dfd98a798a08133ced8823c
parent4acfd707e28c820ba8ed8c12b497413a133d8c8f
drm/nouveau/pm: audit and version NVIF_PERFMON class and methods

The full object interfaces are about to be exposed to userspace, so we
need to check for any security-related issues and version the structs
to make it easier to handle any changes we may need in the future.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/core/engine/perfmon/base.c
drivers/gpu/drm/nouveau/core/include/core/class.h
drivers/gpu/drm/nouveau/nvif/class.h
drivers/gpu/drm/nouveau/nvif/ioctl.h