diff options
author | Dave Airlie <airlied@redhat.com> | 2020-09-23 13:04:45 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2020-09-24 06:41:23 +1000 |
commit | 313bbdee84542437672824edbf03ba43ea07de04 (patch) | |
tree | 8fee7e7721741a7f7b25c0d6bf14a5d54d70f89f /drivers/gpu/drm/radeon/radeon_object.c | |
parent | drm/doc: Document that modifiers are always required for fb (diff) | |
download | linux-dev-313bbdee84542437672824edbf03ba43ea07de04.tar.xz linux-dev-313bbdee84542437672824edbf03ba43ea07de04.zip |
drm/radeon: kill radeon_bo_wait
this is unused
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200923030454.362731-2-airlied@gmail.com
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_object.c')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_object.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_object.c b/drivers/gpu/drm/radeon/radeon_object.c index 316e35d3f8a9..76dfed30d61c 100644 --- a/drivers/gpu/drm/radeon/radeon_object.c +++ b/drivers/gpu/drm/radeon/radeon_object.c @@ -844,21 +844,6 @@ int radeon_bo_fault_reserve_notify(struct ttm_buffer_object *bo) return 0; } -int radeon_bo_wait(struct radeon_bo *bo, u32 *mem_type, bool no_wait) -{ - int r; - - r = ttm_bo_reserve(&bo->tbo, true, no_wait, NULL); - if (unlikely(r != 0)) - return r; - if (mem_type) - *mem_type = bo->tbo.mem.mem_type; - - r = ttm_bo_wait(&bo->tbo, true, no_wait); - ttm_bo_unreserve(&bo->tbo); - return r; -} - /** * radeon_bo_fence - add fence to buffer object * |