summaryrefslogtreecommitdiff
path: root/nvkm/include/core/printk.h
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2014-08-10 04:10:20 +1000
committerBen Skeggs <bskeggs@redhat.com>2014-08-10 04:43:27 +1000
commit8b25193ea0a484dd96821a581e6fbd8121d1106d (patch)
tree30267584a64348f15bf2d87a616cb1a0bcf79456 /nvkm/include/core/printk.h
parent04b07655a85d7768e652b47db91d465560df0cfd (diff)
downloadnouveau-8b25193ea0a484dd96821a581e6fbd8121d1106d.tar.gz
core: import ioctl/event interfaces
This forms the basis for the new APIs that will be exposed to userspace, giving it access to: - Object method calls, the immediately useful of which is performance counters and the abiity to manipulate the ZBC tables. - Information on the child classes an object supports, in order to avoid having to try all supported classes until successful. - Notifications, which will be used in the future to inform the client if its channel was killed due to a lockup, etc. This commit imports the interfaces, but are not currently used. The DRM portion of the driver will be ported to speak to the core using these interfaces as much as possible. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'nvkm/include/core/printk.h')
-rw-r--r--nvkm/include/core/printk.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/nvkm/include/core/printk.h b/nvkm/include/core/printk.h
index 0f9a37bd3..451b6ed20 100644
--- a/nvkm/include/core/printk.h
+++ b/nvkm/include/core/printk.h
@@ -21,6 +21,7 @@ nv_printk_(struct nouveau_object *, int, const char *, ...);
#define nv_debug(o,f,a...) nv_printk((o), DEBUG, f, ##a)
#define nv_trace(o,f,a...) nv_printk((o), TRACE, f, ##a)
#define nv_spam(o,f,a...) nv_printk((o), SPAM, f, ##a)
+#define nv_ioctl(o,f,a...) nv_trace(nouveau_client(o), "ioctl: "f, ##a)
#define nv_assert(f,a...) do { \
if (NV_DBG_FATAL <= CONFIG_NOUVEAU_DEBUG) \