drm/i915: Disable live M/N updates when using bigjoiner
authorjsg <jsg@openbsd.org>
Mon, 29 Apr 2024 06:23:20 +0000 (06:23 +0000)
committerjsg <jsg@openbsd.org>
Mon, 29 Apr 2024 06:23:20 +0000 (06:23 +0000)
From Ville Syrjala
9d106175b7a081f98112694e7fbb82105aff4eef in linux-6.6.y/6.6.29
4a36e46df7aa781c756f09727d37dc2783f1ee75 in mainline linux

sys/dev/pci/drm/i915/display/intel_dp.c

index a972efa..f32ec5c 100644 (file)
@@ -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)) {