Skip to content

Commit 623ad75

Browse files
committed
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 <[email protected]> Reviewed-by: Animesh Manna <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 0cd2bdb commit 623ad75

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

drivers/gpu/drm/i915/display/intel_psr.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1443,9 +1443,6 @@ static bool intel_psr2_config_valid(struct intel_dp *intel_dp,
14431443

14441444
tgl_dc3co_exitline_compute_config(intel_dp, crtc_state);
14451445

1446-
if (psr2_su_region_et_valid(intel_dp, crtc_state->has_panel_replay))
1447-
crtc_state->enable_psr2_su_region_et = true;
1448-
14491446
return true;
14501447
}
14511448

@@ -1492,6 +1489,9 @@ static bool intel_sel_update_config_valid(struct intel_dp *intel_dp,
14921489
goto unsupported;
14931490
}
14941491

1492+
crtc_state->enable_psr2_su_region_et =
1493+
psr2_su_region_et_valid(intel_dp, crtc_state->has_panel_replay);
1494+
14951495
return true;
14961496

14971497
unsupported:

0 commit comments

Comments
 (0)