randr12: Undo a previous mistake for NV1x/NV2x.
[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         NvNullObject            = 0x00000000,
8         NvContextSurfaces       = 0x80000010, 
9         NvRop                   = 0x80000011, 
10         NvImagePattern          = 0x80000012, 
11         NvClipRectangle         = 0x80000013, 
12         NvSolidLine             = 0x80000014, 
13         NvImageBlit             = 0x80000015, 
14         NvRectangle             = 0x80000016, 
15         NvScaledImage           = 0x80000017, 
16         NvMemFormat             = 0x80000018,
17         Nv3D                    = 0x80000019,
18         NvImageFromCpu          = 0x8000001A,
19         NvContextBeta1          = 0x8000001B,
20         NvContextBeta4          = 0x8000001C,
21         Nv2D                    = 0x80000020,
22         NvDmaFB                 = 0xD8000001,
23         NvDmaTT                 = 0xD8000002,
24         NvDmaNotifier0          = 0xD8000003,
25
26         /*XVideo notifiers need to have consecutive handles, be careful when remapping*/
27         NvDmaXvNotifier0        = 0xE8000000,
28         NvDmaXvNotifier1        = 0xE8000001,
29         NvDmaXvNotifier2        = 0xE8000002,
30         NvDmaXvNotifier3        = 0xE8000003,
31         NvDmaXvNotifier4        = 0xE8000004,
32         NvDmaXvNotifier5        = 0xE8000005,
33 };
34
35 #endif /* NV_DMA_H */