Rev 4568 | Rev 5270 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4568 | Rev 5056 | ||
---|---|---|---|
Line 37... | Line 37... | ||
37 | #include |
37 | #include |
38 | #include |
38 | #include |
39 | #include |
39 | #include |
40 | #include |
40 | #include |
41 | #include |
41 | #include |
- | 42 | #include |
|
Line 42... | Line 43... | ||
42 | 43 | ||
Line 43... | Line 44... | ||
43 | struct ttm_bo_device; |
44 | struct ttm_bo_device; |
Line 44... | Line -... | ||
44 | - | ||
45 | struct drm_mm_node; |
- | |
46 | - | ||
47 | struct reservation_object { |
- | |
Line 48... | Line 45... | ||
48 | struct mutex lock; |
45 | |
49 | }; |
46 | struct drm_mm_node; |
50 | 47 | ||
51 | 48 | ||
Line 486... | Line 483... | ||
486 | size_t acc_size, |
483 | size_t acc_size, |
487 | struct sg_table *sg, |
484 | struct sg_table *sg, |
488 | void (*destroy) (struct ttm_buffer_object *)); |
485 | void (*destroy) (struct ttm_buffer_object *)); |
Line 489... | Line 486... | ||
489 | 486 | ||
490 | /** |
487 | /** |
491 | * ttm_bo_synccpu_object_init |
488 | * ttm_bo_create |
492 | * |
489 | * |
493 | * @bdev: Pointer to a ttm_bo_device struct. |
- | |
494 | * @bo: Pointer to a ttm_buffer_object to be initialized. |
490 | * @bdev: Pointer to a ttm_bo_device struct. |
495 | * @size: Requested size of buffer object. |
491 | * @size: Requested size of buffer object. |
496 | * @type: Requested type of buffer object. |
492 | * @type: Requested type of buffer object. |
497 | * @flags: Initial placement flags. |
493 | * @placement: Initial placement. |
498 | * @page_alignment: Data alignment in pages. |
494 | * @page_alignment: Data alignment in pages. |
499 | * @interruptible: If needing to sleep while waiting for GPU resources, |
495 | * @interruptible: If needing to sleep while waiting for GPU resources, |
500 | * sleep interruptible. |
496 | * sleep interruptible. |
501 | * @persistent_swap_storage: Usually the swap storage is deleted for buffers |
497 | * @persistent_swap_storage: Usually the swap storage is deleted for buffers |