diff options
author | Thomas Hellstrom <thomas-at-tungstengraphics-dot-com> | 2007-01-29 13:11:55 +0100 |
---|---|---|
committer | Thomas Hellstrom <thomas-at-tungstengraphics-dot-com> | 2007-01-29 13:37:02 +0100 |
commit | 1e4c7d69f5b55f5299e5b0c220e4af1dfb21f69d (patch) | |
tree | 79dad3e007a0472707c203e40ee0a1e8c6663dd3 /linux-core/drmP.h | |
parent | ee4ac5c897faa499ad24c148b4f065bc770b529d (diff) |
Some cleanup. A buffer object should only have one active memory type.
Diffstat (limited to 'linux-core/drmP.h')
-rw-r--r-- | linux-core/drmP.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/linux-core/drmP.h b/linux-core/drmP.h index ff3fc67f..9c748e6e 100644 --- a/linux-core/drmP.h +++ b/linux-core/drmP.h @@ -999,11 +999,10 @@ typedef struct drm_buffer_object{ atomic_t mapped; uint32_t flags; uint32_t mask; + uint32_t mem_type; - drm_mm_node_t *node_ttm; /* MM node for on-card RAM */ - drm_mm_node_t *node_card; /* MM node for ttm*/ - struct list_head lru_ttm; /* LRU for the ttm pages*/ - struct list_head lru_card; /* For memory types with on-card RAM */ + drm_mm_node_t *mm_node; /* MM node for on-card RAM */ + struct list_head lru; struct list_head ddestroy; uint32_t fence_type; |