]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
vgaarb: a NULL bridge is acceptable for root devices.
authorDave Airlie <airlied@redhat.com>
Mon, 10 Oct 2011 08:29:18 +0000 (09:29 +0100)
committerDave Airlie <airlied@redhat.com>
Mon, 14 Nov 2011 10:03:15 +0000 (10:03 +0000)
commitf6252114cbb7edabc1c92bf794153922ee0ea46d
treed4fc856af59dc962a7af5117eff0587de97edfbc
parentd53dab3ae1a3c6b438738c3792c98ac63f0061f4
vgaarb: a NULL bridge is acceptable for root devices.

I assumed all PCI buses had a bridge, but playing with qemu recently, I
discovered vgaarb bug where it wasn't detecting both devices shared a bridge
at the root level.

Don't check for NULL, if two buses have a NULL bridge, assume they share the
root bus.

Acked-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/vga/vgaarb.c