]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Introduce intel_connector_hpd_pin()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 21 Jan 2020 17:10:51 +0000 (19:10 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 4 Feb 2020 21:09:34 +0000 (23:09 +0200)
commit07eae6f0744f90ab084d3f702151626b488903c1
tree081bd54bf3274ebb36bd67c92ad7824c216488f1
parentbeaf358b33a98155da1c277124441b0a1db90f28
drm/i915: Introduce intel_connector_hpd_pin()

Simplify the hotplug code connector->encoder->hpd_pin handling
by introducing a helper for exactly this purpose.

In the helper we can neatly deal with the potential lack of an
attached encoder on fresh MST connectors leaving the rest of the
hpd code oblivious to such details.

Cc: Lyude Paul <lyude@redhat.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200121171100.4370-3-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/intel_hotplug.c