summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2015-11-08 10:18:19 +1000
committerBen Skeggs <bskeggs@redhat.com>2016-01-11 11:15:09 +1000
commita2000d677f4b700d8cd9d469edf915af596b284d (patch)
tree639a2830c2eef97d96612dd8fe88f3c982493609 /bin
parentae710e2025947292942fc28fd6039cd77a54aba3 (diff)
downloadnouveau-a2000d677f4b700d8cd9d469edf915af596b284d.tar.gz
nvif: move internal class identifiers to class.h
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'bin')
-rw-r--r--bin/nv_perfmon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/nv_perfmon.c b/bin/nv_perfmon.c
index 05c41780a..ae041783b 100644
--- a/bin/nv_perfmon.c
+++ b/bin/nv_perfmon.c
@@ -404,7 +404,7 @@ ui_perfmon_init(void)
int ret;
ret = nvif_object_init(&device->object, 0xdeadbeef,
- NVIF_IOCTL_NEW_V0_PERFMON, NULL, 0, &perfmon);
+ NVIF_CLASS_PERFMON, NULL, 0, &perfmon);
assert(ret == 0);
/* query available domains for the device */
@@ -507,7 +507,7 @@ ui_main_select(void)
}
ret = nvif_object_init(&perfmon, perfdom->handle,
- NVIF_IOCTL_NEW_V0_PERFDOM,
+ NVIF_CLASS_PERFDOM,
&args, sizeof(args),
&perfdom->object);
assert(ret == 0);