summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2014-01-09 12:14:26 +1000
committerBen Skeggs <bskeggs@redhat.com>2014-01-23 13:10:51 +1000
commit9ef573f652dba1f34ea900f4b6007ad71d21e4fb (patch)
tree57a2bd016c03a6cac02c847d2b6fd031cdbde8f7 /bin
parentd4ba22fea9d653cc44fe9a18995e6ae4086040a9 (diff)
downloadnouveau-9ef573f652dba1f34ea900f4b6007ad71d21e4fb.tar.gz
bin: fix pramin access tools
Diffstat (limited to 'bin')
-rw-r--r--bin/nv_rifunc.h1
-rw-r--r--bin/nv_wifunc.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/bin/nv_rifunc.h b/bin/nv_rifunc.h
index 096e16f2d..82fa77ba7 100644
--- a/bin/nv_rifunc.h
+++ b/bin/nv_rifunc.h
@@ -44,4 +44,5 @@ nv_rfb(struct nouveau_object *device, u64 offset)
}
#define READ(o) nv_rfb(device, (o))
+#define ENABLE (NV_DEVICE_DISABLE_MMIO | NV_DEVICE_DISABLE_IDENTIFY)
#include "nv_rdfunc.h"
diff --git a/bin/nv_wifunc.h b/bin/nv_wifunc.h
index 8e4abb1fc..fa47d69ce 100644
--- a/bin/nv_wifunc.h
+++ b/bin/nv_wifunc.h
@@ -44,4 +44,5 @@ nv_wfb(struct nouveau_object *device, u64 offset, CAST data)
}
#define WRITE(o,v) nv_wfb(device, (o), (v))
+#define ENABLE (NV_DEVICE_DISABLE_MMIO | NV_DEVICE_DISABLE_IDENTIFY)
#include "nv_wrfunc.h"