[PATCH] vgaarb: a NULL bridge is acceptable for root devices.

2011-10-10 Thread Dave Airlie
From: Dave Airlie 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 the share the root bus. Signed-off-by: Dave Air

[PATCH] vgaarb: a NULL bridge is acceptable for root devices.

2011-10-10 Thread Dave Airlie
From: Dave Airlie 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 the share the root bus. Signed-off-by: Dave Air