]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/ddi: fix intel_display_port_aux_power_domain() after HDMI detect
authorImre Deak <imre.deak@intel.com>
Wed, 18 Nov 2015 13:57:24 +0000 (15:57 +0200)
committerImre Deak <imre.deak@intel.com>
Wed, 18 Nov 2015 19:44:17 +0000 (21:44 +0200)
commit9f617f73c259da4b5f133f0c182ed5b8409b4b09
tree83fea43527adfbbe07d622397615ca0a6e40bf16
parente9556b923f99366abbda513bb295388d0b03e926
drm/i915/ddi: fix intel_display_port_aux_power_domain() after HDMI detect

Due to the current sharing of the DDI encoder between DP and HDMI
connectors we can run the DP detection after the HDMI detection has
already set the shared encoder's type. For now solve this keeping the
current behavior and running the detection in this case too. For a proper
solution Ville suggested to split the encoder into an HDMI and DP one, that
can be done as a follow-up.

This issue triggers the WARN in intel_display_port_aux_power_domain() and
was introduced in:
commit 75a6cb1009f077573b79190de93c59dfd3901c63
Author: Ville Syrjälä <ville.syrjala@linux.intel.com>
Date:   Mon Nov 16 15:01:04 2015 +0100

    drm/i915: Clean up AUX power domain handling

CC: Patrik Jakobsson <patrik.jakobsson@linux.intel.com>
CC: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Patrik Jakobsson <patrik.jakobsson@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1447855045-7109-1-git-send-email-imre.deak@intel.com
drivers/gpu/drm/i915/intel_display.c