]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/i915: Program DP SDPs on pipe updates
authorGwan-gyeong Mun <gwan-gyeong.mun@intel.com>
Thu, 14 May 2020 06:07:29 +0000 (09:07 +0300)
committerJani Nikula <jani.nikula@intel.com>
Thu, 14 May 2020 10:54:10 +0000 (13:54 +0300)
Call intel_dp_set_infoframes() function on pipe updates to make sure
that we send VSC SDP and HDR Metadata Infoframe SDP (when applicable)
on fastsets.

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-12-gwan-gyeong.mun@intel.com
drivers/gpu/drm/i915/display/intel_ddi.c

index 2b54ea47e822b44ee67c904acaf9e31f5c1eb62b..e3f5db787343a7cb0cff152e68a35167c5b3e4a0 100644 (file)
@@ -3864,6 +3864,7 @@ static void intel_ddi_update_pipe_dp(struct intel_atomic_state *state,
        intel_ddi_set_dp_msa(crtc_state, conn_state);
 
        intel_psr_update(intel_dp, crtc_state);
+       intel_dp_set_infoframes(encoder, true, crtc_state, conn_state);
        intel_edp_drrs_enable(intel_dp, crtc_state);
 
        intel_panel_update_backlight(state, encoder, crtc_state, conn_state);