]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drm/nouveau: fix dual-link displays when plugged into single-link outputs
authorBen Skeggs <bskeggs@redhat.com>
Fri, 28 May 2010 00:13:16 +0000 (10:13 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 28 May 2010 06:06:51 +0000 (16:06 +1000)
commit26099a74805eaf79f3058cc4097ebaa8cc55122c
treedd74da3803f2d0b6d16e22c2d0f67a3a42b26690
parent2c58077541cc6859a9a9046d9c3a4d61bdbd4f18
drm/nouveau: fix dual-link displays when plugged into single-link outputs

When selecting the native mode for a display we weren't taking into account
whether or not it was actually supported on that particular output.

This patch modifies our native mode selection to run all modes through
mode_valid() first.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_connector.c