Commit e01cbca0 authored by Jouni Högander's avatar Jouni Högander
Browse files

drm/i915/psr: Write PSR2_MAN_TRK_CTL on DSB commit as well



Add PSR2_MAN_TRK_CTL writing into DSB commit in intel_atomic_dsb_finish.

Taking PSR lock over DSB commit is not needed because PSR2_MAN_TRK_CTL is
now written only by DSB.

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/20250213064804.2077127-8-jouni.hogander@intel.com
parent 1d1689ab
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -7743,6 +7743,8 @@ static void intel_atomic_dsb_finish(struct intel_atomic_state *state,
					       new_crtc_state);
		bdw_set_pipe_misc(new_crtc_state->dsb_commit,
				  new_crtc_state);
		intel_psr2_program_trans_man_trk_ctl(new_crtc_state->dsb_commit,
						     new_crtc_state);
		intel_crtc_planes_update_arm(new_crtc_state->dsb_commit,
					     state, crtc);