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

RE: [Xen-devel] Problem: Pattern with vertical colored lines on the dom0 screen



Linux is keying off all possible Calpella device ID's:

static void __devinit quirk_calpella_no_shadow_gtt(struct pci_dev *dev)
{
        unsigned short ggc;

        if (pci_read_config_word(dev, GGC, &ggc))
                return;

        if (!(ggc & GGC_MEMORY_VT_ENABLED)) {
                printk(KERN_INFO "DMAR: BIOS has allocated no shadow GTT; 
disabling IOMMU for graphics\n");
                dmar_map_gfx = 0;
        }
}
DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x0040, 
quirk_calpella_no_shadow_gtt);
DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x0044, 
quirk_calpella_no_shadow_gtt);
DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x0062, 
quirk_calpella_no_shadow_gtt);
DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x006a, 
quirk_calpella_no_shadow_gtt);

Allen

-----Original Message-----
From: Jan Beulich [mailto:JBeulich@xxxxxxxxxx] 
Sent: Monday, October 04, 2010 11:52 PM
To: Kay, Allen M
Cc: Keir Fraser; Jean Guyader; Han, Weidong; xen-devel@xxxxxxxxxxxxxxxxxxx; 
KonradRzeszutek Wilk; Dietmar Hahn
Subject: RE: [Xen-devel] Problem: Pattern with vertical colored lines on the 
dom0 screen

>>> On 04.10.10 at 20:15, "Kay, Allen M" <allen.m.kay@xxxxxxxxx> wrote:
>>  Yes, and vendor/class check would seem reasonable here.
> 
> How do you differentiate Intel IGD and discrete graphics with this method?

I don't know. But again - how does Linux get around this problem?

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.