aboutsummaryrefslogtreecommitdiff
path: root/shared-core/nouveau_drm.h
diff options
context:
space:
mode:
authorStephane Marchesin <marchesin@icps.u-strasbg.fr>2006-11-04 16:56:10 +0100
committerStephane Marchesin <marchesin@icps.u-strasbg.fr>2006-11-04 16:56:10 +0100
commit3ea0500be1ab7a058c90be35b5d8d2be26692f6a (patch)
treedf7a504bc2dbd78a3e58e95cb0a1c24c839cd811 /shared-core/nouveau_drm.h
parentb5cf0d635c81d2c99510ce5e3f67f4aa593cd6d7 (diff)
Move the context object creation flag handling to the drm.
Diffstat (limited to 'shared-core/nouveau_drm.h')
-rw-r--r--shared-core/nouveau_drm.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/shared-core/nouveau_drm.h b/shared-core/nouveau_drm.h
index ed87f5c4..9e996de9 100644
--- a/shared-core/nouveau_drm.h
+++ b/shared-core/nouveau_drm.h
@@ -37,10 +37,15 @@ typedef struct drm_nouveau_fifo_alloc {
}
drm_nouveau_fifo_alloc_t;
+#define NV_DMA_CONTEXT_FLAGS_PATCH_ROP_AND 0x1
+#define NV_DMA_CONTEXT_FLAGS_PATCH_SRCCOPY 0x2
+#define NV_DMA_CONTEXT_FLAGS_CLIP_ENABLE 0x4
+#define NV_DMA_CONTEXT_FLAGS_MONO 0x8
+
typedef struct drm_nouveau_object_init {
uint32_t handle;
int class;
- uint32_t flags0, flags1, flags2;
+ uint32_t flags;
/* these are object handles */
uint32_t dma0;
uint32_t dma1;