diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2014-08-09 14:10:23 -0400 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2014-08-09 15:13:17 -0400 |
commit | a4e610b5e655186f81f18f027d2b7a15e010cbef (patch) | |
tree | b805e8cbfb32f7360039ae62f262a42ea1585f9c /include | |
parent | fdb751ef2bbc78314d1e01d3425cfacfb19b9f86 (diff) |
drm/nouveau: use ioctl interface for abi16 grobj alloc
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/uapi/drm/nouveau_drm.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/uapi/drm/nouveau_drm.h b/include/uapi/drm/nouveau_drm.h index 2a5769fdf8ba..ed0b7bd4b473 100644 --- a/include/uapi/drm/nouveau_drm.h +++ b/include/uapi/drm/nouveau_drm.h | |||
@@ -25,6 +25,14 @@ | |||
25 | #ifndef __NOUVEAU_DRM_H__ | 25 | #ifndef __NOUVEAU_DRM_H__ |
26 | #define __NOUVEAU_DRM_H__ | 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 | #define NOUVEAU_GEM_DOMAIN_CPU (1 << 0) | 36 | #define NOUVEAU_GEM_DOMAIN_CPU (1 << 0) |
29 | #define NOUVEAU_GEM_DOMAIN_VRAM (1 << 1) | 37 | #define NOUVEAU_GEM_DOMAIN_VRAM (1 << 1) |
30 | #define NOUVEAU_GEM_DOMAIN_GART (1 << 2) | 38 | #define NOUVEAU_GEM_DOMAIN_GART (1 << 2) |