]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
drm/i915/lt_phy: Dump lane count for HW state
authorMika Kahola <mika.kahola@intel.com>
Thu, 12 Mar 2026 08:06:51 +0000 (08:06 +0000)
committerMika Kahola <mika.kahola@intel.com>
Tue, 24 Mar 2026 07:45:59 +0000 (09:45 +0200)
To increase debuggability add lane count as part of HW state dump.

Signed-off-by: Mika Kahola <mika.kahola@intel.com>
Reviewed-by: Suraj Kandpal <suraj.kandpal@intel.com>
Link: https://patch.msgid.link/20260312080657.2648265-19-mika.kahola@intel.com
drivers/gpu/drm/i915/display/intel_lt_phy.c

index dfcff3d6ad330921a05cf17831c33c9a799dc36d..62719082efda1f3a542df3f9ce051b10c7d5916c 100644 (file)
@@ -2170,8 +2170,8 @@ void intel_lt_phy_dump_hw_state(struct drm_printer *p,
 {
        int i, j;
 
-       drm_printf(p, "lt_phy_pll_hw_state: ssc enabled: %d, tbt mode: %d\n",
-                  hw_state->ssc_enabled, hw_state->tbt_mode);
+       drm_printf(p, "lt_phy_pll_hw_state: lane count: %d, ssc enabled: %d, tbt mode: %d\n",
+                  hw_state->lane_count, hw_state->ssc_enabled, hw_state->tbt_mode);
 
        for (i = 0; i < 3; i++) {
                drm_printf(p, "config[%d] = 0x%.4x,\n",