From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sergey Tovpeko Subject: Re: IGD passthrough Date: Fri, 04 Mar 2011 15:22:28 +0300 Message-ID: <4D70D984.4010303@gmail.com> References: <4D6CE195.9020801@gmail.com> <987664A83D2D224EAE907B061CE93D53019D8F4ECA@orsmsx505.amr.corp.intel.com> <987664A83D2D224EAE907B061CE93D53019D948615@orsmsx505.amr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <987664A83D2D224EAE907B061CE93D53019D948615@orsmsx505.amr.corp.intel.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Kay, Allen M" Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org Allen, I'm concerning about the init value u32 val =3D -1; in pt_pci_host_read u32 pt_pci_host_read(int bus, int dev, int fn, u32 addr, int len) { struct pci_dev *pci_dev; u32 val =3D -1; pci_access_init(); pci_dev =3D pci_get_dev(dpci_infos.pci_access, 0, bus, dev, fn); if ( !pci_dev ) return 0; pci_read_block(pci_dev, addr, (u8 *) &val, len); return val; } Initing with (-1) will fail when reading less then 4 bytes in=20 pci_read_block. I run into this in register_vga_regions function when it=20 returned vendor_id 0xffff8086 for igd, which left me without opregion at=20 all. It seems to me zero-value in pt_pci_host_read would be more correct. Sergey. > > That=92s good to hear. I assume both systems are using the same Win7-64= =20 > IGD driver. I know the IGD drivers for XP and Win7 are different. I=20 > have not tried XP environment so there might be problems. > > *From:* Sergey Tovpeko [mailto:tsv.devel@gmail.com] > *Sent:* Wednesday, March 02, 2011 11:58 AM > *To:* Kay, Allen M > *Cc:* xen-devel@lists.xensource.com > *Subject:* Re: [Xen-devel] IGD passthrough > > I checked IGD passthrough with native driver on other notebook i5-540=20 > cpu. Win7 64 driver works and which make me happy and confuse. I don't=20 > know the name of second notebook, it was provided us by our=20 > partners.At least both notebooks have the same CPUs. > > Thank you for your advice. > > Sergey. > > On Wed, Mar 2, 2011 at 7:30 AM, Sergey Tovpeko > wrote: > > Thank you, Allen for your replay. > > I'll try to check this on other hardware. > > As for Win7-64. It looks differently how IGD works. I mean when driver=20 > starts, I could recognize the windows' greeting and login. But the=20 > point is that the display is not normal, not usual. It looks like the=20 > brightness is so low, that I could hardly recognize what is output on=20 > the screen. > > Attached qemu's log for win7. > > Sergey. > > > > On Tue, Mar 1, 2011 at 8:46 PM, Kay, Allen M > wrote: > > Sergy, > > I noticed you are using WinXP guest. Have you tried Win7-64 guest? Do=20 > you have another Calpella laptop (i.e. Thinkpad T41) to try on? > > It would be interesting to know if this problem is WinXP specific or=20 > HP 8440p specific. I know there are there are quite a bit of=20 > difference between XP and Win7 IGD driver. > > I have ready access to ThinkPad and Dell Calepella laptop. > > Allen > > > -----Original Message----- > From: Sergey Tovpeko [mailto:tsv.devel@gmail.com=20 > ] > Sent: Tuesday, March 01, 2011 4:08 AM > To: xen-devel@lists.xensource.com > > Cc: Kay, Allen M; weidong.han@intel.com > Subject: [Xen-devel] IGD passthrough > > Hello, everybody! > > I've got an issue concerning IGD passthrough on calpella/sandybridge=20 > platform. > The IGD have passthrough-ed well on Win7 and WinXp until I setup=20 > native driver for GPU. > > After installing drivers and rebooting domain the display got black=20 > when driver starts. > > I found the similar issue > http://lists.xensource.com/archives/html/xen-devel/2010-07/msg01145.htm= l > > Could you provide any advice to make graphic works? > > > My system: > Hardware : EliteBook 8440p > Xen - xen-4.1.0-rc6 > Linux 2.6.32.7 > > Sergey. >