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

Zhenyu Wang zhenyuw at linux.intel.com
Sun Aug 22 18:35:07 PDT 2010


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20100823/a91208c5/attachment.pgp>


More information about the dri-devel mailing list