drm/amd/display: Fix Linux after optimize frontend programming
authorHarry Wentland <harry.wentland@amd.com>
Wed, 8 Nov 2017 21:51:03 +0000 (16:51 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 6 Dec 2017 17:47:46 +0000 (12:47 -0500)
We still require the update_plane_addr call in commit_planes_for_stream.

Signed-off-by: Harry Wentland <harry.wentland@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc.c

index f9c5ed6..f8cbc4f 100644 (file)
@@ -1314,11 +1314,8 @@ static void commit_planes_for_stream(struct dc *dc,
                        if (pipe_ctx->plane_state != plane_state)
                                continue;
 
-                       if (update_type == UPDATE_TYPE_FAST) {
-                               if (srf_updates[i].flip_addr)
-                                       dc->hwss.update_plane_addr(dc, pipe_ctx);
-                               continue;
-                       }
+                       if (srf_updates[i].flip_addr)
+                               dc->hwss.update_plane_addr(dc, pipe_ctx);
                }
        }