summaryrefslogtreecommitdiff
path: root/bin/nv_perfmon.c
Commit message (Collapse)AuthorAgeFilesLines
* pm: audit and version NVIF_PERFMON class and methodsBen Skeggs2014-08-101-25/+24
| | | | | | | | 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>
* device: audit and version NV_DEVICE classBen Skeggs2014-08-101-6/+6
| | | | | | | | 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>
* nvif: import library functions for the ioctl/event interfacesBen Skeggs2014-08-101-29/+39
| | | | | | | | | | | | This is a wrapper around the interfaces defined in an earlier commit, and is also used by various userspace (either by a libdrm backend, or libpciaccess) tools/tests. In the future this will be extended to handle channels, replacing some long-unloved code we currently use, and allow fifo/display/mpeg (hi Ilia ;)) engines to all be exposed in the same way. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* nv_perfmon: initial toolBen Skeggs2013-11-081-0/+696
Various fixes by Emil Velikov have been squashed into this commit. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>