aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@hobbes.virtuousgeek.org>2007-04-17 09:57:08 -0700
committerJesse Barnes <jbarnes@hobbes.virtuousgeek.org>2007-04-17 09:57:08 -0700
commit5e6c34539694c58cd7e9dd60541fc6e2bde1a79d (patch)
tree799f46f33bd105014da7bebcc36c93aba3299f10
parent2aa183db1ff0fb6044d24eae51854ff128da9a0f (diff)
Add prototypes for drm_bo_init_mm and drm_buffer_object_create for use by
in-kernel code.
-rw-r--r--linux-core/drm_objects.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/linux-core/drm_objects.h b/linux-core/drm_objects.h
index b3155af1..cbc0e610 100644
--- a/linux-core/drm_objects.h
+++ b/linux-core/drm_objects.h
@@ -423,7 +423,13 @@ typedef struct drm_bo_driver {
/*
* buffer objects (drm_bo.c)
*/
-
+extern int drm_bo_init_mm(struct drm_device * dev, unsigned type,
+ unsigned long p_offset, unsigned long p_size);
+extern int drm_buffer_object_create(struct drm_device *dev, unsigned long size,
+ drm_bo_type_t type, uint32_t mask,
+ uint32_t hint, uint32_t page_alignment,
+ unsigned long buffer_start,
+ drm_buffer_object_t ** buf_obj);
extern int drm_bo_ioctl(DRM_IOCTL_ARGS);
extern int drm_mm_init_ioctl(DRM_IOCTL_ARGS);
extern int drm_bo_driver_finish(struct drm_device *dev);