diff options
author | Jerome Glisse <jglisse@redhat.com> | 2009-10-06 21:04:30 +0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-10-08 03:40:04 +0400 |
commit | 1a029b768f9d4a001501bd18d6ba08297ae912fd (patch) | |
tree | 0ac1643be0d57e919a619c1e2c5a9edc8e7e4f16 /drivers/gpu/drm/radeon/radeon_device.c | |
parent | b574f251f787c5b163da5ea345525569e51775bc (diff) | |
download | linux-1a029b768f9d4a001501bd18d6ba08297ae912fd.tar.xz |
drm/radeon/kms: Fix AGP support for R600/RV770 family (v2)
For AGP to work unmapped access must cover VRAM & AGP as
AGP is treated like VRAM by the GPU (ie physical address).
This patch properly setup the virtual memory system aperture
to cover AGP if AGP is enabled. It seems that there is memory
corruption after resume when using AGP (RV770 seems unaffected
thought). Version 2 just fix merge issue with updated AGP
fallback patch.
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_device.c')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_device.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_device.c b/drivers/gpu/drm/radeon/radeon_device.c index a6b80eb236ee..d1cdda9b5586 100644 --- a/drivers/gpu/drm/radeon/radeon_device.c +++ b/drivers/gpu/drm/radeon/radeon_device.c @@ -575,6 +575,7 @@ int radeon_device_init(struct radeon_device *rdev, /* Acceleration not working on AGP card try again * with fallback to PCI or PCIE GART */ + radeon_gpu_reset(rdev); radeon_fini(rdev); radeon_agp_disable(rdev); r = radeon_init(rdev); |