]> git.baikalelectronics.ru Git - kernel.git/commit
agp/intel-agp: Set dma_mask for capable chipsets before agp_add_bridge()
authorDavid Woodhouse <dwmw2@infradead.org>
Wed, 18 Nov 2009 10:22:46 +0000 (10:22 +0000)
committerDave Airlie <airlied@redhat.com>
Thu, 19 Nov 2009 00:34:30 +0000 (10:34 +1000)
commit3ee7dfd7bab97a00a4786070112ea72b9a868eec
treed55b61a66d15b861d73193d8ac0e2b7a22a382c3
parent35c6aa893fa9027f0e09c3f43200beda6dba21dd
agp/intel-agp: Set dma_mask for capable chipsets before agp_add_bridge()

We should set this before calling agp_add_bridge() so that it's done
before we map the scratch page too.

This should probably fix the regression reported as k.o. bug #14627.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/char/agp/intel-agp.c