Commit ef79820d authored by Ville Syrjälä's avatar Ville Syrjälä

drm/i915: Disable live M/N updates 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 the timings at the same time. For
now just disable live M/N updates when bigjoiner is needed.

Cc: stable@vger.kernel.org
Tested-by: default avatarVidya Srinivas <vidya.srinivas@intel.com>
Reviewed-by: default avatarArun R Murthy <arun.r.murthy@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240404213441.17637-5-ville.syrjala@linux.intel.comSigned-off-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
parent b37e1347
...@@ -2752,7 +2752,11 @@ intel_dp_drrs_compute_config(struct intel_connector *connector, ...@@ -2752,7 +2752,11 @@ intel_dp_drrs_compute_config(struct intel_connector *connector,
intel_panel_downclock_mode(connector, &pipe_config->hw.adjusted_mode); intel_panel_downclock_mode(connector, &pipe_config->hw.adjusted_mode);
int pixel_clock; int pixel_clock;
if (has_seamless_m_n(connector)) /*
* FIXME all joined pipes share the same transcoder.
* Need to account for that when updating M/N live.
*/
if (has_seamless_m_n(connector) && !pipe_config->bigjoiner_pipes)
pipe_config->update_m_n = true; pipe_config->update_m_n = true;
if (!can_enable_drrs(connector, pipe_config, downclock_mode)) { if (!can_enable_drrs(connector, pipe_config, downclock_mode)) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment