Commit 582e372f authored by Jouni Högander's avatar Jouni Högander

drm/i915/psr: Set DP_PSR_SU_REGION_SCANLINE_CAPTURE bit when needed

Setting DP_PSR_SU_REGION_SCANLINE_CAPTURE (Selective Update Region Scan
Line Capture Indication in spec) bit was dropped when psr_enable_sink was
split to _psr_enable_sink and _panel_replay_enable_sink. Add setting it
back.

Fixes: 32f0045f ("drm/i915/psr: Split enabling sink for PSR and Panel Replay")
Signed-off-by: default avatarJouni Högander <jouni.hogander@intel.com>
Reviewed-by: default avatarAnimesh Manna <animesh.manna@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240620103312.903977-1-jouni.hogander@intel.com
parent b1d90a86
......@@ -732,6 +732,9 @@ static void _psr_enable_sink(struct intel_dp *intel_dp,
val |= DP_PSR_CRC_VERIFICATION;
}
if (crtc_state->req_psr2_sdp_prior_scanline)
val |= DP_PSR_SU_REGION_SCANLINE_CAPTURE;
if (crtc_state->enable_psr2_su_region_et)
val |= DP_PANEL_REPLAY_ENABLE_SU_REGION_ET;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment