drm/i915: Populate dig_port->connected() before connector init
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 2 Mar 2023 16:10:07 +0000 (18:10 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 7 Mar 2023 17:08:13 +0000 (19:08 +0200)
commita98ffd6e333583c9c3f57920c505a37eaf5b2586
treea23f7eb6f39b31e054ac96b5e8cc795d2af6419d
parent0eaca1ed0d2f70e3e573ef103ddbde582b2b3745
drm/i915: Populate dig_port->connected() before connector init

We'll need dig_port->connected() to be there for a HPD live
state check during eDP connector probing. Reorder intel_ddi_init()
accordingly. g4x_dp_init() is already fine.

v2: Fix comment style while at it

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