316,21 → 316,7 |
*/ |
extern int ttm_bo_wait(struct ttm_buffer_object *bo, bool lazy, |
bool interruptible, bool no_wait); |
|
/** |
* ttm_bo_mem_compat - Check if proposed placement is compatible with a bo |
* |
* @placement: Return immediately if buffer is busy. |
* @mem: The struct ttm_mem_reg indicating the region where the bo resides |
* @new_flags: Describes compatible placement found |
* |
* Returns true if the placement is compatible |
*/ |
extern bool ttm_bo_mem_compat(struct ttm_placement *placement, |
struct ttm_mem_reg *mem, |
uint32_t *new_flags); |
|
/** |
* ttm_bo_validate |
* |
* @bo: The buffer object. |
397,6 → 383,16 |
*/ |
extern int ttm_bo_del_from_lru(struct ttm_buffer_object *bo); |
|
/** |
* ttm_bo_move_to_lru_tail |
* |
* @bo: The buffer object. |
* |
* Move this BO to the tail of all lru lists used to lookup and reserve an |
* object. This function must be called with struct ttm_bo_global::lru_lock |
* held, and is used to make a BO less likely to be considered for eviction. |
*/ |
extern void ttm_bo_move_to_lru_tail(struct ttm_buffer_object *bo); |
|
/** |
* ttm_bo_lock_delayed_workqueue |