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

Re: [Xen-devel] Issues with Intel HD graphics 4000


  • To: xen-devel@xxxxxxxxxxxxx, Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
  • From: Dietmar Hahn <dietmar.hahn@xxxxxxxxxxxxxx>
  • Date: Wed, 19 Jun 2013 13:36:56 +0200
  • Delivery-date: Wed, 19 Jun 2013 11:37:18 +0000
  • Domainkey-signature: s=s1536a; d=ts.fujitsu.com; c=nofws; q=dns; h=X-SBRSScore:X-IronPort-AV:Received:X-IronPort-AV: Received:Received:From:To:Subject:Date:Message-ID: User-Agent:In-Reply-To:References:MIME-Version: Content-Transfer-Encoding:Content-Type; b=Nh/FM/5uHiLmWQcMxPHO4fB9Zny4h260L49cWkEOJg+z6z0ccQuRk5Wp 4UKxk0G9Lb5wH0TCQ7Ipwwhgolxk8mlaz0Q1ECRGHGTDjScP5z5Rkcg/P Fz+AwZdDZkz07rq7F8z5cxUI8jngrXx6OT+dCyfZ7VqxjMwvfpQGGbhCO GHHdEZEGa5o8UygUBon2pBhm0Co38Nj0JonggxnVr6HXmGL2ilior+8+x vtlZxtbKg2twZ1PYrA+Q2iepoB5Cr;
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>

Am Dienstag 18 Juni 2013, 13:37:08 schrieb Dietmar Hahn:
> Am Montag 17 Juni 2013, 09:14:30 schrieb Konrad Rzeszutek Wilk:
> 
> > Hey Dietmar,
> > 
> > Did you ever test the extra change for the debug patch?
> > 
> > http://lists.xenproject.org/archives/html/xen-devel/2013-05/msg02051.html
> > "
> > I tried both but none helped. I think it couldn't be expected as the first
> > > patch handles an error case and the line with the second patch,
> > > the call of pci_dma_sync_single_for_device(), gets not reached.
> > 
> > OK, perhaps move the pci_dma_sync_single_for_device in the while loop?
> > 
> > " ?
> 
> I believe I did and I think it didn't work but I'am not sure and so I'll try
> again. But this will take some time as the PC is used for my daily work!

OK, tried again today and as expected it didn't work. Following code:

linux-3.7.10-1.11/drivers/char/agp/intel-gtt.c:

void intel_gtt_clear_range(unsigned int first_entry, unsigned int num_entries)
{
        unsigned int i;

        intel_private.driver->write_entry(intel_private.base.scratch_page_dma,
                                                  first_entry, 0);
        printk(KERN_WARNING "HAHN-%s: sync the first page\n", __func__);
        pci_dma_sync_single_for_device(intel_private.pcidev,
                                       intel_private.base.scratch_page_dma,
                                       PAGE_SIZE, PCI_DMA_BIDIRECTIONAL);

        for (i = first_entry + 1; i < (first_entry + num_entries); i++) {

                
intel_private.driver->write_entry(intel_private.base.scratch_page_dma,
                                                  i, 0);
                pci_dma_sync_single_for_device(intel_private.pcidev,
                                               
intel_private.base.scratch_page_dma,
                                               PAGE_SIZE, 
PCI_DMA_BIDIRECTIONAL);
        }
        printk(KERN_WARNING "HAHN-%s: End of loop\n", __func__);
        readl(intel_private.gtt+i-1);
}

The second printk() with "End of loop" is not reached.

Dietmar.

-- 
Company details: http://ts.fujitsu.com/imprint.html

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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