mirror of
https://github.com/torvalds/linux.git
synced 2026-05-27 08:33:17 +02:00
drm/i915/vrr: Nuke intel_vrr_vmin_flipline()
Now that intel_vrr_flipline_offset() is completely hidden from the higher level VRR code, intel_vrr_vmin_flipline() has become rather pointless. Remove it. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20251020185038.4272-21-ville.syrjala@linux.intel.com Reviewed-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
This commit is contained in:
parent
24a23b39fd
commit
0f4f31d79e
|
|
@ -108,11 +108,6 @@ static int intel_vrr_vmin_flipline_offset(struct intel_display *display)
|
|||
return DISPLAY_VER(display) < 13 ? 1 : 0;
|
||||
}
|
||||
|
||||
static int intel_vrr_vmin_flipline(const struct intel_crtc_state *crtc_state)
|
||||
{
|
||||
return crtc_state->vrr.vmin;
|
||||
}
|
||||
|
||||
static int intel_vrr_guardband_to_pipeline_full(const struct intel_crtc_state *crtc_state,
|
||||
int guardband)
|
||||
{
|
||||
|
|
@ -147,7 +142,7 @@ static int intel_vrr_pipeline_full_to_guardband(const struct intel_crtc_state *c
|
|||
int intel_vrr_vmin_vtotal(const struct intel_crtc_state *crtc_state)
|
||||
{
|
||||
/* Min vblank actually determined by flipline */
|
||||
return intel_vrr_vmin_flipline(crtc_state);
|
||||
return crtc_state->vrr.vmin;
|
||||
}
|
||||
|
||||
int intel_vrr_vmax_vtotal(const struct intel_crtc_state *crtc_state)
|
||||
|
|
@ -781,7 +776,7 @@ bool intel_vrr_is_fixed_rr(const struct intel_crtc_state *crtc_state)
|
|||
{
|
||||
return crtc_state->vrr.flipline &&
|
||||
crtc_state->vrr.flipline == crtc_state->vrr.vmax &&
|
||||
crtc_state->vrr.flipline == intel_vrr_vmin_flipline(crtc_state);
|
||||
crtc_state->vrr.flipline == crtc_state->vrr.vmin;
|
||||
}
|
||||
|
||||
void intel_vrr_get_config(struct intel_crtc_state *crtc_state)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user