summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2005-11-29 09:19:20 +0000
committerDave Airlie <airlied@linux.ie>2005-11-29 09:19:20 +0000
commit645e2d411d4cb79db307351169413004d8b5a2ea (patch)
treecc77063b8ef38953965c185f3f6f3afe55203f6e
parentc6344e8df5a6f2010c691bcd8aed0241a3426585 (diff)
fixes from Egbert for 64bit
-rw-r--r--libdrm/xf86drm.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/libdrm/xf86drm.h b/libdrm/xf86drm.h
index 30496d0d..4be417a6 100644
--- a/libdrm/xf86drm.h
+++ b/libdrm/xf86drm.h
@@ -577,11 +577,11 @@ extern int drmAgpRelease(int fd);
extern int drmAgpEnable(int fd, unsigned long mode);
extern int drmAgpAlloc(int fd, unsigned long size,
unsigned long type, unsigned long *address,
- unsigned long *handle);
-extern int drmAgpFree(int fd, unsigned long handle);
-extern int drmAgpBind(int fd, unsigned long handle,
+ drm_handle_t *handle);
+extern int drmAgpFree(int fd, drm_handle_t handle);
+extern int drmAgpBind(int fd, drm_handle_t handle,
unsigned long offset);
-extern int drmAgpUnbind(int fd, unsigned long handle);
+extern int drmAgpUnbind(int fd, drm_handle_t handle);
/* AGP/GART info: authenticated client and/or X */
extern int drmAgpVersionMajor(int fd);
@@ -596,8 +596,8 @@ extern unsigned int drmAgpDeviceId(int fd);
/* PCI scatter/gather support: X server (root) only */
extern int drmScatterGatherAlloc(int fd, unsigned long size,
- unsigned long *handle);
-extern int drmScatterGatherFree(int fd, unsigned long handle);
+ drm_handle_t *handle);
+extern int drmScatterGatherFree(int fd, drm_handle_t handle);
extern int drmWaitVBlank(int fd, drmVBlankPtr vbl);