diff options
author | Christian König <christian.koenig@amd.com> | 2018-07-16 10:12:24 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-07-25 16:06:06 -0400 |
commit | c704ab18e0a26a5dc7e947af6e8e01585380518b (patch) | |
tree | 25d5c7d9ada1f3ad47ff949fd8dc57d7a9f21cfc /drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c | |
parent | 6beccb15c447356c40972da825e0c1ed803cfb10 (diff) |
drm/amdgpu: consistenly name amdgpu_bo_ functions
Just rename functions, no functional change.
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c index 3ed02f472003..1c5d97f4b4dd 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c | |||
@@ -323,7 +323,7 @@ static int amdgpu_gem_begin_cpu_access(struct dma_buf *dma_buf, | |||
323 | return ret; | 323 | return ret; |
324 | 324 | ||
325 | if (!bo->pin_count && (bo->allowed_domains & AMDGPU_GEM_DOMAIN_GTT)) { | 325 | if (!bo->pin_count && (bo->allowed_domains & AMDGPU_GEM_DOMAIN_GTT)) { |
326 | amdgpu_ttm_placement_from_domain(bo, AMDGPU_GEM_DOMAIN_GTT); | 326 | amdgpu_bo_placement_from_domain(bo, AMDGPU_GEM_DOMAIN_GTT); |
327 | ret = ttm_bo_validate(&bo->tbo, &bo->placement, &ctx); | 327 | ret = ttm_bo_validate(&bo->tbo, &bo->placement, &ctx); |
328 | } | 328 | } |
329 | 329 | ||