|
@@ -970,6 +970,7 @@ extern int ttm_bo_move_ttm(struct ttm_buffer_object *bo,
|
|
*
|
|
*
|
|
* @bo: A pointer to a struct ttm_buffer_object.
|
|
* @bo: A pointer to a struct ttm_buffer_object.
|
|
* @evict: 1: This is an eviction. Don't try to pipeline.
|
|
* @evict: 1: This is an eviction. Don't try to pipeline.
|
|
|
|
+ * @interruptible: Sleep interruptible if waiting.
|
|
* @no_wait_gpu: Return immediately if the GPU is busy.
|
|
* @no_wait_gpu: Return immediately if the GPU is busy.
|
|
* @new_mem: struct ttm_mem_reg indicating where to move.
|
|
* @new_mem: struct ttm_mem_reg indicating where to move.
|
|
*
|
|
*
|
|
@@ -984,7 +985,8 @@ extern int ttm_bo_move_ttm(struct ttm_buffer_object *bo,
|
|
*/
|
|
*/
|
|
|
|
|
|
extern int ttm_bo_move_memcpy(struct ttm_buffer_object *bo,
|
|
extern int ttm_bo_move_memcpy(struct ttm_buffer_object *bo,
|
|
- bool evict, bool no_wait_gpu,
|
|
|
|
|
|
+ bool evict, bool interruptible,
|
|
|
|
+ bool no_wait_gpu,
|
|
struct ttm_mem_reg *new_mem);
|
|
struct ttm_mem_reg *new_mem);
|
|
|
|
|
|
/**
|
|
/**
|