]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Set default VGA device
authorBrian King <brking@linux.vnet.ibm.com>
Mon, 8 Apr 2013 03:05:10 +0000 (03:05 +0000)
committerMichael Ellerman <michael@ellerman.id.au>
Thu, 18 Apr 2013 05:59:58 +0000 (15:59 +1000)
commita98f0014796d2469cfb3ea569cde7b923dd4765e
tree6e1d883db255cda10995b2d622880168dc5b9a0c
parente6156b152ec793dd0b0261133a442fd965517fc4
powerpc: Set default VGA device

Add a PCI quirk for VGA devices on Power to set the default VGA device.
Ensures a default VGA is always set if a graphics adapter is present,
even if firmware did not initialize it. If more than one graphics
adapter is present, ensure the one initialized by firmware is set
as the default VGA device. This ensures that X autoconfiguration
will work.

Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
arch/powerpc/kernel/pci-common.c