Skip to content

Commit dcd8992

Browse files
vsyrjalarodrigovivi
authored andcommitted
drm/i915/vrr: Disable VRR when using bigjoiner
All joined pipes share the same transcoder/timing generator. Currently we just do the commits per-pipe, which doesn't really work if we need to change switch between non-VRR and VRR timings generators on the fly, or even when sending the push to the transcoder. For now just disable VRR when bigjoiner is needed. Cc: stable@vger.kernel.org Tested-by: Vidya Srinivas <vidya.srinivas@intel.com> Reviewed-by: Vandita Kulkarni <vandita.kulkarni@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240404213441.17637-6-ville.syrjala@linux.intel.com Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> (cherry picked from commit f9d5e51) Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
1 parent 4a36e46 commit dcd8992

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

drivers/gpu/drm/i915/display/intel_vrr.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,13 @@ intel_vrr_compute_config(struct intel_crtc_state *crtc_state,
117117
const struct drm_display_info *info = &connector->base.display_info;
118118
int vmin, vmax;
119119

120+
/*
121+
* FIXME all joined pipes share the same transcoder.
122+
* Need to account for that during VRR toggle/push/etc.
123+
*/
124+
if (crtc_state->bigjoiner_pipes)
125+
return;
126+
120127
if (adjusted_mode->flags & DRM_MODE_FLAG_INTERLACE)
121128
return;
122129

0 commit comments

Comments
 (0)