]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: move encoder->enable callback later in VLV crtc enable
authorJani Nikula <jani.nikula@intel.com>
Tue, 30 Jul 2013 09:20:32 +0000 (12:20 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 5 Aug 2013 17:04:04 +0000 (19:04 +0200)
commit6b90aa63bdf86f015aea1449e6e1c624413522a9
tree01c87b33fca567fb6f05ebcc11f5b34a4241fc58
parenta1ec443597bdcd9b469e2b6d4170d2c68dbad71d
drm/i915: move encoder->enable callback later in VLV crtc enable

VLV wants encoder enabling before the pipe is up. With the previously
rearranged VLV DP and HDMI ->pre_enable and ->enable callbacks in place,
this no longer depends on the early ->enable hook call. Move the
->enable call at the end of the sequence, similar to the crtc enable on
other platforms. This will be needed e.g. for moving the eDP backlight
enabling to the right place in the sequence, currently done too early on
VLV.

There should be no functional changes.

v2: Rebase.

v3: Explain why this is needed in the commit message (Chris).

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c