diff options
author | Thomas Hellstrom <thomas-at-tungstengraphics-dot-com> | 2007-02-02 19:49:11 +0100 |
---|---|---|
committer | Thomas Hellstrom <thomas-at-tungstengraphics-dot-com> | 2007-02-02 19:49:11 +0100 |
commit | 63f2abd721c40f1cddae555c79b4ab4c55aae006 (patch) | |
tree | bb898c1ae63c044fc506463b7bb078466829a732 /linux-core/drmP.h | |
parent | c269d560e4d71448cfc9c2ea51eee3d5feafaad4 (diff) |
Make also later kernels work with buffer object vm
and clean up some function names.
Diffstat (limited to 'linux-core/drmP.h')
-rw-r--r-- | linux-core/drmP.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/linux-core/drmP.h b/linux-core/drmP.h index 84a06470..dd07a603 100644 --- a/linux-core/drmP.h +++ b/linux-core/drmP.h @@ -1044,6 +1044,13 @@ typedef struct drm_buffer_object{ unsigned long num_pages; uint32_t vm_flags; void *iomap; + + +#ifdef DRM_ODD_MM_COMPAT + /* dev->struct_mutex only protected. */ + struct list_head vma_list; + struct list_head p_mm_list; +#endif } drm_buffer_object_t; |