drm/i915/bios: use port info child pointer to determine HPD invert
authorJani Nikula <jani.nikula@intel.com>
Fri, 31 May 2019 13:14:54 +0000 (16:14 +0300)
committerJani Nikula <jani.nikula@intel.com>
Wed, 5 Jun 2019 12:02:58 +0000 (15:02 +0300)
commitc72deaa47f453fc698f7ac2bb87fd09ad96696de
tree4a84135615a870a612acae66ee50e231ae80e636
parentcc21f01137a48919c1c5a443b341380ed3ea799a
drm/i915/bios: use port info child pointer to determine HPD invert

Avoid iterating the child devices.

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/841c226efa424701161dd9f1793e0cf96b45a07c.1559308269.git.jani.nikula@intel.com
drivers/gpu/drm/i915/intel_bios.c
drivers/gpu/drm/i915/intel_bios.h