[PATCH 7/8] Add some debug into vsc_sdp readback
Jouni Högander
jouni.hogander at intel.com
Fri Dec 1 10:30:28 UTC 2023
Signed-off-by: Jouni Högander <jouni.hogander at intel.com>
---
drivers/gpu/drm/i915/display/intel_dp.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/i915/display/intel_dp.c b/drivers/gpu/drm/i915/display/intel_dp.c
index 1672d0af4944..18c290a9488f 100644
--- a/drivers/gpu/drm/i915/display/intel_dp.c
+++ b/drivers/gpu/drm/i915/display/intel_dp.c
@@ -4442,8 +4442,10 @@ static void intel_read_dp_vsc_sdp(struct intel_encoder *encoder,
int ret;
if ((crtc_state->infoframes.enable &
- intel_hdmi_infoframe_enable(type)) == 0)
+ intel_hdmi_infoframe_enable(type)) == 0) {
+ drm_dbg_kms(&dev_priv->drm, "XXX No infoframes enabled\n");
return;
+ }
dig_port->read_infoframe(encoder, crtc_state, type, &sdp, sizeof(sdp));
@@ -4451,6 +4453,8 @@ static void intel_read_dp_vsc_sdp(struct intel_encoder *encoder,
if (ret)
drm_dbg_kms(&dev_priv->drm, "Failed to unpack DP VSC SDP\n");
+ else
+ drm_dbg_kms(&dev_priv->drm, "XXX DP VSC SDP succesfully unpacked\n");
}
static void intel_read_dp_hdr_metadata_infoframe_sdp(struct intel_encoder *encoder,
--
2.34.1
More information about the Intel-gfx-trybot
mailing list