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
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)