drm: fd.o bug #11895: Only add the AGP base to map offset if the caller didn't.
authorEric Anholt <eric@anholt.net>
Thu, 22 Nov 2007 06:55:15 +0000 (16:55 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 7 Feb 2008 05:09:38 +0000 (15:09 +1000)
The i830 and newer intel 2D code adds the AGP base to map offsets already,
because it wasn't doing the AGP enable which used to set dev->agp->base.

Credit goes to Zhenyu for finding the issue.

Signed-off-by: Dave Airlie <airlied@linux.ie>

No differences found