diff options
author | Dave Airlie <airlied@linux.ie> | 2005-12-12 23:18:41 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-12-13 00:02:22 -0500 |
commit | 47807ce381acc34a7ffee2b42e35e96c0f322e52 (patch) | |
tree | d34a8ac9e3e9c05044aa230f9ae2785b12ed64bf /drivers/char/drm | |
parent | 0e670506668a43e1355b8f10c33d081a676bd521 (diff) |
[drm] fix radeon aperture issue
Ben noticed that on certain cards we've landed the AGP space on top of
the second aperture instead of after it.. Which messes things up a lot
on those machines.
This just moves the gart further out, a more correct fix is in the works
from Ben for after 2.6.15.
Signed-off-by: Dave Airlie <airlied@linux.ie>
CC: Ben Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/char/drm')
-rw-r--r-- | drivers/char/drm/radeon_cp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/drm/radeon_cp.c b/drivers/char/drm/radeon_cp.c index 03839ea31092..9f2b4efd0c7a 100644 --- a/drivers/char/drm/radeon_cp.c +++ b/drivers/char/drm/radeon_cp.c | |||
@@ -1522,7 +1522,7 @@ static int radeon_do_init_cp(drm_device_t * dev, drm_radeon_init_t * init) | |||
1522 | 1522 | ||
1523 | dev_priv->gart_size = init->gart_size; | 1523 | dev_priv->gart_size = init->gart_size; |
1524 | dev_priv->gart_vm_start = dev_priv->fb_location | 1524 | dev_priv->gart_vm_start = dev_priv->fb_location |
1525 | + RADEON_READ(RADEON_CONFIG_APER_SIZE); | 1525 | + RADEON_READ(RADEON_CONFIG_APER_SIZE) * 2; |
1526 | 1526 | ||
1527 | #if __OS_HAS_AGP | 1527 | #if __OS_HAS_AGP |
1528 | if (!dev_priv->is_pci) | 1528 | if (!dev_priv->is_pci) |