mutter/src/backends/native
Jonas Ådahl 4c7a846dc8 output/kms: Only add common modes for single mode connectors
If there was only a single mode, add the common modes to provide options
to select other resolutions than the built in default. This avoids
issues where the connector listed multiple supported modes, but where
the common modes added would exceed the possible bandwidth. We could
probably make an attempt to filter out more modes from the common mode
list to avoid these issues, but it's likely that the driver already
lists suitable modes, meaning there is no point in adding the common
modes.

The common modes were initially added[0] to add modes to connectors with
a single bundled mode, so we shouldn't regress the original bug fix.

[0] https://bugzilla.gnome.org/show_bug.cgi?id=744544

Closes: https://gitlab.gnome.org/GNOME/mutter/-/issues/1232
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1824>
2021-04-14 15:15:52 +00:00
..
dbus-utils.c
dbus-utils.h
gen-default-modes.py
meta-backend-native-private.h
meta-backend-native-types.h
meta-backend-native.c
meta-backend-native.h
meta-barrier-native.c
meta-barrier-native.h
meta-clutter-backend-native.c
meta-clutter-backend-native.h
meta-cogl-utils.c
meta-cogl-utils.h native/cogl-utils: Minor macro cleanup 2021-01-28 20:33:01 +00:00
meta-crtc-kms.c
meta-crtc-kms.h
meta-crtc-mode-kms.c
meta-crtc-mode-kms.h
meta-crtc-mode-virtual.c
meta-crtc-mode-virtual.h
meta-crtc-native.c
meta-crtc-native.h
meta-crtc-virtual.c
meta-crtc-virtual.h
meta-cursor-renderer-native.c
meta-cursor-renderer-native.h
meta-drm-buffer-dumb.c
meta-drm-buffer-dumb.h
meta-drm-buffer-gbm.c
meta-drm-buffer-gbm.h
meta-drm-buffer-import.c
meta-drm-buffer-import.h
meta-drm-buffer-private.h
meta-drm-buffer.c
meta-drm-buffer.h
meta-gpu-kms.c
meta-gpu-kms.h
meta-input-device-native.c
meta-input-device-native.h
meta-input-device-tool-native.c
meta-input-device-tool-native.h
meta-input-settings-native.c
meta-input-settings-native.h
meta-input-thread.h
meta-keymap-native.c
meta-keymap-native.h
meta-kms-connector-private.h
meta-kms-connector.c
meta-kms-connector.h
meta-kms-crtc-private.h
meta-kms-crtc.c
meta-kms-crtc.h
meta-kms-device-private.h
meta-kms-device.c
meta-kms-device.h
meta-kms-impl-device-atomic.c
meta-kms-impl-device-atomic.h
meta-kms-impl-device-dummy.c
meta-kms-impl-device-dummy.h
meta-kms-impl-device-simple.c
meta-kms-impl-device-simple.h
meta-kms-impl-device.c
meta-kms-impl-device.h
meta-kms-impl.c
meta-kms-impl.h
meta-kms-mode-private.h
meta-kms-mode.c
meta-kms-mode.h
meta-kms-page-flip-private.h
meta-kms-page-flip.c
meta-kms-plane-private.h
meta-kms-plane.c
meta-kms-plane.h
meta-kms-private.h
meta-kms-types.h
meta-kms-update-private.h
meta-kms-update.c
meta-kms-update.h
meta-kms-utils.c
meta-kms-utils.h
meta-kms.c
meta-kms.h
meta-launcher.c
meta-launcher.h
meta-monitor-manager-native.c
meta-monitor-manager-native.h
meta-onscreen-native.c
meta-onscreen-native.h
meta-output-kms.c
meta-output-kms.h
meta-output-native.c
meta-output-native.h
meta-output-virtual.c
meta-output-virtual.h
meta-pointer-constraint-native.c
meta-pointer-constraint-native.h
meta-renderer-native-gles3.c
meta-renderer-native-gles3.h
meta-renderer-native-private.h
meta-renderer-native.c
meta-renderer-native.h
meta-seat-impl.c
meta-seat-impl.h
meta-seat-native.c
meta-seat-native.h
meta-stage-native.c
meta-stage-native.h
meta-udev.c
meta-udev.h
meta-virtual-input-device-native.c
meta-virtual-input-device-native.h
meta-virtual-monitor-native.c
meta-virtual-monitor-native.h
meta-xkb-utils.c
meta-xkb-utils.h