|
@@ -2383,8 +2383,6 @@ static void amdgpu_dm_commit_surfaces(struct drm_atomic_state *state,
|
|
|
if (!con_state)
|
|
|
continue;
|
|
|
|
|
|
-
|
|
|
-
|
|
|
add_surface(dm->dc, crtc, plane,
|
|
|
&dc_surfaces_constructed[planes_count]);
|
|
|
if (dc_surfaces_constructed[planes_count] == NULL) {
|
|
@@ -2403,6 +2401,10 @@ static void amdgpu_dm_commit_surfaces(struct drm_atomic_state *state,
|
|
|
acrtc_attach->flip_flags & DRM_MODE_PAGE_FLIP_ASYNC ?
|
|
|
false : true;
|
|
|
|
|
|
+ /* TODO: Needs rework for multiplane flip */
|
|
|
+ if (plane->type == DRM_PLANE_TYPE_PRIMARY)
|
|
|
+ drm_crtc_vblank_get(crtc);
|
|
|
+
|
|
|
amdgpu_dm_do_flip(
|
|
|
crtc,
|
|
|
fb,
|