drm/i915/bios: debug log ddi port info after parsing
authorJani Nikula <jani.nikula@intel.com>
Tue, 21 Jun 2022 12:37:32 +0000 (15:37 +0300)
committerJani Nikula <jani.nikula@intel.com>
Thu, 30 Jun 2022 10:08:09 +0000 (13:08 +0300)
commite61f294c7e8da94bb1c9d66f2cdcebfa2dc535a2
treefb5a4b9acc342545eae7589602f6b43741dd9c89
parentcea9ed611e85d36a05db52b6457bf584b7d969e2
drm/i915/bios: debug log ddi port info after parsing

The ddc pin and aux channel sanitization may disable DVI/HDMI and DP,
respectively, of ports parsed earlier, in "last one wins" fashion. With
parsing and printing interleaved, we'll end up logging support first and
disabling later anyway.

Now that we've split ddi port info parsing and printing, take it further
by doing the printing in a separate loop, fixing the logging.

Note that this also changes the logging order from VBT child device
order to port number order.

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