[PATCH] agp/intel: Fix dma mask for Sandybridge

Takashi Iwai tiwai at suse.de
Sun Aug 22 22:29:29 PDT 2010


At Mon, 23 Aug 2010 09:35:07 +0800,
Zhenyu Wang wrote:
> 
> On 2010.08.20 17:36:08 +0200, Takashi Iwai wrote:
> > Sandybridge requires 36bit dma mask, but the current code checks only
> > against i965, thus it gives Oops with i915 probing on 32bit machine:
> > 
> >    nommu_map_sg: overflow 14a000000+4096 of device mask ffffffff
> >    [drm:drm_agp_bind_pages] *ERROR* Failed to bind AGP memory: -12
> >    BUG: unable to handle kernel paging request at fffffff8
> >    IP: [<f7fac57f>] i915_gem_evict_something+0xef/0x230 [i915]
> >    ...
> 
> Sandybridge can do 40-bit dma mask. This has been fixed upstream now.

Could you point where is the upstream GIT tree and the corresponding
commit id?


thanks,

Takashi


More information about the dri-devel mailing list