Skip to content

Commit d9d8e6b

Browse files
Sonika Jindaldanvet
authored andcommitted
drm/i915/skl: Correcting the flushing of pipe
We were incorreectly bypassing the flush everytime which led to fifo underrun when more than one plane is enabled. Signed-off-by: Sonika Jindal <sonika.jindal@intel.com> Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Reviewed-by: Satheeshakrishna M<satheeshakrishna.m@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
1 parent 27401d1 commit d9d8e6b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

drivers/gpu/drm/i915/intel_pm.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3004,9 +3004,8 @@ static void skl_flush_wm_values(struct drm_i915_private *dev_priv,
30043004
skl_ddb_entry_size(&cur_ddb->pipe[pipe])) {
30053005
skl_wm_flush_pipe(dev_priv, pipe, 2);
30063006
intel_wait_for_vblank(dev, pipe);
3007+
reallocated[pipe] = true;
30073008
}
3008-
3009-
reallocated[pipe] = true;
30103009
}
30113010

30123011
/*

0 commit comments

Comments
 (0)