drm/amd/display: Fix styling of freesync code in commit_tail
authorLeo (Sunpeng) Li <sunpeng.li@amd.com>
Wed, 18 Oct 2017 18:31:08 +0000 (14:31 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 4 Dec 2017 21:41:33 +0000 (16:41 -0500)
For better readability.

Signed-off-by: Leo (Sunpeng) Li <sunpeng.li@amd.com>
Reviewed-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Reviewed-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c

index f4bebdc603519d530dad0398f2a3c2f78ab24738..d7dc6c24863045a12a4206e4742ea03bb1d17d5d 100644 (file)
@@ -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;
                        }