aboutsummaryrefslogtreecommitdiff
path: root/linux-core/via_buffer.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2007-07-16 13:37:02 +1000
committerDave Airlie <airlied@linux.ie>2007-07-16 13:37:02 +1000
commitbe85ad0333b0c28129c2e4635f92780816308aa6 (patch)
tree7c4452ec57e2e297a2f1be8f7ba605c5f02f9b45 /linux-core/via_buffer.c
parent6dce9e07352e14d2e03d26b8a64a40e111ecab2b (diff)
drm: detypedef ttm/bo/fence code
Diffstat (limited to 'linux-core/via_buffer.c')
-rw-r--r--linux-core/via_buffer.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/linux-core/via_buffer.c b/linux-core/via_buffer.c
index e452611d..0461b3c7 100644
--- a/linux-core/via_buffer.c
+++ b/linux-core/via_buffer.c
@@ -32,12 +32,12 @@
#include "via_drm.h"
#include "via_drv.h"
-drm_ttm_backend_t *via_create_ttm_backend_entry(struct drm_device * dev)
+struct drm_ttm_backend *via_create_ttm_backend_entry(struct drm_device * dev)
{
return drm_agp_init_ttm(dev);
}
-int via_fence_types(drm_buffer_object_t *bo, uint32_t * type)
+int via_fence_types(struct drm_buffer_object *bo, uint32_t * type)
{
*type = 3;
return 0;
@@ -82,7 +82,7 @@ static int via_vram_info(struct drm_device *dev,
}
int via_init_mem_type(struct drm_device * dev, uint32_t type,
- drm_mem_type_manager_t * man)
+ struct drm_mem_type_manager * man)
{
switch (type) {
case DRM_BO_MEM_LOCAL:
@@ -143,7 +143,7 @@ int via_init_mem_type(struct drm_device * dev, uint32_t type,
return 0;
}
-uint32_t via_evict_mask(drm_buffer_object_t *bo)
+uint32_t via_evict_mask(struct drm_buffer_object *bo)
{
switch (bo->mem.mem_type) {
case DRM_BO_MEM_LOCAL: