drm/i915/hdmi: convert *_port_to_ddc_pin() to *_encoder_to_ddc_pin()
authorJani Nikula <jani.nikula@intel.com>
Wed, 20 Mar 2024 15:47:58 +0000 (17:47 +0200)
committerJani Nikula <jani.nikula@intel.com>
Thu, 21 Mar 2024 12:09:58 +0000 (14:09 +0200)
commit65ea19a698f28603594970c866b818eeb4f2be17
treea01f92108ef1ce4f7d603b005fc6580fac82bb1e
parent4c8d5562a07179f944b28b57c10e133f25dae7cf
drm/i915/hdmi: convert *_port_to_ddc_pin() to *_encoder_to_ddc_pin()

Pass encoder to the _port_to_ddc_pin() functions, and rename to
_encoder_to_ddc_pin(). The encoder will be more helpful than just port
in the subsequent changes.

Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/c94debf36816157de1105a186b061fd90dab574a.1710949619.git.jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/intel_hdmi.c