From: jsg Date: Mon, 29 Apr 2024 06:23:20 +0000 (+0000) Subject: drm/i915: Disable live M/N updates when using bigjoiner X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=da099fe52eff81738102f312810efeac88803211;p=openbsd drm/i915: Disable live M/N updates when using bigjoiner From Ville Syrjala 9d106175b7a081f98112694e7fbb82105aff4eef in linux-6.6.y/6.6.29 4a36e46df7aa781c756f09727d37dc2783f1ee75 in mainline linux --- diff --git a/sys/dev/pci/drm/i915/display/intel_dp.c b/sys/dev/pci/drm/i915/display/intel_dp.c index a972efa0336..f32ec5ca378 100644 --- a/sys/dev/pci/drm/i915/display/intel_dp.c +++ b/sys/dev/pci/drm/i915/display/intel_dp.c @@ -2148,7 +2148,11 @@ intel_dp_drrs_compute_config(struct intel_connector *connector, intel_panel_downclock_mode(connector, &pipe_config->hw.adjusted_mode); 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; if (!can_enable_drrs(connector, pipe_config, downclock_mode)) {