]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Favor last VBT child device with conflicting AUX ch/DDC pin
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 11 Oct 2019 20:20:30 +0000 (23:20 +0300)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Wed, 16 Oct 2019 17:56:50 +0000 (10:56 -0700)
commitb35129c02775facc67c4d32fb0c0923e81e9e137
tree9546d2f90efebf5c78dfbb17ff87fdf702d94da7
parente159dc2d08633bcd06ef8c0a99e7429cb1163094
drm/i915: Favor last VBT child device with conflicting AUX ch/DDC pin

The first come first served apporoach to handling the VBT
child device AUX ch conflicts has backfired. We have machines
in the wild where the VBT specifies both port A eDP and
port E DP (in that order) with port E being the real one.

So let's try to flip the preference around and let the last
child device win once again.

Cc: stable@vger.kernel.org
Cc: Jani Nikula <jani.nikula@intel.com>
Tested-by: Masami Ichikawa <masami256@gmail.com>
Tested-by: Torsten <freedesktop201910@liggy.de>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=111966
Fixes: 1ce57150efe8 ("drm/i915/bios: make child device order the priority order")
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191011202030.8829-1-ville.syrjala@linux.intel.com
Acked-by: Jani Nikula <jani.nikula@intel.com>
(cherry picked from commit 41e35ffb380bde1379e4030bb5b2ac824d5139cf)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/i915/display/intel_bios.c