igd gfx passthrough: create a isa bridge
commitbd8107d7301d3fa44f04aa435e06efb2226ca58c
authorTiejun Chen <tiejun.chen@intel.com>
Wed, 15 Jul 2015 05:37:47 +0000 (15 13:37 +0800)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Thu, 10 Sep 2015 12:04:28 +0000 (10 12:04 +0000)
tree8301bac0f5e9fc80e60778b0f421257625f966e6
parent881213f1b9c5a8f4101405a5802d548cb62a4274
igd gfx passthrough: create a isa bridge

Currently IGD drivers always need to access PCH by 1f.0. But we
don't want to poke that directly to get ID, and although in real
world different GPU should have different PCH. But actually the
different PCH DIDs likely map to different PCH SKUs. We do the
same thing for the GPU. For PCH, the different SKUs are going to
be all the same silicon design and implementation, just different
features turn on and off with fuses. The SW interfaces should be
consistent across all SKUs in a given family (eg LPT). But just
same features may not be supported.

Most of these different PCH features probably don't matter to the
Gfx driver, but obviously any difference in display port connections
will so it should be fine with any PCH in case of passthrough.

So currently use one PCH version, 0x8c4e, to cover all HSW(Haswell)
scenarios, 0x9cc3 for BDW(Broadwell).

Signed-off-by: Tiejun Chen <tiejun.chen@intel.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
hw/i386/pc_piix.c
include/hw/i386/pc.h