]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Also call frontbuffer flip when disabling planes.
authorRodrigo Vivi <rodrigo.vivi@intel.com>
Mon, 24 Aug 2015 23:38:23 +0000 (16:38 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 26 Aug 2015 06:46:41 +0000 (08:46 +0200)
commit7e72255215b30300e795dfcd672d8f2678fa3ced
tree383b028d79fc23bb5d9b2a27d010be2799e4caf4
parentf642d05cbe942697c861e4c575f0ba6c4da4e2e0
drm/i915: Also call frontbuffer flip when disabling planes.

We also need to call the frontbuffer flip to trigger proper
invalidations when disabling planes. Otherwise we will miss
screen updates when disabling sprites or cursor.

On core platforms where HW tracking also works, this issue
is totally masked because HW tracking triggers PSR exit
however on VLV/CHV that has only SW tracking we miss screen
updates when disabling planes.

It was caught with kms_psr_sink_crc sprite_plane_onoff
and cursor_plane_onoff subtests running on VLV/CHV.

This is probably a regression since I can also get this
with the manual test case, but with so many changes on atomic
modeset I couldn't track exactly when this was introduced.

Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c