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

From: Zhenyu Wang
Date: Sun Aug 22 2010 - 21:35:14 EST


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.

--
Open Source Technology Center, Intel ltd.

$gpg --keyserver wwwkeys.pgp.net --recv-keys 4D781827

Attachment: signature.asc
Description: Digital signature