Rev 4103 | Rev 4568 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4103 | Rev 4110 | ||
---|---|---|---|
Line 30... | Line 30... | ||
30 | 30 | ||
31 | #ifndef _TTM_BO_API_H_ |
31 | #ifndef _TTM_BO_API_H_ |
Line 32... | Line 32... | ||
32 | #define _TTM_BO_API_H_ |
32 | #define _TTM_BO_API_H_ |
- | 33 | ||
33 | 34 | #include |
|
34 | #include |
35 | #include |
35 | #include |
36 | #include |
36 | #include |
37 | #include |
37 | #include |
38 | #include |
38 | #include |
- | |
39 | #include |
39 | #include |
Line 40... | Line 40... | ||
40 | #include |
40 | #include |
Line 41... | Line 41... | ||
41 | #include |
41 | #include |
Line 193... | Line 193... | ||
193 | struct ttm_bo_global *glob; |
193 | struct ttm_bo_global *glob; |
194 | struct ttm_bo_device *bdev; |
194 | struct ttm_bo_device *bdev; |
195 | enum ttm_bo_type type; |
195 | enum ttm_bo_type type; |
196 | void (*destroy) (struct ttm_buffer_object *); |
196 | void (*destroy) (struct ttm_buffer_object *); |
197 | unsigned long num_pages; |
197 | unsigned long num_pages; |
198 | uint64_t addr_space_offset; |
- | |
199 | size_t acc_size; |
198 | size_t acc_size; |
Line 200... | Line 199... | ||
200 | 199 | ||
201 | /** |
200 | /** |
202 | * Members not needing protection. |
201 | * Members not needing protection. |
Line 237... | Line 236... | ||
237 | */ |
236 | */ |
Line 238... | Line 237... | ||
238 | 237 | ||
239 | void *sync_obj; |
238 | void *sync_obj; |
Line 240... | Line -... | ||
240 | unsigned long priv_flags; |
- | |
241 | - | ||
242 | /** |
- | |
243 | * Members protected by the bdev::vm_lock |
- | |
244 | */ |
- | |
245 | 239 | unsigned long priv_flags; |
|
246 | // struct rb_node vm_rb; |
- | |
Line 247... | Line 240... | ||
247 | struct drm_mm_node *vm_node; |
240 | |
248 | 241 | struct drm_vma_offset_node vma_node; |
|
249 | 242 | ||
250 | /** |
243 | /** |