From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastian Blank Subject: Re: Re: pvops: i915 kms crashs with corrupt page table Date: Thu, 25 Feb 2010 11:32:34 +0100 Message-ID: <20100225103234.GA2324@wavehammer.waldi.eu.org> References: <20100224175555.GA6353@wavehammer.waldi.eu.org> <4B857CB9.8090804@goop.org> <20100225100620.GA31747@wavehammer.waldi.eu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Return-path: Content-Disposition: inline In-Reply-To: <20100225100620.GA31747@wavehammer.waldi.eu.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jeremy Fitzhardinge Cc: Konrad Rzeszutek , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Thu, Feb 25, 2010 at 11:06:20AM +0100, Bastian Blank wrote: > On Wed, Feb 24, 2010 at 11:23:37AM -0800, Jeremy Fitzhardinge wrote: > > On 02/24/2010 09:55 AM, Bastian Blank wrote: > >> I run a 2.6.32 dom0 kernel (the Debian distribution config). If I enable > >> KMS in the intel driver, Xorg crashs with corrupt page table. > > Does this help? > > No. But it is something like that: intel_i810_configure: pci_read_config_dword(intel_private.pcidev, I810_GMADDR, &temp); agp_bridge->gart_bus_addr = (temp & PCI_BASE_ADDRESS_MEM_MASK); agp_copy_info: info->aper_base = bridge->gart_bus_addr; drm_agp_init: head->base = head->agp_info.aper_base; dev->agp = head i915_gem_init_ringbuffer: ring->map.offset = dev->agp->base + obj_priv->gtt_offset; This address is directly used to create a userspace mapping. Bastian -- Without freedom of choice there is no creativity. -- Kirk, "The return of the Archons", stardate 3157.4