summaryrefslogtreecommitdiff
path: root/linux-core/drmP.h
diff options
context:
space:
mode:
authorThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2007-02-06 15:56:43 +0100
committerThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2007-02-06 15:56:43 +0100
commit40ce53dfde11f84d7bf8db5db93fb73715b2e96e (patch)
tree0acd792653752cdc579c56cf8a22bf53a5d6d253 /linux-core/drmP.h
parent609e3b037526021d20c7cc18b7fed1152206dc68 (diff)
Implement a drm_mem_reg_t substructure in the buffer object type.
Diffstat (limited to 'linux-core/drmP.h')
-rw-r--r--linux-core/drmP.h8
1 files changed, 1 insertions, 7 deletions
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;