diff options
author | Christian König <christian.koenig@amd.com> | 2016-09-15 09:06:50 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-09-28 16:16:20 -0400 |
commit | 765e7fbf081d0e8bd22b35468a1c016358b46179 (patch) | |
tree | 47bf14c467cfec99984a0bd4283bf42b06df4063 /drivers/gpu/drm/amd/amdgpu/dce_virtual.c | |
parent | 1927ffc0c19d7d42f775604f6984933bbb0d419b (diff) |
drm/amdgpu: rename all rbo variable to abo v2
Just to cleanup some radeon leftovers.
sed -i "s/rbo/abo/g" drivers/gpu/drm/amd/amdgpu/*.c
sed -i "s/rbo/abo/g" drivers/gpu/drm/amd/amdgpu/*.h
v2: rebased
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/dce_virtual.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/dce_virtual.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/dce_virtual.c b/drivers/gpu/drm/amd/amdgpu/dce_virtual.c index 2d02acd55829..23ff9f206fb4 100644 --- a/drivers/gpu/drm/amd/amdgpu/dce_virtual.c +++ b/drivers/gpu/drm/amd/amdgpu/dce_virtual.c | |||
@@ -229,16 +229,16 @@ static void dce_virtual_crtc_disable(struct drm_crtc *crtc) | |||
229 | if (crtc->primary->fb) { | 229 | if (crtc->primary->fb) { |
230 | int r; | 230 | int r; |
231 | struct amdgpu_framebuffer *amdgpu_fb; | 231 | struct amdgpu_framebuffer *amdgpu_fb; |
232 | struct amdgpu_bo *rbo; | 232 | struct amdgpu_bo *abo; |
233 | 233 | ||
234 | amdgpu_fb = to_amdgpu_framebuffer(crtc->primary->fb); | 234 | amdgpu_fb = to_amdgpu_framebuffer(crtc->primary->fb); |
235 | rbo = gem_to_amdgpu_bo(amdgpu_fb->obj); | 235 | abo = gem_to_amdgpu_bo(amdgpu_fb->obj); |
236 | r = amdgpu_bo_reserve(rbo, false); | 236 | r = amdgpu_bo_reserve(abo, false); |
237 | if (unlikely(r)) | 237 | if (unlikely(r)) |
238 | DRM_ERROR("failed to reserve rbo before unpin\n"); | 238 | DRM_ERROR("failed to reserve abo before unpin\n"); |
239 | else { | 239 | else { |
240 | amdgpu_bo_unpin(rbo); | 240 | amdgpu_bo_unpin(abo); |
241 | amdgpu_bo_unreserve(rbo); | 241 | amdgpu_bo_unreserve(abo); |
242 | } | 242 | } |
243 | } | 243 | } |
244 | 244 | ||