[PATCH] drm/i915/display: Revert "drm/i915/display: Do not check psr2 if psr/panel replay is not supported"

Mika Kahola mika.kahola at intel.com
Mon Dec 11 11:38:24 UTC 2023


This reverts commit 8a9fd9ecc4f1f72839c94cc2ec6846d6d9a71987.
---
 drivers/gpu/drm/i915/display/intel_psr.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/drivers/gpu/drm/i915/display/intel_psr.c b/drivers/gpu/drm/i915/display/intel_psr.c
index b6e2e70e1290..22f1a47ed7ca 100644
--- a/drivers/gpu/drm/i915/display/intel_psr.c
+++ b/drivers/gpu/drm/i915/display/intel_psr.c
@@ -1373,9 +1373,6 @@ void intel_psr_compute_config(struct intel_dp *intel_dp,
 	else
 		crtc_state->has_psr = _psr_compute_config(intel_dp, crtc_state);
 
-	if (!(crtc_state->has_panel_replay || crtc_state->has_psr))
-		return;
-
 	crtc_state->has_psr2 = intel_psr2_config_valid(intel_dp, crtc_state);
 
 	crtc_state->infoframes.enable |= intel_hdmi_infoframe_enable(DP_SDP_VSC);
-- 
2.34.1



More information about the Intel-gfx-trybot mailing list