]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/i915/display: Add link rate and lane count to i915_display_info
authorKhaled Almahallawy <khaled.almahallawy@intel.com>
Wed, 9 Apr 2025 23:02:14 +0000 (16:02 -0700)
committerJani Nikula <jani.nikula@intel.com>
Tue, 15 Apr 2025 08:07:18 +0000 (11:07 +0300)
commit0e96a9b9470647fd5165ec0f971cd30f6d0fd9dc
treef8fd65bdbd6c2260ff3e3888f1cc511b1d48dd6c
parentda9b1c61e7f7b327dd70c5f073ba04d419a55ef8
drm/i915/display: Add link rate and lane count to i915_display_info

Adding link rate and lane count information to i915_display_info makes it
easier and faster to access this data compared to checking kernel logs.
This is particularly beneficial for individuals who are not familiar with
i915 in the following scenarios:

* Debugging DP tunnel bandwidth usage in the Thunderbolt driver.
* During USB4 certification, it is necessary to know the link rate used by
  the monitor to prove that the DP tunnel can handle required rates.
* In PHY CTS, when the connector probes are not mounted correctly,
  some display lanes may not appear in the DP Oscilloscope, leading to CTS
  failures.

This change provides validation teams with an easy way to identify and
troubleshoot issues.

v2: separate seq_printf line (Jani)
v3: separate output line (Jani)

Cc: Imre Deak <imre.deak@intel.com>
Cc: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Khaled Almahallawy <khaled.almahallawy@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Link: https://lore.kernel.org/r/20250409230214.963999-1-khaled.almahallawy@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/intel_display_debugfs.c