]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit2d847d45b2c988038194140fa3def4ac1342cb67
tree1b4b312478deec072e008adf6065cc03835f80b6
parent4373f0f24ed52549d4d6a0d7e155301476ec0a36
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 87d4300a7dbc19634018e147b4753f3c9bb5f471
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