diff options
author | Thomas Hellstrom <thomas-at-tungstengraphics-dot-com> | 2006-09-29 11:15:59 +0200 |
---|---|---|
committer | Thomas Hellstrom <thomas-at-tungstengraphics-dot-com> | 2006-09-29 11:15:59 +0200 |
commit | 3802f9adbf9a7e3d5c356f74b0c1ee966476fb97 (patch) | |
tree | ed1e072e48653d377037d900524b0ba73ce9eaa9 /linux-core/drmP.h | |
parent | b15bc8a0bad43c68dd1bbff27e7a7bd54e9e6938 (diff) |
Fix buffer manager takedown error.
Prepare for the possibility to evict all buffers from vram / agp.
This will be used by the X server when, for example, switching vts.
Diffstat (limited to 'linux-core/drmP.h')
-rw-r--r-- | linux-core/drmP.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/linux-core/drmP.h b/linux-core/drmP.h index 88f4c2cc..aecad251 100644 --- a/linux-core/drmP.h +++ b/linux-core/drmP.h @@ -800,9 +800,11 @@ typedef struct drm_buffer_manager{ int use_vram; int use_tt; drm_mm_t tt_manager; - struct list_head tt_lru; drm_mm_t vram_manager; + struct list_head tt_lru; struct list_head vram_lru; + struct list_head tt_pinned; + struct list_head vram_pinned; struct list_head unfenced; struct list_head ddestroy; struct list_head other; @@ -999,7 +1001,8 @@ typedef struct drm_buffer_object{ drm_mm_node_t *vram; drm_mm_node_t *tt; - struct list_head head; + struct list_head tt_lru; + struct list_head vram_lru; struct list_head ddestroy; uint32_t fence_type; |