drm/i915/bios: use port info child pointer to determine LSPCON presence
authorJani Nikula <jani.nikula@intel.com>
Fri, 31 May 2019 13:14:55 +0000 (16:14 +0300)
committerJani Nikula <jani.nikula@intel.com>
Wed, 5 Jun 2019 12:03:01 +0000 (15:03 +0300)
commita7475e5dae8e69e7b28bee5d98fb808bc6d426a2
treea8250f6da7ed87da01b80c49546e8b699673ed97
parentc72deaa47f453fc698f7ac2bb87fd09ad96696de
drm/i915/bios: use port info child pointer to determine LSPCON presence

Avoid iterating the child devices. This should be a non-functional
change, but theoretically this might enable LSPCON on some extra ports
with buggy VBTs.

Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/4bbaff16abb3461ccb67abf1537f68bb50823390.1559308269.git.jani.nikula@intel.com
drivers/gpu/drm/i915/intel_bios.c
drivers/gpu/drm/i915/intel_bios.h