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:
Jean-Sébastien Pédron 2013-08-25 14:53:39 +00:00
parent fb61ac33be
commit aacce5b681
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=254865
2 changed files with 1 additions and 13 deletions

View File

@ -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;

View File

@ -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
*/