]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] radeon drm: fix agp aperture map offset
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 16 Dec 2005 05:52:22 +0000 (16:52 +1100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 16 Dec 2005 06:22:57 +0000 (22:22 -0800)
commitb18c7c26aae3a7782af7649357bf61f8ba5abe70
tree2e91e4226fc66be7d3e4b329df6990e25681d966
parentf8eab26e5d49912291eb9ff0636879097d60759a
[PATCH] radeon drm: fix agp aperture map offset

This finally fixes the radeon memory mapping bug that was incorrectly
fixed by the previous patch.  This time, we use the actual vram size as
the size to calculate how far to move the AGP aperture from the
framebuffer in card's memory space.

If there are still issues with this patch, they are due to bugs in the X
driver that I'm working on fixing too.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Mark M. Hoffman <mhoffman@lightlink.com>
Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/drm/radeon_cp.c
drivers/char/drm/radeon_drv.h