diff options
Diffstat (limited to 'include/drm/ttm/ttm_bo_api.h')
-rw-r--r-- | include/drm/ttm/ttm_bo_api.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/drm/ttm/ttm_bo_api.h b/include/drm/ttm/ttm_bo_api.h index 5ff938df5fce..c6cae733ddef 100644 --- a/include/drm/ttm/ttm_bo_api.h +++ b/include/drm/ttm/ttm_bo_api.h | |||
@@ -424,8 +424,9 @@ extern void ttm_bo_unlock_delayed_workqueue(struct ttm_bo_device *bdev, | |||
424 | * @no_wait: Return immediately if buffer is busy. | 424 | * @no_wait: Return immediately if buffer is busy. |
425 | * | 425 | * |
426 | * Synchronizes a buffer object for CPU RW access. This means | 426 | * Synchronizes a buffer object for CPU RW access. This means |
427 | * blocking command submission that affects the buffer and | 427 | * command submission that affects the buffer will return -EBUSY |
428 | * waiting for buffer idle. This lock is recursive. | 428 | * until ttm_bo_synccpu_write_release is called. |
429 | * | ||
429 | * Returns | 430 | * Returns |
430 | * -EBUSY if the buffer is busy and no_wait is true. | 431 | * -EBUSY if the buffer is busy and no_wait is true. |
431 | * -ERESTARTSYS if interrupted by a signal. | 432 | * -ERESTARTSYS if interrupted by a signal. |