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)
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>

No differences found