summaryrefslogtreecommitdiff
path: root/shared-core/nouveau_drm.h
diff options
context:
space:
mode:
authorStephane Marchesin <marchesin@icps.u-strasbg.fr>2006-11-04 20:39:59 +0100
committerStephane Marchesin <marchesin@icps.u-strasbg.fr>2006-11-04 20:39:59 +0100
commit06639801ce1d515f790739a70b051498c8615288 (patch)
tree71861fc2a779bc21be818df7d36edd7288c2fd88 /shared-core/nouveau_drm.h
parent3ea0500be1ab7a058c90be35b5d8d2be26692f6a (diff)
Add some getparams.
Diffstat (limited to 'shared-core/nouveau_drm.h')
-rw-r--r--shared-core/nouveau_drm.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/shared-core/nouveau_drm.h b/shared-core/nouveau_drm.h
index 9e996de9..865dbe95 100644
--- a/shared-core/nouveau_drm.h
+++ b/shared-core/nouveau_drm.h
@@ -84,6 +84,10 @@ typedef struct drm_nouveau_mem_free {
}
drm_nouveau_mem_free_t;
+/* FIXME : maybe unify {GET,SET}PARAMs */
+#define NOUVEAU_GETPARAM_PCI_VENDOR 3
+#define NOUVEAU_GETPARAM_PCI_DEVICE 4
+#define NOUVEAU_GETPARAM_BUS_TYPE 5
typedef struct drm_nouveau_getparam {
unsigned int param;
unsigned int value;