diff options
| author | Jani Nikula <[email protected]> | 2022-01-12 13:03:15 +0200 |
|---|---|---|
| committer | Jani Nikula <[email protected]> | 2022-01-21 12:55:28 +0200 |
| commit | 34ed3e83475eab0c8fe6bbb126165a3ff2f2ff90 (patch) | |
| tree | 6a7d3620115a2559f569e1d2a4525b3448528936 | |
| parent | 603801d0f2f418941d2524ffc43fa6d8c95873b3 (diff) | |
drm/i915/mst: debug log 4 bytes of ESI right after reading
For whatever reason, the ESI link service irq vector was missing from
the debug output. Add the missing byte, clean up the debug message, and
do the logging right after reading the data.
Signed-off-by: Jani Nikula <[email protected]>
Reviewed-by: Uma Shankar <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
| -rw-r--r-- | drivers/gpu/drm/i915/display/intel_dp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_dp.c b/drivers/gpu/drm/i915/display/intel_dp.c index a301220ce2ad..6de39056e2f8 100644 --- a/drivers/gpu/drm/i915/display/intel_dp.c +++ b/drivers/gpu/drm/i915/display/intel_dp.c @@ -3683,6 +3683,8 @@ intel_dp_check_mst_status(struct intel_dp *intel_dp) break; } + drm_dbg_kms(&i915->drm, "DPRX ESI: %4ph\n", esi); + /* check link status - esi[10] = 0x200c */ if (intel_dp->active_mst_links > 0 && link_ok && !drm_dp_channel_eq_ok(&esi[10], intel_dp->lane_count)) { @@ -3691,8 +3693,6 @@ intel_dp_check_mst_status(struct intel_dp *intel_dp) link_ok = false; } - drm_dbg_kms(&i915->drm, "got esi %3ph\n", esi); - intel_dp_mst_hpd_irq(intel_dp, esi, &handled); if (!handled) |