diff mbox series

[v2,14/17] drm/i915/psr: Check Early Transport for Panel Replay as well

Message ID 20240521084648.1987837-15-jouni.hogander@intel.com (mailing list archive)
State New, archived
Headers show
Series Panel Replay eDP support | expand

Commit Message

Hogander, Jouni May 21, 2024, 8:46 a.m. UTC
Move Early Transport validity check to be performed for Panel Replay as
well and use Early Transport for eDP Panel Replay always.

Signed-off-by: Jouni Högander <jouni.hogander@intel.com>
---
 drivers/gpu/drm/i915/display/intel_psr.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
diff mbox series

Patch

diff --git a/drivers/gpu/drm/i915/display/intel_psr.c b/drivers/gpu/drm/i915/display/intel_psr.c
index d09a4f5309c4..2a18ef974221 100644
--- a/drivers/gpu/drm/i915/display/intel_psr.c
+++ b/drivers/gpu/drm/i915/display/intel_psr.c
@@ -1605,9 +1605,6 @@  static bool intel_psr2_config_valid(struct intel_dp *intel_dp,
 
 	tgl_dc3co_exitline_compute_config(intel_dp, crtc_state);
 
-	if (psr2_su_region_et_valid(intel_dp, false))
-		crtc_state->enable_psr2_su_region_et = true;
-
 	return true;
 }
 
@@ -1672,6 +1669,9 @@  static bool intel_sel_update_config_valid(struct intel_dp *intel_dp,
 		goto unsupported;
 	}
 
+	if (psr2_su_region_et_valid(intel_dp, crtc_state->has_panel_replay))
+		crtc_state->enable_psr2_su_region_et = true;
+
 	return true;
 
 unsupported: