summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2024-04-18 00:54:37 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2024-04-18 00:54:37 +0000
commit0bd0dfc3f2334c5742441f1028fd382d4c8d972a (patch)
tree0e7fa21f85489540e8a3e9e2381f807cf02a163b /sys/dev
parent824bdf88334acc1b8807104033e0a2586272cfe2 (diff)
drm/i915/vrr: Disable VRR when using bigjoiner
From Ville Syrjala f9b31dfdc0b5a04fb78cde6d2c64e54607dd316d in linux-6.6.y/6.6.28 dcd8992e47f13afb5c11a61e8d9c141c35e23751 in mainline linux
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/drm/i915/display/intel_vrr.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/dev/pci/drm/i915/display/intel_vrr.c b/sys/dev/pci/drm/i915/display/intel_vrr.c
index 88e4759b538..b844bdd16de 100644
--- a/sys/dev/pci/drm/i915/display/intel_vrr.c
+++ b/sys/dev/pci/drm/i915/display/intel_vrr.c
@@ -111,6 +111,13 @@ intel_vrr_compute_config(struct intel_crtc_state *crtc_state,
if (!intel_vrr_is_capable(connector))
return;
+ /*
+ * FIXME all joined pipes share the same transcoder.
+ * Need to account for that during VRR toggle/push/etc.
+ */
+ if (crtc_state->bigjoiner_pipes)
+ return;
+
if (adjusted_mode->flags & DRM_MODE_FLAG_INTERLACE)
return;