Rev 6936 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6936 | Rev 7143 | ||
---|---|---|---|
Line 314... | Line 314... | ||
314 | * Returns -EBUSY if no_wait is true and the buffer is busy. |
314 | * Returns -EBUSY if no_wait is true and the buffer is busy. |
315 | * Returns -ERESTARTSYS if interrupted by a signal. |
315 | * Returns -ERESTARTSYS if interrupted by a signal. |
316 | */ |
316 | */ |
317 | extern int ttm_bo_wait(struct ttm_buffer_object *bo, bool lazy, |
317 | extern int ttm_bo_wait(struct ttm_buffer_object *bo, bool lazy, |
318 | bool interruptible, bool no_wait); |
318 | bool interruptible, bool no_wait); |
- | 319 | ||
- | 320 | /** |
|
- | 321 | * ttm_bo_mem_compat - Check if proposed placement is compatible with a bo |
|
- | 322 | * |
|
- | 323 | * @placement: Return immediately if buffer is busy. |
|
- | 324 | * @mem: The struct ttm_mem_reg indicating the region where the bo resides |
|
- | 325 | * @new_flags: Describes compatible placement found |
|
- | 326 | * |
|
- | 327 | * Returns true if the placement is compatible |
|
- | 328 | */ |
|
- | 329 | extern bool ttm_bo_mem_compat(struct ttm_placement *placement, |
|
- | 330 | struct ttm_mem_reg *mem, |
|
- | 331 | uint32_t *new_flags); |
|
- | 332 | ||
319 | /** |
333 | /** |
320 | * ttm_bo_validate |
334 | * ttm_bo_validate |
321 | * |
335 | * |
322 | * @bo: The buffer object. |
336 | * @bo: The buffer object. |
323 | * @placement: Proposed placement for the buffer object. |
337 | * @placement: Proposed placement for the buffer object. |