]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/i915: Include HDMI DRM infoframe in the crtc state dump
authorGwan-gyeong Mun <gwan-gyeong.mun@intel.com>
Thu, 14 May 2020 06:07:22 +0000 (09:07 +0300)
committerJani Nikula <jani.nikula@intel.com>
Thu, 14 May 2020 10:53:51 +0000 (13:53 +0300)
Dump out the HDMI Dynamic Range and Mastering (DRM) infoframe in the
normal crtc state dump.

Signed-off-by: Gwan-gyeong Mun <gwan-gyeong.mun@intel.com>
Reviewed-by: Uma Shankar <uma.shankar@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200514060732.3378396-5-gwan-gyeong.mun@intel.com
drivers/gpu/drm/i915/display/intel_display.c

index fb41f36c02562b0578fa9f87cb6236878590d6e8..b532b988935aecca535adfebbde2f4ad80c797b6 100644 (file)
@@ -13024,6 +13024,9 @@ static void intel_dump_pipe_config(const struct intel_crtc_state *pipe_config,
        if (pipe_config->infoframes.enable &
            intel_hdmi_infoframe_enable(HDMI_INFOFRAME_TYPE_VENDOR))
                intel_dump_infoframe(dev_priv, &pipe_config->infoframes.hdmi);
+       if (pipe_config->infoframes.enable &
+           intel_hdmi_infoframe_enable(HDMI_INFOFRAME_TYPE_DRM))
+               intel_dump_infoframe(dev_priv, &pipe_config->infoframes.drm);
 
        drm_dbg_kms(&dev_priv->drm, "requested mode:\n");
        drm_mode_debug_printmodeline(&pipe_config->hw.mode);