]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit55b3f70a65a639163dfd62dcf3e52175ed86c066
treefb5a4b9acc342545eae7589602f6b43741dd9c89
parent5751e0920210bf248406f7e15e03d24f3b67190b
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