summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/display/intel_crtc_state_dump.c
diff options
context:
space:
mode:
authorMitul Golani <mitulkumar.ajitkumar.golani@intel.com>2024-03-22 08:41:51 +0530
committerAnkit Nautiyal <ankit.k.nautiyal@intel.com>2024-04-04 13:27:06 +0530
commite282bb2bc97268306f84f1e87e3ff0048fb03c25 (patch)
treeafde1c013c8173c7cfe6bd5968dbaacd65afc81b /drivers/gpu/drm/i915/display/intel_crtc_state_dump.c
parent0bbb8f594e33286cf10a9c722a68a32160fe5a7f (diff)
downloadlinux-stable-e282bb2bc97268306f84f1e87e3ff0048fb03c25.tar.gz
linux-stable-e282bb2bc97268306f84f1e87e3ff0048fb03c25.tar.bz2
linux-stable-e282bb2bc97268306f84f1e87e3ff0048fb03c25.zip
drm/i915/display: Add crtc state dump for Adaptive Sync SDP
Add crtc state dump for Adaptive Sync SDP to know which crtc specifically caused the failure. --v1: - Rebase Patches to latest. Signed-off-by: Mitul Golani <mitulkumar.ajitkumar.golani@intel.com> Reviewed-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com> Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240322031157.3823909-4-mitulkumar.ajitkumar.golani@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_crtc_state_dump.c')
-rw-r--r--drivers/gpu/drm/i915/display/intel_crtc_state_dump.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_crtc_state_dump.c b/drivers/gpu/drm/i915/display/intel_crtc_state_dump.c
index cd78c200d483..ccaa4cb2809b 100644
--- a/drivers/gpu/drm/i915/display/intel_crtc_state_dump.c
+++ b/drivers/gpu/drm/i915/display/intel_crtc_state_dump.c
@@ -286,6 +286,9 @@ void intel_crtc_state_dump(const struct intel_crtc_state *pipe_config,
if (pipe_config->infoframes.enable &
intel_hdmi_infoframe_enable(DP_SDP_VSC))
drm_dp_vsc_sdp_log(&p, &pipe_config->infoframes.vsc);
+ if (pipe_config->infoframes.enable &
+ intel_hdmi_infoframe_enable(DP_SDP_ADAPTIVE_SYNC))
+ drm_dp_as_sdp_log(&p, &pipe_config->infoframes.as_sdp);
if (pipe_config->has_audio)
intel_dump_buffer("ELD: ", pipe_config->eld,