172,6 → 172,7 |
* @offset: The current GPU offset, which can have different meanings |
* depending on the memory type. For SYSTEM type memory, it should be 0. |
* @cur_placement: Hint of current placement. |
* @wu_mutex: Wait unreserved mutex. |
* |
* Base class for TTM buffer object, that deals with data placement and CPU |
* mappings. GPU mappings are really up to the driver, but for simpler GPUs |
253,6 → 254,7 |
|
struct reservation_object *resv; |
struct reservation_object ttm_resv; |
struct mutex wu_mutex; |
}; |
|
/** |
705,5 → 707,5 |
size_t count, loff_t *f_pos, bool write); |
|
extern void ttm_bo_swapout_all(struct ttm_bo_device *bdev); |
|
extern int ttm_bo_wait_unreserved(struct ttm_buffer_object *bo); |
#endif |