Showing the changes to include/uapi (1 of 3 files). Show all
Unified · Split
| @@ -25,6 +25,14 @@ · 24 unmodified lines | ||
| 25 | 25 | #ifndef __NOUVEAU_DRM_H__ |
| 26 | 26 | #define __NOUVEAU_DRM_H__ |
| 27 | 27 | |
| 28 | +/* reserved object handles when using deprecated object APIs - these | |
| 29 | + * are here so that libdrm can allow interoperability with the new | |
| 30 | + * object APIs | |
| 31 | + */ | |
| 32 | +#define NOUVEAU_ABI16_CLIENT 0xffffffff | |
| 33 | +#define NOUVEAU_ABI16_DEVICE 0xdddddddd | |
| 34 | +#define NOUVEAU_ABI16_CHAN(n) (0xcccc0000 | (n)) | |
| 35 | + | |
| 28 | 36 | #define NOUVEAU_GEM_DOMAIN_CPU (1 << 0) |
| 29 | 37 | #define NOUVEAU_GEM_DOMAIN_VRAM (1 << 1) |
| 30 | 38 | #define NOUVEAU_GEM_DOMAIN_GART (1 << 2) |