History

drm/nouveau: remove unnecessary usage of object handles

No longer required in a lot of cases, as objects are identified over NVIF via an alternate mechanism since the rework.

Ben Skeggs committed 11 years ago

Commit fcf3f911 parent a0a49ba10 files · +31 −61Browse files

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

Unified · Split

include/uapi/drm/nouveau_drm.h+0−8
@@ -27,14 +27,6 @@ · 26 unmodified lines
27 27
28#define DRM_NOUVEAU_EVENT_NVIF 0x8000000028#define DRM_NOUVEAU_EVENT_NVIF 0x80000000
29 29
30/* reserved object handles when using deprecated object APIs - these
31 * are here so that libdrm can allow interoperability with the new
32 * object APIs
33 */
34#define NOUVEAU_ABI16_CLIENT 0xffffffff
35#define NOUVEAU_ABI16_DEVICE 0xdddddddd
36#define NOUVEAU_ABI16_CHAN(n) (0xcccc0000 | (n))
37
38#define NOUVEAU_GEM_DOMAIN_CPU (1 << 0)30#define NOUVEAU_GEM_DOMAIN_CPU (1 << 0)
39#define NOUVEAU_GEM_DOMAIN_VRAM (1 << 1)31#define NOUVEAU_GEM_DOMAIN_VRAM (1 << 1)
40#define NOUVEAU_GEM_DOMAIN_GART (1 << 2)32#define NOUVEAU_GEM_DOMAIN_GART (1 << 2)