History

drm/nouveau: use ioctl interface for abi16 grobj alloc

Ben Skeggs committed 12 years ago

Commit a4e610b1 parent fdb751e3 files · +54 −34Browse files

Showing the changes to include/uapi (1 of 3 files). Show all

Unified · Split

include/uapi/drm/nouveau_drm.h+8−0
@@ -25,6 +25,14 @@ · 24 unmodified lines
2525 #ifndef __NOUVEAU_DRM_H__
2626 #define __NOUVEAU_DRM_H__
2727
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+
2836 #define NOUVEAU_GEM_DOMAIN_CPU (1 << 0)
2937 #define NOUVEAU_GEM_DOMAIN_VRAM (1 << 1)
3038 #define NOUVEAU_GEM_DOMAIN_GART (1 << 2)