drm/i915/vrr: s/crtc_state/old_crtc_state/ in intel_vrr_transcoder_disable()

We generally use the 'old_crtc_state' in the disable functions to
make it clear these generally get called when the hardware is
still using the old crtc state rather than the new crtc state.
Rename the intel_vrr_transcoder_disable() 'crtc_state' parameter
to 'old_crtc_state' for consistency.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20251020185038.4272-19-ville.syrjala@linux.intel.com
Reviewed-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
This commit is contained in:
Ville Syrjälä 2025-10-20 21:50:34 +03:00
parent 78ea8eb5b6
commit cbdf2a930b

View File

@ -770,15 +770,15 @@ void intel_vrr_transcoder_enable(const struct intel_crtc_state *crtc_state)
intel_vrr_tg_enable(crtc_state, false);
}
void intel_vrr_transcoder_disable(const struct intel_crtc_state *crtc_state)
void intel_vrr_transcoder_disable(const struct intel_crtc_state *old_crtc_state)
{
struct intel_display *display = to_intel_display(crtc_state);
struct intel_display *display = to_intel_display(old_crtc_state);
if (!intel_vrr_possible(crtc_state))
if (!intel_vrr_possible(old_crtc_state))
return;
if (intel_vrr_always_use_vrr_tg(display))
intel_vrr_tg_disable(crtc_state);
intel_vrr_tg_disable(old_crtc_state);
}
bool intel_vrr_is_fixed_rr(const struct intel_crtc_state *crtc_state)