From: Leo (Sunpeng) Li Date: Wed, 18 Oct 2017 18:31:08 +0000 (-0400) Subject: drm/amd/display: Fix styling of freesync code in commit_tail X-Git-Tag: v4.19~1610^2~33^2~235 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8b8f27f972a842a9b8562040c768400fce57ae64;p=platform%2Fkernel%2Flinux-rpi3.git drm/amd/display: Fix styling of freesync code in commit_tail For better readability. Signed-off-by: Leo (Sunpeng) Li Reviewed-by: Bhawanpreet Lakha Acked-by: Harry Wentland Reviewed-by: Andrey Grodzovsky Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c index f4bebdc..d7dc6c2 100644 --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c @@ -4132,7 +4132,8 @@ static void amdgpu_dm_atomic_commit_tail(struct drm_atomic_state *state) * are removed from freesync module */ if (adev->dm.freesync_module) { - for_each_oldnew_crtc_in_state(state, crtc, old_crtc_state, new_crtc_state, i) { + for_each_oldnew_crtc_in_state(state, crtc, old_crtc_state, + new_crtc_state, i) { struct amdgpu_dm_connector *aconnector = NULL; struct dm_connector_state *dm_new_con_state = NULL; struct amdgpu_crtc *acrtc = NULL; @@ -4160,9 +4161,11 @@ static void amdgpu_dm_atomic_commit_tail(struct drm_atomic_state *state) amdgpu_dm_find_first_crtc_matching_connector( state, crtc); if (!aconnector) { - DRM_DEBUG_DRIVER("Atomic commit: Failed to find connector for acrtc id:%d " - "skipping freesync init\n", - acrtc->crtc_id); + DRM_DEBUG_DRIVER("Atomic commit: Failed to " + "find connector for acrtc " + "id:%d skipping freesync " + "init\n", + acrtc->crtc_id); continue; }