summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915
diff options
context:
space:
mode:
authorJouni Högander <jouni.hogander@intel.com>2024-06-19 09:21:30 +0300
committerJouni Högander <jouni.hogander@intel.com>2024-06-25 08:28:43 +0300
commit623ad75a014864d3551ca2aa83ce19458ef1299e (patch)
treee062e91ea3b9ddaf512414e3ba14e7fc7dccd495 /drivers/gpu/drm/i915
parent0cd2bdbf19ac4d77be47564a678618fa70681474 (diff)
downloadlinux-623ad75a014864d3551ca2aa83ce19458ef1299e.tar.xz
drm/i915/psr: Check Early Transport for Panel Replay as well
Move Early Transport validity check to be performed for Panel Replay as well and use Early Transport for eDP Panel Replay always. v2:set crtc_state->enable_psr2_su_region_et directly (not in if block) Signed-off-by: Jouni Högander <jouni.hogander@intel.com> Reviewed-by: Animesh Manna <animesh.manna@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240619062131.4021196-11-jouni.hogander@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915')
-rw-r--r--drivers/gpu/drm/i915/display/intel_psr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_psr.c b/drivers/gpu/drm/i915/display/intel_psr.c
index ea5a254aa942..d40715d4b5d5 100644
--- a/drivers/gpu/drm/i915/display/intel_psr.c
+++ b/drivers/gpu/drm/i915/display/intel_psr.c
@@ -1443,9 +1443,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, crtc_state->has_panel_replay))
- crtc_state->enable_psr2_su_region_et = true;
-
return true;
}
@@ -1492,6 +1489,9 @@ static bool intel_sel_update_config_valid(struct intel_dp *intel_dp,
goto unsupported;
}
+ crtc_state->enable_psr2_su_region_et =
+ psr2_su_region_et_valid(intel_dp, crtc_state->has_panel_replay);
+
return true;
unsupported: