output/kms: Add back common modes on non-single mode outputs

But this time, filter out modes that exceed a roughly calculated maximum
bandwidth. This should avoid e.g. setting a 60 Hz 4K mode, when 4K is
limited to 30 Hz, but lower resolutions supporting 60 Hz.

Closes: gnome-shell#4155
Part-of: <!1834>
13 jobs for !1834 with wip/limit-common-modes-on-max-bandwidth in 19 minutes and 31 seconds (queued for 1 second)
latest detached
Status Job ID Name Coverage
  Review
passed #1270731
check-commit-log

00:01:03

passed #1270732
check-merge-request

00:01:01

 
  Prepare
passed #1270734
aarch64
build-fedora-container@aarch64

00:00:17

passed #1270733
build-fedora-container@x86_64

00:00:27

 
  Build
passed #1270736
aarch64
build-mutter@aarch64

00:03:20

passed #1270735
build-mutter@x86_64

00:01:32

passed #1270738
build-without-native-backend-and-wayland@x86_64

00:01:50

passed #1270737
build-without-opengl-and-glx@x86_64

00:02:13

 
  Test
passed #1270741
can-build-gnome-shell@x86_64

00:03:38

passed #1270740
aarch64
test-mutter@aarch64

00:07:53

passed #1270739
test-mutter@x86_64

00:04:03

 
  Coverage
passed #1270743
aarch64
test-mutter-coverage@aarch64

00:06:55

47.0%
passed #1270742
test-mutter-coverage@x86_64

00:04:00

47.0%