summaryrefslogtreecommitdiff
path: root/shared-core/nouveau_drm.h
diff options
context:
space:
mode:
authorBen Skeggs <darktama@iinet.net.au>2006-08-30 16:55:02 +1000
committerBen Skeggs <darktama@iinet.net.au>2006-08-30 16:55:02 +1000
commit24dddc27549f2b8cf837305ee84dd1ca97df98e7 (patch)
tree217068e76b95b3d71306d9b8b0c18858348b5094 /shared-core/nouveau_drm.h
parent3cfab681b3c82c7951f1cc337d2021a6f0d08b1e (diff)
Add stub {get,set}param ioctls.
Diffstat (limited to 'shared-core/nouveau_drm.h')
-rw-r--r--shared-core/nouveau_drm.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/shared-core/nouveau_drm.h b/shared-core/nouveau_drm.h
index eab8ca29..76fb3a17 100644
--- a/shared-core/nouveau_drm.h
+++ b/shared-core/nouveau_drm.h
@@ -79,6 +79,18 @@ typedef struct drm_nouveau_mem_free {
}
drm_nouveau_mem_free_t;
+typedef struct drm_nouveau_getparam {
+ unsigned int param;
+ unsigned int value;
+}
+drm_nouveau_getparam_t;
+
+typedef struct drm_nouveau_setparam {
+ unsigned int param;
+ unsigned int value;
+}
+drm_nouveau_setparam_t;
+
enum nouveau_card_type {
NV_UNKNOWN =0,
NV_01 =1,
@@ -114,6 +126,8 @@ drm_nouveau_sarea_t;
#define DRM_NOUVEAU_DMA_OBJECT_INIT 0x03 // We don't want this eventually..
#define DRM_NOUVEAU_MEM_ALLOC 0x04
#define DRM_NOUVEAU_MEM_FREE 0x05
+#define DRM_NOUVEAU_GETPARAM 0x06
+#define DRM_NOUVEAU_SETPARAM 0x07
#endif /* __NOUVEAU_DRM_H__ */