drm/ttm: Import Linux commit cc4c0c4de3c775be22072ec3251f2e581b63d9a0
Author: Maarten Lankhorst <maarten.lankhorst@canonical.com> Date: Tue Jan 15 14:57:28 2013 +0100 drm/ttm: unexport ttm_bo_wait_unreserved All legitimate users of this function outside ttm_bo.c are gone, now it's only an implementation detail. Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com> Reviewed-by: Jerome Glisse <jglisse@redhat.com> Approved by: kib@
This commit is contained in:
parent
fb61ac33be
commit
aacce5b681
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=254865
@ -131,7 +131,7 @@ static void ttm_bo_release_list(struct ttm_buffer_object *bo)
|
||||
ttm_mem_global_free(bdev->glob->mem_glob, acc_size);
|
||||
}
|
||||
|
||||
int
|
||||
static int
|
||||
ttm_bo_wait_unreserved_locked(struct ttm_buffer_object *bo, bool interruptible)
|
||||
{
|
||||
const char *wmsg;
|
||||
|
@ -899,18 +899,6 @@ extern void ttm_bo_unreserve(struct ttm_buffer_object *bo);
|
||||
*/
|
||||
extern void ttm_bo_unreserve_locked(struct ttm_buffer_object *bo);
|
||||
|
||||
/**
|
||||
* ttm_bo_wait_unreserved
|
||||
*
|
||||
* @bo: A pointer to a struct ttm_buffer_object.
|
||||
*
|
||||
* Wait for a struct ttm_buffer_object to become unreserved.
|
||||
* This is typically used in the execbuf code to relax cpu-usage when
|
||||
* a potential deadlock condition backoff.
|
||||
*/
|
||||
extern int ttm_bo_wait_unreserved_locked(struct ttm_buffer_object *bo,
|
||||
bool interruptible);
|
||||
|
||||
/*
|
||||
* ttm_bo_util.c
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user