qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [v5][PATCH 0/5] xen: add Intel IGD passthrough support


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [v5][PATCH 0/5] xen: add Intel IGD passthrough support
Date: Wed, 25 Jun 2014 12:14:16 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0

Il 25/06/2014 12:09, Michael S. Tsirkin ha scritto:
> It's not just a couple of IDs, it's also random fields of the MCH
> configuration space.  Grep drivers/gpu/drm/i915 for bridge_dev.
>
> Paolo
I did, it seems to look for device at 0,0:

        static int i915_get_bridge_dev(struct drm_device *dev)
        {
                struct drm_i915_private *dev_priv = dev->dev_private;

                dev_priv->bridge_dev = pci_get_bus_and_slot(0, PCI_DEVFN(0, 0));
                if (!dev_priv->bridge_dev) {
                        DRM_ERROR("bridge device not found\n");
                        return -1;
                }
                return 0;
        }

are you sure this is the ISA bridge device? these patches put it at 1f.


For the PCH it's just the ids, but there are also accesses to the MCH config space.

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]