Initial DRI2 support.
[nouveau] / src / nv_dma.h
1 #ifndef NV_DMA_H
2 #define NV_DMA_H
3
4 #define NVDEBUG if (NV_DMA_DEBUG) ErrorF
5
6 enum DMAObjects {
7         NvContextSurfaces       = 0x80000010, 
8         NvRop                   = 0x80000011, 
9         NvImagePattern          = 0x80000012, 
10         NvClipRectangle         = 0x80000013, 
11         NvSolidLine             = 0x80000014, 
12         NvImageBlit             = 0x80000015, 
13         NvRectangle             = 0x80000016, 
14         NvScaledImage           = 0x80000017, 
15         NvMemFormat             = 0x80000018,
16         Nv3D                    = 0x80000019,
17         NvImageFromCpu          = 0x8000001A,
18         NvContextBeta1          = 0x8000001B,
19         NvContextBeta4          = 0x8000001C,
20         Nv2D                    = 0x80000020,
21         NvDmaFB                 = 0xD8000001,
22         NvDmaTT                 = 0xD8000002,
23         NvDmaNotifier0          = 0xD8000003,
24
25         /*XVideo notifiers need to have consecutive handles, be careful when remapping*/
26         NvDmaXvNotifier0        = 0xE8000000,
27         NvDmaXvNotifier1        = 0xE8000001,
28         NvDmaXvNotifier2        = 0xE8000002,
29         NvDmaXvNotifier3        = 0xE8000003,
30         NvDmaXvNotifier4        = 0xE8000004,
31         NvDmaXvNotifier5        = 0xE8000005,
32 };
33
34 #endif /* NV_DMA_H */