drm/i915: Move hpd_pin setup to encoder init
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 30 Jun 2020 21:55:58 +0000 (00:55 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 15 Sep 2020 14:49:01 +0000 (17:49 +0300)
commit03c7e4f1190e1dc338c7a8f104d2ba1dd233f2d3
treeea0edfd45ad0decad437dfd81e17968b09e5c32d
parent815f4ef21f4ae9fdd182400560ac6025f420a21e
drm/i915: Move hpd_pin setup to encoder init

Currently DP/HDMI/DDI encoders init their hpd_pin from the
connector init. Let's move it to the encoder init so that
we don't need to add platform specific junk to the connector
init (which is shared by all g4x+ platforms).

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200630215601.28557-10-ville.syrjala@linux.intel.com
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
drivers/gpu/drm/i915/display/intel_ddi.c
drivers/gpu/drm/i915/display/intel_dp.c
drivers/gpu/drm/i915/display/intel_hdmi.c