]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Call encoder->post_disable() in intel_sanitize_encoder()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 27 Jun 2014 23:04:01 +0000 (02:04 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 11 Jul 2014 16:13:36 +0000 (18:13 +0200)
commitb657fb363d22cdd029be30b4aa6fd5a2643acd9c
treeab0a59b10a4d05191e622c2eb0acd236864a7f75
parent28bb64355a9a008da17d7dd3e55f6930d736fba6
drm/i915: Call encoder->post_disable() in intel_sanitize_encoder()

VLV and CHV disable the DP port only in the .post_disable() hook, so we
need to make intel_sanitize_encoder() call that when it's trying to
disable encoders without an active pipes.

My bsw actaully hits this when an external display is connected. The
BIOS still likes to turn on the eDP port, but leaves the pipe disabled.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Rafael Barbalho <rafael.barbalho@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c