mirror of
https://github.com/torvalds/linux.git
synced 2026-05-28 17:13:52 +02:00
drm/i915/display: Use fixed rr timings in intel_set_transcoder_timings_lrr()
Update the intel_set_transcoder_timings_lrr() function to use fixed refresh rate timings. Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://lore.kernel.org/r/20250324133248.4071909-11-ankit.k.nautiyal@intel.com
This commit is contained in:
parent
dda7dcd9da
commit
704bd24d01
|
|
@ -2768,6 +2768,9 @@ static void intel_set_transcoder_timings_lrr(const struct intel_crtc_state *crtc
|
|||
intel_de_write(display, TRANS_VTOTAL(display, cpu_transcoder),
|
||||
VACTIVE(crtc_vdisplay - 1) |
|
||||
VTOTAL(crtc_vtotal - 1));
|
||||
|
||||
intel_vrr_set_fixed_rr_timings(crtc_state);
|
||||
intel_vrr_transcoder_enable(crtc_state);
|
||||
}
|
||||
|
||||
static void intel_set_pipe_src_size(const struct intel_crtc_state *crtc_state)
|
||||
|
|
|
|||
|
|
@ -286,7 +286,6 @@ int intel_vrr_fixed_rr_flipline(const struct intel_crtc_state *crtc_state)
|
|||
return intel_vrr_fixed_rr_vtotal(crtc_state);
|
||||
}
|
||||
|
||||
static
|
||||
void intel_vrr_set_fixed_rr_timings(const struct intel_crtc_state *crtc_state)
|
||||
{
|
||||
struct intel_display *display = to_intel_display(crtc_state);
|
||||
|
|
|
|||
|
|
@ -38,5 +38,6 @@ int intel_vrr_vblank_delay(const struct intel_crtc_state *crtc_state);
|
|||
bool intel_vrr_is_fixed_rr(const struct intel_crtc_state *crtc_state);
|
||||
void intel_vrr_transcoder_enable(const struct intel_crtc_state *crtc_state);
|
||||
void intel_vrr_transcoder_disable(const struct intel_crtc_state *crtc_state);
|
||||
void intel_vrr_set_fixed_rr_timings(const struct intel_crtc_state *crtc_state);
|
||||
|
||||
#endif /* __INTEL_VRR_H__ */
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user