mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 14:53:58 -04:00
drm/i915/vrr: Add function to reset DC balance accumulated params
Add function which resets all accumulated DC Balance parameters whenever adaptive mode of VRR goes off. This helps to give a fresh start when VRR is re-enabled. --v2: - Typo, change crtc_state to old_crtc_state. (Ankit) Signed-off-by: Mitul Golani <mitulkumar.ajitkumar.golani@intel.com> Reviewed-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com> Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com> Link: https://patch.msgid.link/20251223104542.2688548-10-mitulkumar.ajitkumar.golani@intel.com
This commit is contained in:
committed by
Ankit Nautiyal
parent
7bf11bc2f7
commit
80d1498359
@@ -1158,6 +1158,7 @@ static void intel_pre_plane_update(struct intel_atomic_state *state,
|
||||
|
||||
if (intel_crtc_vrr_disabling(state, crtc)) {
|
||||
intel_vrr_disable(old_crtc_state);
|
||||
intel_vrr_dcb_reset(old_crtc_state, crtc);
|
||||
intel_crtc_update_active_timings(old_crtc_state, false);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user