]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Return the frontbuffer flip to enable intel_crtc_enable_planes.
authorRodrigo Vivi <rodrigo.vivi@intel.com>
Thu, 28 May 2015 17:21:16 +0000 (10:21 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 29 May 2015 08:18:07 +0000 (10:18 +0200)
commit48d7645c03580688be80f5414d05dd56170e0df0
tree1b4b312478deec072e008adf6065cc03835f80b6
parent83bbacaf19780d7b57d38355efc59886ee742bbf
drm/i915: Return the frontbuffer flip to enable intel_crtc_enable_planes.

Without this frontbuffer flip when enabling planes PSR got compromised
and wasn't being enabled waiting forever on the flush that never
arrived.

Another solution would to create a enable_cursor function and split this
frontbuffer flip among the different plane enable and disable functions.
But if necessary this can be done in a follow up work. For now let's
just fix the regression.

It was removed by:

commit b03c12c6ea6866e166a79d2b07cc2fa171ce3f88
Author: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Date:   Tue Apr 21 17:12:54 2015 +0300

    drm/i915: Move intel_(pre_disable/post_enable)_primary to intel_display.c, and use it there.

Cc: Maarten Lankhorst <maarten.lankhorst@linux.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