summaryrefslogtreecommitdiff
path: root/nvif
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2014-08-10 04:10:21 +1000
committerBen Skeggs <bskeggs@redhat.com>2014-08-10 04:43:28 +1000
commite70e14e424062a7dda7e8b87833652c3b5b33f68 (patch)
tree8e864790f8df75821edd829c7bd719eda8fb4428 /nvif
parentcc6062fe78164e347e6a37e4115666f329221808 (diff)
downloadnouveau-e70e14e424062a7dda7e8b87833652c3b5b33f68.tar.gz
client: add method to retrieve device list
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'nvif')
-rw-r--r--nvif/class.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/nvif/class.h b/nvif/class.h
index 36ecc3e6a..3013656bd 100644
--- a/nvif/class.h
+++ b/nvif/class.h
@@ -10,6 +10,20 @@
/*******************************************************************************
+ * client
+ ******************************************************************************/
+
+#define NV_CLIENT_DEVLIST 0x00
+
+struct nv_client_devlist_v0 {
+ __u8 version;
+ __u8 count;
+ __u8 pad02[6];
+ __u64 device[];
+};
+
+
+/*******************************************************************************
* device
******************************************************************************/