From 40ce53dfde11f84d7bf8db5db93fb73715b2e96e Mon Sep 17 00:00:00 2001 From: Thomas Hellstrom Date: Tue, 6 Feb 2007 15:56:43 +0100 Subject: Implement a drm_mem_reg_t substructure in the buffer object type. --- linux-core/drmP.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'linux-core/drmP.h') diff --git a/linux-core/drmP.h b/linux-core/drmP.h index 5834c9dc..a8f5e3e2 100644 --- a/linux-core/drmP.h +++ b/linux-core/drmP.h @@ -1022,13 +1022,9 @@ typedef struct drm_buffer_object{ unsigned long buffer_start; drm_bo_type_t type; unsigned long offset; - uint32_t page_alignment; atomic_t mapped; - uint32_t flags; - uint32_t mask; - uint32_t mem_type; + drm_bo_mem_reg_t mem; - drm_mm_node_t *mm_node; struct list_head lru; struct list_head ddestroy; @@ -1042,11 +1038,9 @@ typedef struct drm_buffer_object{ /* For vm */ drm_map_list_t map_list; - drm_mm_node_t *node; uint32_t memory_type; drm_ttm_t *ttm; unsigned long bus_offset; - unsigned long num_pages; uint32_t vm_flags; void *iomap; -- cgit v1.2.3