]> xenbits.xensource.com Git - qemu-xen-4.4-testing.git/commitdiff
passthrough: IGFX passthrough fix SNB GGC
authorJean Guyader <jean.guyader@eu.citrix.com>
Tue, 21 Jun 2011 16:56:35 +0000 (17:56 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Tue, 21 Jun 2011 16:56:35 +0000 (17:56 +0100)
The GGC field have moved from 0x52 to 0x50 on Sandy Bridge.

Signed-off-by: Jean Guyader <jean.guyader@eu.citrix.com>
hw/pt-graphics.c

index e3fdf8ef71372e61486938a1a5edbf0d2350d0e9..d4449210147e09215b9c2b9f52975c3255894669 100644 (file)
@@ -70,6 +70,7 @@ uint32_t igd_pci_read(PCIDevice *pci_dev, uint32_t config_addr, int len)
     {
         case 0x00:        /* vendor id */
         case 0x02:        /* device id */
+        case 0x50:        /* SNB: processor graphics control register */
         case 0x52:        /* processor graphics control register */
         case 0xa0:        /* top of memory */
         case 0xb0:        /* ILK: BSM: should read from dev 2 offset 0x5c */