diff options
Diffstat (limited to 'src/northbridge/intel')
-rw-r--r-- | src/northbridge/intel/x4x/gma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/northbridge/intel/x4x/gma.c b/src/northbridge/intel/x4x/gma.c index d0c40b1d8d..1fcc682c86 100644 --- a/src/northbridge/intel/x4x/gma.c +++ b/src/northbridge/intel/x4x/gma.c @@ -74,7 +74,7 @@ static void gma_func0_init(struct device *dev) reg16 |= 0xbc; pci_write_config16(dev_find_slot(0, PCI_DEVFN(0x2, 0)), 0xcc, reg16); - int vga_disable = pci_read_config16(dev, D0F0_GGC); + int vga_disable = (pci_read_config16(dev, D0F0_GGC) & 2) >> 1; if (IS_ENABLED(CONFIG_MAINBOARD_USE_LIBGFXINIT)) { if (vga_disable) { |