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_uvd.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_uvd.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c index 80b5c453f8c1..e1e4810b9d9e 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c | |||
@@ -473,7 +473,7 @@ static int amdgpu_uvd_cs_pass1(struct amdgpu_uvd_cs_ctx *ctx) | |||
473 | if (cmd == 0x0 || cmd == 0x3) { | 473 | if (cmd == 0x0 || cmd == 0x3) { |
474 | /* yes, force it into VRAM */ | 474 | /* yes, force it into VRAM */ |
475 | uint32_t domain = AMDGPU_GEM_DOMAIN_VRAM; | 475 | uint32_t domain = AMDGPU_GEM_DOMAIN_VRAM; |
476 | amdgpu_ttm_placement_from_domain(bo, domain); | 476 | amdgpu_bo_placement_from_domain(bo, domain); |
477 | } | 477 | } |
478 | amdgpu_uvd_force_into_uvd_segment(bo); | 478 | amdgpu_uvd_force_into_uvd_segment(bo); |
479 | 479 | ||
@@ -1014,7 +1014,7 @@ static int amdgpu_uvd_send_msg(struct amdgpu_ring *ring, struct amdgpu_bo *bo, | |||
1014 | if (!ring->adev->uvd.address_64_bit) { | 1014 | if (!ring->adev->uvd.address_64_bit) { |
1015 | struct ttm_operation_ctx ctx = { true, false }; | 1015 | struct ttm_operation_ctx ctx = { true, false }; |
1016 | 1016 | ||
1017 | amdgpu_ttm_placement_from_domain(bo, AMDGPU_GEM_DOMAIN_VRAM); | 1017 | amdgpu_bo_placement_from_domain(bo, AMDGPU_GEM_DOMAIN_VRAM); |
1018 | amdgpu_uvd_force_into_uvd_segment(bo); | 1018 | amdgpu_uvd_force_into_uvd_segment(bo); |
1019 | r = ttm_bo_validate(&bo->tbo, &bo->placement, &ctx); | 1019 | r = ttm_bo_validate(&bo->tbo, &bo->placement, &ctx); |
1020 | if (r) | 1020 | if (r) |