Skip to content

Commit d8af327

Browse files
juhapekkavsyrjala
authored andcommitted
drm/i915: Fix ILK-IVB primary plane enable delays
Primary and sprite plane enable on ILK-IVB may take two frames to complete Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=103925 Signed-off-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/1545305168-6047-1-git-send-email-juhapekka.heikkila@gmail.com
1 parent 4a8ab5e commit d8af327

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

drivers/gpu/drm/i915/intel_display.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10851,8 +10851,11 @@ int intel_plane_atomic_calc_changes(const struct intel_crtc_state *old_crtc_stat
1085110851
* Despite the w/a only being listed for IVB we assume that
1085210852
* the ILK/SNB note has similar ramifications, hence we apply
1085310853
* the w/a on all three platforms.
10854+
*
10855+
* With experimental results seems this is needed also for primary
10856+
* plane, not only sprite plane.
1085410857
*/
10855-
if (plane->id == PLANE_SPRITE0 &&
10858+
if (plane->id != PLANE_CURSOR &&
1085610859
(IS_GEN_RANGE(dev_priv, 5, 6) ||
1085710860
IS_IVYBRIDGE(dev_priv)) &&
1085810861
(turn_on || (!needs_scaling(old_plane_state) &&

0 commit comments

Comments
 (0)