aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom St Denis <tom.stdenis@amd.com>2016-03-02 12:07:02 -0500
committerAlex Deucher <alexander.deucher@amd.com>2016-03-08 11:01:53 -0500
commite484f8d47965d1fecac3c46977bf1fd3e688b432 (patch)
tree43443418c5e6caaa70320bed3055023f4328d524
parent041ab0a49482502bd138203fd1b4d529eab97fe4 (diff)
drm/amd/amdgpu: Fix indentation in dce_v11_0_crtc_do_set_base()
Signed-off-by: Tom St Denis <tom.stdenis@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r--drivers/gpu/drm/amd/amdgpu/dce_v11_0.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/dce_v11_0.c b/drivers/gpu/drm/amd/amdgpu/dce_v11_0.c
index 45c96c9b7ff1..e9ccc6b787f3 100644
--- a/drivers/gpu/drm/amd/amdgpu/dce_v11_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/dce_v11_0.c
@@ -2065,8 +2065,7 @@ static int dce_v11_0_crtc_do_set_base(struct drm_crtc *crtc,
2065 if (atomic) { 2065 if (atomic) {
2066 amdgpu_fb = to_amdgpu_framebuffer(fb); 2066 amdgpu_fb = to_amdgpu_framebuffer(fb);
2067 target_fb = fb; 2067 target_fb = fb;
2068 } 2068 } else {
2069 else {
2070 amdgpu_fb = to_amdgpu_framebuffer(crtc->primary->fb); 2069 amdgpu_fb = to_amdgpu_framebuffer(crtc->primary->fb);
2071 target_fb = crtc->primary->fb; 2070 target_fb = crtc->primary->fb;
2072 } 2071 }
@@ -2080,9 +2079,9 @@ static int dce_v11_0_crtc_do_set_base(struct drm_crtc *crtc,
2080 if (unlikely(r != 0)) 2079 if (unlikely(r != 0))
2081 return r; 2080 return r;
2082 2081
2083 if (atomic) 2082 if (atomic) {
2084 fb_location = amdgpu_bo_gpu_offset(rbo); 2083 fb_location = amdgpu_bo_gpu_offset(rbo);
2085 else { 2084 } else {
2086 r = amdgpu_bo_pin(rbo, AMDGPU_GEM_DOMAIN_VRAM, &fb_location); 2085 r = amdgpu_bo_pin(rbo, AMDGPU_GEM_DOMAIN_VRAM, &fb_location);
2087 if (unlikely(r != 0)) { 2086 if (unlikely(r != 0)) {
2088 amdgpu_bo_unreserve(rbo); 2087 amdgpu_bo_unreserve(rbo);