summaryrefslogtreecommitdiff
path: root/linux-core/drmP.h
diff options
context:
space:
mode:
authorThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2007-02-08 16:21:38 +0100
committerThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2007-02-08 16:21:38 +0100
commite4b2da440699f581a8779ea8cb9e99e4c903e6a7 (patch)
tree63058ea9439e2f880628a3fd44e5f586eda86ed6 /linux-core/drmP.h
parent1257907fa9a24de7aa95485e1b3ab509fdc4d4e6 (diff)
A minor function interface change and some memcpy bugfixing.
Hooray!! it sort of works with a fixed AGP area as faked VRAM.
Diffstat (limited to 'linux-core/drmP.h')
-rw-r--r--linux-core/drmP.h15
1 files changed, 6 insertions, 9 deletions
diff --git a/linux-core/drmP.h b/linux-core/drmP.h
index aff10b62..7b8f2c66 100644
--- a/linux-core/drmP.h
+++ b/linux-core/drmP.h
@@ -697,9 +697,8 @@ typedef struct drm_bo_driver{
int (*init_mem_type)(struct drm_device *dev, uint32_t type,
drm_mem_type_manager_t *man);
uint32_t (*evict_flags) (struct drm_device *dev, uint32_t type);
- int (*move)(struct drm_device *dev,
- struct drm_ttm *ttm, int evict, int no_wait,
- struct drm_bo_mem_reg *old_mem,
+ int (*move)(struct drm_buffer_object *bo,
+ int evict, int no_wait,
struct drm_bo_mem_reg *new_mem);
} drm_bo_driver_t;
@@ -1517,15 +1516,13 @@ extern int drm_fence_buffer_objects(drm_file_t * priv,
* drm_bo_move.c
*/
-extern int drm_bo_move_ttm(drm_device_t *dev,
- drm_ttm_t *ttm, int evict,
+extern int drm_bo_move_ttm(drm_buffer_object_t *bo,
+ int evict,
int no_wait,
- drm_bo_mem_reg_t *old_mem,
drm_bo_mem_reg_t *new_mem);
-extern int drm_bo_move_memcpy(drm_device_t *dev,
- drm_ttm_t *ttm, int evict,
+extern int drm_bo_move_memcpy(drm_buffer_object_t *bo,
+ int evict,
int no_wait,
- drm_bo_mem_reg_t *old_mem,
drm_bo_mem_reg_t *new_mem);
extern void drm_core_ioremap(struct drm_map *map, struct drm_device *dev);
extern void drm_core_ioremapfree(struct drm_map *map, struct drm_device *dev);