mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-13 15:19:26 -04: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:
@@ -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__ */
|
||||
|
||||
Reference in New Issue
Block a user