summaryrefslogtreecommitdiff
path: root/bin/nv_wffunc.h
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2014-08-10 04:10:24 +1000
committerBen Skeggs <bskeggs@redhat.com>2014-08-10 04:43:31 +1000
commit0d59b365576847ea6d89b8dbc7dd9c51aca9a593 (patch)
treedfbc216a647818e270f09b7e4eb2647811aa2031 /bin/nv_wffunc.h
parentb444ec0997bfdda01be65f26e831c1724a6dd9f4 (diff)
downloadnouveau-0d59b365576847ea6d89b8dbc7dd9c51aca9a593.tar.gz
device: audit and version NV_DEVICE class
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>
Diffstat (limited to 'bin/nv_wffunc.h')
-rw-r--r--bin/nv_wffunc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/nv_wffunc.h b/bin/nv_wffunc.h
index 6aaf13176..fde5bc027 100644
--- a/bin/nv_wffunc.h
+++ b/bin/nv_wffunc.h
@@ -35,5 +35,5 @@ nv_wfb(struct nvif_device *device, u64 offset, CAST data)
}
#define WRITE(o,v) nv_wfb(device, (o), (v))
-#define ENABLE (NV_DEVICE_DISABLE_MMIO | NV_DEVICE_DISABLE_IDENTIFY)
+#define ENABLE (NV_DEVICE_V0_DISABLE_MMIO | NV_DEVICE_V0_DISABLE_IDENTIFY)
#include "nv_wrfunc.h"